locorda_core 0.5.2
locorda_core: ^0.5.2 copied to clipboard
Platform-agnostic CRDT sync engine for Locorda. Runtime for offline-first conflict resolution, sharded index management, and BYOB backend sync (Google Drive, Solid Pods, and more).
0.5.2 #
- REFACTOR(core): moved note_index_entry_regression_test to personal_notes_app to fix broken dev dependency. (de742814)
- FIX(objects): await save() in ObjectSyncEngine to prevent missing index entries. (7cefead4)
- FIX(single-file): include all shard graphs in re-upload on 304-path. (1d3c3db6)
- FIX(sync): recover missing gdrive folder and surface upload failures. (6bffaded)
- DOCS: reposition packages as BYOB offline-first sync. (9a03fd0a)
- DOCS: update README and add package reference documentation. (2b5119c9)
0.5.1 #
- FIX(core): translate preloadedResourceDocIris IRIs in PipelineIriTranslatingRemoteSyncStorage. (8ca4520b)
0.5.0 #
- Initial public release
SyncEngine: core interface for CRDT merge operations, hydration streams, and sync lifecycle managementEngineParams/StandardSyncEngine: concrete engine implementation wired to aStorageand a list ofBackendinstances- Two-pass sync pipeline: fetch-and-merge phase followed by upload phase, with typed pipeline events (
ShardRefEvent,MergedResourceEvent,UploadedResourceEvent, etc.) - Three storage layout strategies:
FilePerResource(one file per RDF resource),ShardDataset(packed shards, configurable count),SingleFile(everything in one file) SyncManager/StandardSyncManager: sync triggering, auto-sync scheduling, and status streaming (SyncState,SyncStatus)Storageinterface withInMemoryStoragefor testing; Drift-backed implementation inlocorda_driftBackend/PipelineBackend: pluggable remote storage interface with upload/download result types and auth-retry support- Hybrid Logical Clock (HLC) based CRDT merge: LWW-Register, OR-Set, FWW-Register and Immutable strategies
HydrationBatch: typed batch of graph updates and deletion IDs delivered to the application on each sync cycleSyncEngineConfig: IRI-level configuration for resources, index types and root resource fetch policiesIriTranslatorhierarchy for local ↔ remote IRI mapping- Index types:
FullIndexData(monolithic) andGroupIndexData(partitioned by regex key) withRootResourceFetchPolicy(onRequest / prefetch)