super-productivity/docs/long-term-plans
Mohamed Abdeltawab 0b4bc79354
refactor: retire GET /api/sync/snapshot, re-scope GET /api/sync/status as diagnostic (#8496)
Retire GET /api/sync/snapshot (attack-surface reduction):
- Remove route handler from sync.routes.ts (no production client caller)
- Keep internal generateSnapshot() and all downstream code
- Update tests: delete GET /snapshot describe block, rework isolation
  test (sync.routes.spec.ts), remove GET assertion (sync-fixes.spec.ts),
  remove SimulatedClient.getSnapshot() helper + rework 2 integration tests
  to use GET /api/sync/ops instead (multi-client-sync.integration.spec.ts)

Re-scope GET /api/sync/status as diagnostic:
- Add doc comment to route handler marking it diagnostic
- Update all documentation (README, API wiki, architecture diagrams)

Documentation updates across 5 files remove GET /snapshot references
and label GET /status as diagnostic.

Breaking: self-hosters with external tooling relying on GET /snapshot
must migrate — no shipped client version ever called this endpoint.
2026-06-20 12:02:58 +02:00
..
android-background-sync-improvements.md feat(droid): background sync notifications for android 2026-03-20 10:24:02 +01:00
calendar-two-way-sync-technical-analysis.md docs: clean up and organize project documentation 2026-03-10 10:22:56 +01:00
location-based-reminders.md refactor(backup): unify backup filename format (#7141) 2026-04-21 14:09:09 +02:00
multi-client-file-sync-reliability.md docs: clean up and organize project documentation 2026-03-10 10:22:56 +01:00
plugin-view-adapter-api.md docs: clean up and organize project documentation 2026-03-10 10:22:56 +01:00
secure-storage.md refactor(sync-providers): add tiered package exports 2026-05-13 14:11:15 +02:00
server-side-entity-versioning.md docs(sync): consolidate sync docs + enforce the contributor model 2026-05-15 16:51:50 +02:00
supersync-encryption-at-rest.md refactor: retire GET /api/sync/snapshot, re-scope GET /api/sync/status as diagnostic (#8496) 2026-06-20 12:02:58 +02:00
sync-core-simplification-roadmap.md docs: clean up and organize project documentation 2026-03-10 10:22:56 +01:00
sync-provider-plugins.md refactor(sync): finish package extraction polish 2026-05-13 14:11:15 +02:00