prjct-cli 1.24.1 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.25.0] - 2026-02-11
4
+
5
+ ### Features
6
+
7
+ - kill all JSON file I/O — everything to SQLite (PRJ-303) (#172)
8
+
9
+
10
+ ## [1.25.0] - 2026-02-10
11
+
12
+ ### Features
13
+
14
+ - **Kill all JSON file I/O — everything to SQLite (PRJ-303)**: Migrated 4 modules that were still reading/writing JSON files directly, bypassing the SQLite migration. All storage now goes through `prjctDb` or `StorageManager`.
15
+
16
+ ### Changes
17
+
18
+ - `core/integrations/linear/sync.ts` — Replaced `readFile`/`writeFile` on `issues.json` with `prjctDb.getDoc/setDoc`
19
+ - `core/services/context-generator.ts` — Replaced direct `state.json`, `queue.json`, `ideas.json`, `shipped.json` reads with `stateStorage`, `queueStorage`, `ideasStorage`, `shippedStorage`
20
+ - `core/services/sync-service.ts` — `updateProjectJson` and `updateStateJson` now use `prjctDb`/`stateStorage` instead of `fs.readFile`/`fs.writeFile`
21
+ - `core/services/hooks-service.ts` — `getHookConfig`/`saveHookConfig` now use `prjctDb.getDoc/setDoc` for `project.json` data
22
+ - `core/storage/migrate-json.ts` — Added `sweepLegacyJson()` that runs on every sync to import and delete any ghost JSON files
23
+ - Templates updated to reference `prjct.db` instead of `storage/*.json`
24
+
25
+ ### Test Plan
26
+
27
+ #### For QA
28
+ 1. Run `bun test` — 1057 tests pass
29
+ 2. Run `prjct linear sync` — issues stored in `prjct.db`, no `issues.json` on disk
30
+ 3. Run `prjct sync --yes` — regenerates context without JSON file errors
31
+ 4. Verify `ls ~/.prjct-cli/projects/*/storage/` has no `.json` files
32
+ 5. Run `prjct status` — works without JSON files
33
+
34
+ #### For Users
35
+ **What changed:** Internal storage optimization — no user action needed.
36
+ **Breaking changes:** None
37
+
3
38
  ## [1.24.1] - 2026-02-11
4
39
 
5
40
  ### Bug Fixes