locorda_core 0.5.2 copy "locorda_core: ^0.5.2" to clipboard
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 management
  • EngineParams / StandardSyncEngine: concrete engine implementation wired to a Storage and a list of Backend instances
  • 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)
  • Storage interface with InMemoryStorage for testing; Drift-backed implementation in locorda_drift
  • Backend / 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 cycle
  • SyncEngineConfig: IRI-level configuration for resources, index types and root resource fetch policies
  • IriTranslator hierarchy for local ↔ remote IRI mapping
  • Index types: FullIndexData (monolithic) and GroupIndexData (partitioned by regex key) with RootResourceFetchPolicy (onRequest / prefetch)
0
likes
140
points
264
downloads

Documentation

Documentation
API reference

Publisher

verified publisherlocorda.dev

Weekly Downloads

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).

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#rdf #crdt #offline-first #sync

License

MIT (license)

Dependencies

collection, crypto, http, locorda_rdf_core, locorda_rdf_jelly, locorda_rdf_terms_core, logging, rxdart, uuid

More

Packages that depend on locorda_core