turbo_firestore_api 0.8.1
turbo_firestore_api: ^0.8.1 copied to clipboard
A clean and efficient approach to dealing with data from Firestore.
[Unreleased] #
π Version 0.8.1 (September 2025) #
π οΈ 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 - Better support for latest Firebase SDK features and improvements
π Version 0.8.0 (September 2025) #
π Breaking: #
- Changed sync notification methods to be asynchronous -
beforeSyncNotifyUpdate
andafterSyncNotifyUpdate
methods in sync services now returnFuture<void>
instead ofvoid
. This affects:BeAfSyncTurboDocumentService
BeSyncTurboDocumentService
BeAfSyncTurboCollectionService
BeSyncTurboCollectionService
π οΈ 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
π Version 0.7.3 (May 2025) #
- π οΈ Improvement: Clean release with all dependencies updated and proper git state
π Version 0.7.2 (May 2025) #
- π οΈ Improvement: Comprehensive dependency update to latest compatible versions
- π οΈ Improvement: Updated loglytics dependency to version 0.16.0
- π οΈ Improvement: Updated repository URLs to use the correct GitHub username (its-brianwithai)
- π οΈ Improvement: Updated flutter_lints to version 6.0.0
- π οΈ Improvement: Updated all Firebase dependencies to latest versions
- π οΈ Improvement: Verified compatibility with Flutter 3.32.0 and Dart 3.8.0
π Version 0.7.1 (April 2025) #
- π οΈ Improvement: Exposed
docsPerIdInformer
as @protected inTurboFirestoreApi
for better access control when overriding methods. - π οΈ Improvement: Updated dependencies to latest versions.
π Version 0.7.0 (March 2025) #
β¨ Features: #
- Enhanced error handling using
TurboFirestoreException.fromFirestoreException
for 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
π Version 0.6.1 (January 2025) #
π οΈ Improvements: #
- Updated sync services to use
upsertLocalDoc
instead ofupdateLocalDoc
for better consistency - Enhanced error handling across multiple API methods using
TurboFirestoreException.fromFirestoreException
for more structured error responses
π Version 0.6.0 (January 2025) #
β¨ Features: #
- Added
upsertLocalDocs
method for consistent batch local operations
π οΈ Improvements: #
- Improved upsert operations to always use
createDoc
withmerge: true
- Removed incorrect exists checks in upsert operations
π Bug fixes: #
- Fixed incorrect document creation skipping in upsert operations
π Version 0.5.0 (January 2025) #
- π Breaking: Removed
templateBlockNotify
.
π Version 0.4.2 (January 2025) #
- π οΈ Improvement: Add id getter.
π Version 0.4.1 (January 2025) #
- π οΈ Improvement: Made
TurboAuthVars.userId
non-nullable for better type safety (defaults tokValuesNoAuthId
) - π οΈ Improvement: Added
UpdateDocDef
type definition export
π Version 0.4.0 (January 2025) #
- π Breaking: Renamed
createDoc
andupdateDoc
named parameter names to doc. - π οΈ Improvement: Update readme.
π Version 0.3.0 (January 2025) #
π 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.2.0 #
- β οΈ Breaking: Updated dependencies to latest versions.
0.1.3 #
- β¨ New: Added
TurboApiVars
andTurboAuthVars
classes for standardized document variables
0.1.2 #
- β¬οΈ Upgrade: Updated turbo_response to version 0.2.6
- π Change: Replaced tryThrowFail() with throwWhenFail() to match new TurboResponse API
0.1.1 #
- π Fix: Remove default stream implementation in
TurboCollectionService
to enforce inheritance.
0.1.0+1 #
- π Fix: Made
TurboResponse<T>? validate<T>()
null by default to avoid forced inheritance.
0.1.0 #
- β¨ New: Initial release of turbo_firestore_api
- β¨ New: Added TurboFirestoreApi for clean Firestore operations
- β¨ New: Implemented CRUD operations with error handling
- β¨ New: Added search functionality
- β¨ New: Added stream support
- β¨ New: Added auth sync service
- β¨ New: Added collection and document services
- β¨ New: Added exception handling
- π Docs: Added basic documentation and examples