turbo_firestore_api 0.7.1
turbo_firestore_api: ^0.7.1 copied to clipboard
A clean and efficient approach to dealing with data from Firestore.
π 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