serverpod_offline_sync_client 0.0.6
serverpod_offline_sync_client: ^0.0.6 copied to clipboard
Client transport adapter for the Serverpod Offline Sync project.
0.0.6 #
- refactor: BREAKING. Rename integration APIs and ownership scopes:
- Rename
CrdtDatabase*wrappers toOfflineSyncDatabase*. - Rename
CrdtSynctoOfflineSyncEngineandCrdtSyncSessiontoOfflineSyncSubscription. - Access sync through
.offlineSyncand.offlineSyncDbinstead of.crdtand.crdtDb. - Replace
CrdtScope*models and services withOfflineSyncSpace* - Change access to shared spaces through
.spacesinstead of.scopes. - Use
spaceIdin models and indexes, andoffline_sync_spacesin ownership relations. - Initialize with
initializeOfflineSyncand useofflineSyncDatabaseInterceptor. - Import client helpers from
offline_sync.dartinstead ofcrdt.dart. - Rename the synchronization endpoint, serialized events, and space metadata tables.
- Rename
- fix: Recompute
onDelete=SetDefaultrepairs when default targets are inserted, deleted, restored, or hidden to preserve authored values. - fix: Reject local deletes atomically when a needed
SetDefaulttarget is missing, hidden, owned by another space, or deleted in the same batch. - fix: Preserve projection-selected nulls during inserts instead of reapplying column defaults, and apply fixed UUID foreign-key defaults in local upserts.
- fix: Resolve composite unique conflicts when only a fixed discriminator column changes.
- perf: Avoid redundant foreign-key projection for ordinary local writes and primary-key upserts, and batch dependency checks and field-clock writes.
- perf: Overlap independent membership reads and skip unnecessary space lookups for untracked tables.
- chore: Update Serverpod to
4.0.0and use the published CLI.
0.0.5 #
- fix: BREAKING. Rebuilds foreign key and unique projection from authored facts.
- perf: Increases unique-conflict merge throughput by ~40%.
- perf: Increases foreign-key chain insert merge throughput by ~3.3×.
- perf: Increases foreign-key chain delete merge throughput by ~44%.
- perf: Reduces storage used by CRDT metadata on relations.
- chore: Updated Serverpod to
4.0.0-rc.2.
0.0.4 #
- chore: Updated Serverpod to
4.0.0-rc.1.
0.0.3 #
- fix: Requires non-nullable foreign keys to be
deferred. - fix: Rejects
onDelete=Restricton synced tables in favor ofonDelete=NoAction. - fix: Throws proper
DatabaseExceptioninstead of bareExceptionon the database. - chore: Updated Serverpod to
4.0.0-rc.1.
0.0.2 #
- fix: Skips tracking FKs for relations with non-sync tables.
- fix: Fixes batch
insertof previously tombstoned rows not being tracked correctly. - refactor: Moves the core implementation to the
serverpod_offline_syncshared package. - chore: Updated Serverpod to
4.0.0-beta.2.
0.0.1 #
- chore: Initial version.