easy_sync 0.2.2
easy_sync: ^0.2.2 copied to clipboard
Flutter background sync and offline-first sync orchestration with Workmanager, retry, preconditions, rate limiting, and circuit breaker controls.
0.2.2 #
Changed #
- Added comprehensive
dartdoccoverage across the public API surface for better pub.dev documentation quality. - Enabled and satisfied the
public_member_api_docslint to keep exported APIs documented going forward. - Improved inline API guidance for core engine, task contracts, schedulers, background adapters, and configuration types.
0.2.1 #
Changed #
- Refined README tone for clearer onboarding and practical usage flow.
- Improved README SEO coverage with stronger keyword intent and use-case framing.
- Updated package metadata description for better discoverability on pub.dev.
0.2.0 #
Added #
- Function-first task API with
SyncTask.fn(...)for simpler integrations. - iOS Background Fetch mode support via
EasySyncBackgroundConfig.iosBackgroundFetch(...). - Android schedule inspection helper
WorkmanagerBackgroundScheduler.isScheduledByUniqueName(...). - Execution controls: rate limiting (
SyncRateLimit) and circuit breaker (SyncCircuitBreaker). - Engine and background-bridge support for rate limit and circuit breaker runtime behavior.
- Expanded tests for background behavior, execution controls, and setup propagation.
- Documentation updates for iOS mode choices and execution controls.
0.1.0 #
Added #
- Core sync orchestration with trigger-aware task policies.
- Manual, app-open, and background sync flows.
- Retry support with configurable exponential backoff.
- Preconditions for network and app-defined readiness checks.
- Task state tracking and stream updates.
- Workmanager adapter for background dispatch integration.
- Safe execution options including timeout and task-failure isolation.
Notes #
- Initial public release.
- easy_sync is auth-agnostic, backend-agnostic, and database-agnostic.
- iOS background execution timing is best-effort and not guaranteed.