Merged
Conversation
BRO-5 : package initialized
[BRO-7] `sqflite` support added
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog
[0.0.3] - 2025-12-27
Added
Event Bus System:
SyncEventclass for tracking individual action lifecyclesSyncEventStatusenum:queued,started,success,failed,deadLetterSyncVault.instance.onEventstream for listening to all eventsSyncVault.instance.eventsFor(id)for filtering events by action IDSyncVault.instance.eventsForKey(key)for filtering by idempotency keyFlutter UI Widgets:
SyncVaultListener- Widget that listens to events and calls callbacksSyncStatusBuilder- Widget that rebuilds on sync status changesSyncEventBuilder- Widget that rebuilds on specific action eventsFixed
Changed
SyncEventfor each action state change (started, success, failed, deadLetter)_handleDeadLettercallback now receives events through the event bus as well[0.0.2] - 2025-12-26
Added
SqfliteStorageAdapterclass for SQLite-based persistenceDependencies
sqflite: ^2.3.0- SQLite database supportpath: ^1.9.0- Path manipulation utilities[0.0.1] - 2025-12-25
Added
Initial release of SyncVault
Core Features:
SyncVaultsingleton client for making offline-safe HTTP requestsSyncActionmodel for representing queued requestsStorageAdapterabstract interface for pluggable persistenceHiveStorageAdapterdefault implementation using HiveNetworkManagerfor connectivity monitoring viaconnectivity_plusWorkerfor queue processing with retry logicHTTP Methods:
GET,POST,PUT,DELETE,PATCHsupportSync Features:
processQueue()Observability:
SyncStatusstream for UI updatesExample App:
Architecture
core/- Main business logic (SyncClient, Worker, NetworkManager)data/- Data models and storage (SyncAction, StorageAdapter)utils/- Utilities (Exceptions)Dependencies
dio: ^5.4.0- HTTP clienthive: ^2.2.3- Local persistenceconnectivity_plus: ^6.0.0- Network monitoringuuid: ^4.3.0- Unique ID generationequatable: ^2.0.5- Value equality