philiprehberger_sync_engine 0.2.0 copy "philiprehberger_sync_engine: ^0.2.0" to clipboard
philiprehberger_sync_engine: ^0.2.0 copied to clipboard

Offline-first data sync with conflict resolution, retry queues, and local caching

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased] #

0.2.0 - 2026-04-02 #

Added #

  • SyncRecord.tags for categorizing records
  • LocalStore.queryByTag() for filtering by tag
  • Exponential backoff in RetryQueue with configurable base and multiplier
  • RetryQueue.nextDelay() to calculate backoff delay
  • SyncMetadata class for tracking sync statistics
  • SyncEngine.syncWhere() for selective sync by predicate
  • SyncEngine.metadata for cumulative sync stats

0.1.0 - 2026-04-01 #

Added #

  • Initial release
  • SyncRecord model with status tracking and versioning
  • In-memory LocalStore with CRUD, query, and statistics
  • ConflictResolver with remoteWins, localWins, latestWins, and custom strategies
  • RetryQueue with configurable max attempts
  • SyncEngine coordinator with push, pull, conflict resolution, and progress callbacks
  • SyncResult for tracking sync operation outcomes
2
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publisherphiliprehberger.com

Offline-first data sync with conflict resolution, retry queues, and local caching

Homepage
Repository (GitHub)
View/report issues

Topics

#sync #offline #cache

License

MIT (license)

More

Packages that depend on philiprehberger_sync_engine