Skip to content

Commit 83aaf13

Browse files
committed
docs: add changelog entry for SQLFavoriteStorage and SyncChangeTracker DI
1 parent 57197a3 commit 83aaf13

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626
### Changed
2727

2828
- Storage and manager classes (GroupStorage, AppSettingsStorage, ConnectionStorage, SyncMetadataStorage, QueryHistoryStorage, DatabaseManager, PluginManager) accept dependencies via init for test isolation, matching Apple's URLSession and UserDefaults convention. Production callers using `.shared` are unchanged. Tests now construct isolated instances with per-test temp paths and UserDefaults suites, so the test scheme runs in parallel again.
29+
- SQLFavoriteStorage and SyncChangeTracker now accept their dependencies via init (database URL for the favorites store, SyncMetadataStorage and NotificationCenter for the change tracker). Tests injecting a SyncChangeTracker into ConnectionStorage or GroupStorage can now also pass an isolated SyncMetadataStorage so dirty-set writes stop leaking through `.shared`. Replaces the `init(isolatedForTesting:)` and `init(isolatedStorage:)` ad hoc constructors that the rest of the storage classes had already moved past.
2930
- Create Database dialog is now driver-driven. Each driver discovers its own valid options (PostgreSQL queries `pg_collation` and `pg_database`, MySQL/MariaDB query `information_schema.character_sets`/`collations`). The hardcoded macOS-flavored locale list is gone. Engines that don't support creation hide the Create button instead of failing on click.
3031
- Introduced TableRows, Row, and Delta value types in TablePro/Models/Query/ as the foundation for the data grid row model rewrite. No callers migrated yet (Phase C.1 of the DataGrid refactor).
3132
- DataGrid columns and cells refactored to use a persistent column pool and typed cell view hierarchy. CPU usage on table switch reduced significantly through proper NSTableView reuse pool retention.

0 commit comments

Comments
 (0)