turbo_firestore_api 0.6.1 copy "turbo_firestore_api: ^0.6.1" to clipboard
turbo_firestore_api: ^0.6.1 copied to clipboard

A clean and efficient approach to dealing with data from Firestore.

πŸš€ Version 0.6.1 (January 2024) #

πŸ› οΈ Improvements: #

  • Updated sync services to use upsertLocalDoc instead of updateLocalDoc for better consistency

πŸš€ Version 0.6.0 (January 2024) #


✨ Features: #

  • Added upsertLocalDocs method for consistent batch local operations

πŸ› οΈ Improvements: #

  • Improved upsert operations to always use createDoc with merge: true
  • Removed incorrect exists checks in upsert operations

πŸ› Bug fixes: #

  • Fixed incorrect document creation skipping in upsert operations

πŸš€ Version 0.5.0 (January 2024) #

  • πŸ’” Breaking: Removed templateBlockNotify.

πŸš€ Version 0.4.2 (January 2024) #

  • πŸ› οΈ Improvement: Add id getter.

πŸš€ Version 0.4.1 (January 2024) #

  • πŸ› οΈ Improvement: Made TurboAuthVars.userId non-nullable for better type safety (defaults to kValuesNoAuthId)
  • πŸ› οΈ Improvement: Added UpdateDocDef type definition export

πŸš€ Version 0.4.0 (January 2024) #

  • πŸ’” Breaking: Renamed createDoc and updateDoc named parameter names to doc.
  • πŸ› οΈ Improvement: Update readme.

πŸš€ Version 0.3.0 (January 2024) #


πŸ’” Breaking: #

  • Renamed vars() to turboVars() 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 notifications
    • BeAfSyncTurboDocumentService - Before and after sync notifications
    • BeSyncTurboDocumentService - Before sync notifications
  • Added type definitions for document operations:
    • CreateDocDef<T> - Type definition for document creation functions
    • UpdateDocDef<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 and TurboAuthVars 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
0
likes
0
points
337
downloads

Publisher

verified publisherultrawideturbodev.com

Weekly Downloads

A clean and efficient approach to dealing with data from Firestore.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cloud_firestore, firebase_auth, flutter, informers, loglytics, rxdart, turbo_response

More

Packages that depend on turbo_firestore_api