v0.10.0: ports and adapters refactor
- Extract shared manifest types into internal/manifest/types leaf package. - Extract SQLite adapter into internal/manifest/sqlite. - Extract JSONL adapter into internal/manifest/jsonl. - Isolate modernc.org/sqlite import to sqlite/adapter.go. - Add adapter-backed registry with manifest.Default. - Adapter-agnostic ConvertManifest in types/. - MemoryAdapter for in-memory manifest testing. - CLI uses manifest.Default registry directly. - SQLite LogWriter type assertion moved into SQLiteAdapter. - Manifest interface includes Entries(); EntryReader removed. - No behavior changes. 100% coverage across all 6 packages.
This commit is contained in:
@@ -2,6 +2,23 @@
|
||||
|
||||
This changelog is maintained from git history plus the published Gitea release series. Future releases should update this file and publish matching release notes on the release page.
|
||||
|
||||
## v0.10.0
|
||||
|
||||
Ports and adapters refactor.
|
||||
|
||||
- Extract shared manifest types into `internal/manifest/types` leaf package.
|
||||
- Extract SQLite adapter into `internal/manifest/sqlite`: Store, Adapter, LogWriter.
|
||||
- Extract JSONL adapter into `internal/manifest/jsonl`: Store, Adapter.
|
||||
- `modernc.org/sqlite` import isolated to `internal/manifest/sqlite/adapter.go`.
|
||||
- Registry pattern: `manifest.Default` provides adapter-backed `ParseFormat`/`Open`/`OpenLogWriter`.
|
||||
- Adapter-agnostic `ConvertManifest` in `types/` for JSONL↔SQLite conversion.
|
||||
- `MemoryAdapter` for in-memory manifest testing.
|
||||
- CLI uses `manifest.Default` registry directly; zero concrete adapter references.
|
||||
- SQLite `LogWriter` type assertion moved from central code into `SQLiteAdapter`.
|
||||
- `Manifest` interface now includes `Entries()`; `EntryReader` removed.
|
||||
- No behavior changes, no new features.
|
||||
- 100% statement coverage across all 6 packages.
|
||||
|
||||
## v0.9.4
|
||||
|
||||
Doctor release.
|
||||
|
||||
Reference in New Issue
Block a user