firewatch 0.2.0
firewatch: ^0.2.0 copied to clipboard
Lightweight Firestore repositories for Flutter: single-doc and collection repos that react to auth, stream updates, and support live-window pagination.
Changelog #
0.2.0 #
Breaking #
- Bumps
command_itfrom ^8.0.0 to ^9.0.0 - Requires Dart >=3.8.0 and Flutter >=3.32.0
writecommand onFirestoreDocRepositoryno longer accepts an unreachablemergeparameter (always merges)
Fixed #
- Race condition in
FirestoreDocRepository._swapon rapid auth changes (added epoch guard) _resizingflag inFirestoreCollectionRepositorycould get permanently stuck, breakingloadMore()- Deleted documents now correctly clear
valuetonullinFirestoreDocRepository - Pagination limit now resets on query/dependency changes
- Per-item notifiers are nulled out when documents leave the snapshot
- All
Commandobjects are now properly disposed
Improved #
- Bumps
cloud_firestoreto ^6.0.0,flutter_lintsto ^6.0.0 - Fixes CI docs workflow (uses stable Flutter channel, gh-pages v4)
- Test coverage increased from 4 to 26 tests (94% line coverage)
0.1.4 #
- Adds
paginateoption toFirestoreCollectRepositoryto enable pagination of collection queries
0.1.3 #
- Improves example and README
0.1.2 #
- Formatting issue
0.1.1 #
- Adds better documentation, examples, and updates licence
0.1.0 #
- Initial release: single-doc and collection repositories
- Live-cache prime, metadata-churn squash
- Live-window pagination, per-item notifiers
- Simple CRUD commands