synclayer 0.1.0-alpha.2 copy "synclayer: ^0.1.0-alpha.2" to clipboard
synclayer: ^0.1.0-alpha.2 copied to clipboard

A local-first sync SDK for Flutter with offline support, automatic conflict resolution, and real-time synchronization.

Changelog #

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

0.1.0-alpha.2 - 2026-02-14 #

Documentation #

  • Added comprehensive documentation to all public APIs
  • Documented all parameters, return values, and exceptions
  • Added usage examples for every public method
  • Improved inline code documentation with detailed explanations
  • Added documentation for SyncEvent, ConflictStrategy, and SyncConfig

Improved #

  • Better developer experience with IntelliSense support
  • Clearer API documentation on pub.dev

0.1.0-alpha.1 - 2026-02-14 #

Initial Alpha Release #

Features:

  • Local-first storage with Isar database
  • Push sync (device → backend)
  • Pull sync (backend → device) with collection configuration
  • Batch operations (saveAll(), deleteAll())
  • Conflict resolution with last-write-wins strategy
  • Auto-sync with configurable intervals
  • Event system for sync lifecycle monitoring
  • Version tracking and hash generation
  • Offline queue with retry logic
  • Connectivity monitoring

Known Issues:

  • Pull sync requires explicit collections parameter in SyncConfig
  • Limited production testing (2 of 10 validation tests completed)
  • Example backend uses in-memory storage only
  • Basic error handling and retry logic (3 attempts max)
  • No built-in authentication or encryption

Bug Fixes:

  • Fixed pull sync not working on fresh devices (requires collection config)
  • Fixed pull sync missing records due to timestamp tracking issue

Breaking Changes:

  • None (initial release)

Documentation:

  • README with quick start guide
  • API documentation
  • Architecture overview
  • Example todo app
  • Production validation guide

Versioning #

This project follows Semantic Versioning:

  • 0.x.x - Pre-release, APIs may change
  • 1.0.0 - First stable release
  • x.Y.0 - New features (backward compatible)
  • x.y.Z - Bug fixes (backward compatible)
10
likes
0
points
737
downloads

Publisher

verified publisherhostspica.com

Weekly Downloads

A local-first sync SDK for Flutter with offline support, automatic conflict resolution, and real-time synchronization.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, dio, flutter, isar, isar_flutter_libs, path_provider, uuid

More

Packages that depend on synclayer