turbo_firestore_api 0.8.4
turbo_firestore_api: ^0.8.4 copied to clipboard
A clean and efficient approach to dealing with data from Firestore.
0.8.4 - 2026-01-09 #
Features #
- Added
turbo_serializablepackage dependency for reusable serialization abstractions - Re-exports
TurboSerializable<M>andTurboSerializableId<T, M>from turbo_serializable - Support for typed metadata via the
Mtype parameter
Improvements #
- Added null-check guards for
toJson()calls in create/update APIs with properTurboResponse.failerror handling - Added type aliases for backwards compatibility:
TurboWriteable<M> = TurboSerializable<M>TurboWriteableId<T, M> = TurboSerializableId<T, M>
- Converted
turbo_writeable.dartandturbo_writeable_id.dartto re-export modules
Tests #
- Added tests for null
toJson()error handling increateDocandupdateDoc
0.8.3 - 2026-01-08 #
Improvements #
- Updated internal package dependencies to latest versions:
loglytics: ^0.16.1 -> ^0.17.0turbo_response: ^0.2.6 -> ^1.0.1informers: ^0.0.3+2 -> ^0.0.5
0.8.1 (2025-09) #
Improvements #
- Updated dependencies to latest versions: Cloud Firestore to ^6.0.2, Firebase Auth to ^6.1.0, loglytics to ^0.16.1, and fake_cloud_firestore to ^4.0.0
- Enhanced compatibility with latest Firebase SDK features and improvements
0.8.0 (2025-09) #
Breaking #
- Changed sync notification methods to be asynchronous:
beforeSyncNotifyUpdateandafterSyncNotifyUpdatemethods in sync services now returnFuture<void>instead ofvoid. Affects:BeAfSyncTurboDocumentServiceBeSyncTurboDocumentServiceBeAfSyncTurboCollectionServiceBeSyncTurboCollectionService
Improvements #
- Enhanced sync service flexibility: sync notification methods can now perform asynchronous operations during data synchronization
- Better async/await support: services can now properly handle asynchronous operations during document and collection updates
0.7.2 (2025-05) #
Improvements #
- Comprehensive dependency update to latest compatible versions
- Updated loglytics dependency to version 0.16.0
- Updated repository URLs to use the correct GitHub username (its-brianwithai)
- Updated flutter_lints to version 6.0.0
- Updated all Firebase dependencies to latest versions
- Verified compatibility with Flutter 3.32.0 and Dart 3.8.0
0.7.1 (2025-04) #
Improvements #
- Exposed
docsPerIdInformeras @protected inTurboFirestoreApifor better access control when overriding methods - Updated dependencies to latest versions
0.7.0 (2025-03) #
Features #
- Enhanced error handling using
TurboFirestoreException.fromFirestoreExceptionfor more structured error responses across all API methods
Improvements #
- Refined documentation for error handling features
- Improved code consistency across API implementations
- Added detailed examples for exception handling
0.6.1 (2025-01) #
Improvements #
- Updated sync services to use
upsertLocalDocinstead ofupdateLocalDocfor better consistency - Enhanced error handling across multiple API methods using
TurboFirestoreException.fromFirestoreExceptionfor more structured error responses
0.6.0 (2025-01) #
0.4.1 (2025-01) #
Improvements #
- Made
TurboAuthVars.userIdnon-nullable for better type safety (defaults tokValuesNoAuthId) - Added
UpdateDocDeftype definition export
0.4.0 (2025-01) #
0.3.0 (2025-01) #
Breaking #
- Renamed
vars()toturboVars()for better clarity and consistency - Renamed batch operation methods for better clarity:
createDocs()->createDocInBatch()deleteDocs()->deleteDocInBatch()updateDocs()->updateDocInBatch()
- Updated method signatures to use new type definitions (
CreateDocDef<T>,UpdateDocDef<T>)
Features #
- Added sync service implementations:
AfSyncTurboDocumentService- After sync notificationsBeAfSyncTurboDocumentService- Before and after sync notificationsBeSyncTurboDocumentService- Before sync notifications
- Added type definitions for document operations:
CreateDocDef<T>- Type definition for document creation functionsUpdateDocDef<T>- Type definition for document update functions
Improvements #
- Improved temporary block notify in sync services for better state management
0.1.2 #
Improvements #
- Updated turbo_response to version 0.2.6
- Replaced tryThrowFail() with throwWhenFail() to match new TurboResponse API
0.1.1 #
Bug Fixes #
- Remove default stream implementation in
TurboCollectionServiceto enforce inheritance
0.1.0+1 #
Bug Fixes #
- Made
TurboResponse<T>? validate<T>()null by default to avoid forced inheritance
0.1.0 #
Initial release of turbo_firestore_api:
- TurboFirestoreApi for clean Firestore operations
- CRUD operations with error handling
- Search functionality
- Stream support
- Auth sync service
- Collection and document services
- Exception handling
- Basic documentation and examples