firestore_odm 3.0.2 copy "firestore_odm: ^3.0.2" to clipboard
firestore_odm: ^3.0.2 copied to clipboard

Type-safe Firestore ODM with code generation support. Generate type-safe Firestore operations with annotations.

3.0.2 #

3.0.1 #

3.0.0 #

  • REFACTOR: ensure key conversion to string in MapFieldUpdate operations. (5713124b)
  • REFACTOR: simplify SetOperation instantiation in PatchBuilder. (975182b6)
  • REFACTOR: rework to focus on extension-based architecture. (945d8dd0)
  • REFACTOR: enhance type safety and streamline update operations across multiple classes. (3bee1678)
  • REFACTOR: streamline update operation classes and enhance type safety. (82e3ad7d)
  • REFACTOR: update patch method signatures and improve import organization. (ce678f25)
  • REFACTOR: simplify converter and workflow. (a681be50)
  • REFACTOR: firestore ODM Converter Logic. (3a93e52e)
  • REFACTOR: replace toJson/fromJson functions with FirestoreConverter for improved type safety and consistency. (65e5a85f)
  • REFACTOR: remove deprecated incrementalModify method and streamline update logic. (fee7ef08)
  • REFACTOR: rework converters. (4c0fdf19)
  • REFACTOR: improve DurationFieldUpdate converter handling with type-safe method. (42a85ab2)
  • REFACTOR(filter_builder): clean up whitespace and improve readability in UpdateBuilder class. (c203cfe0)
  • REFACTOR: streamline JSON converter handling and enhance type reference management. (4470a1be)
  • REFACTOR: reworking builder. (e076e310)
  • REFACTOR(firestore_converters): simplify parameter passing for list and map converter creation. (07bc60da)
  • REFACTOR(model_converter): simplify constructor parameters for MapConverter and ListConverter. (90b483a0)
  • FEAT: supports map field clear and set operation. (1f1e3773)
  • FEAT: rework builders. (c96df342)
  • FEAT(model_converter): add DefaultConverter for custom fromJson/toJson handling. (8c467ef3)
  • FEAT(converters): introduce generic converters for custom types and enhance type analysis. (534f391a)

2.7.1 #

  • REFACTOR(generator): simplify update builder generation by using converter parameter. (99923a5f)

2.7.0 #

  • REFACTOR: replace batch operation interfaces with synchronous variants for improved transaction handling. (aab9f767)
  • REFACTOR: remove IListConverter, IMapConverter, and ISetConverter implementations for cleaner code. (374f5da2)
  • REFACTOR: Firestore ODM to use FirestoreConverter instead of ModelConverter. (40acf7dc)
  • FEAT: Add detailed English comments to Firestore ODM interfaces. (bce08cf3)
  • FEAT: enhance DateTimeConverter to handle server timestamp constant. (a3aa5ace)
  • FEAT: enhance Firestore converters to support custom IList, ISet, and IMap types with dynamic conversion expressions. (6e7456c0)
  • FEAT: implement FirestoreConverter interface and add DateTimeConverter and DurationConverter classes. (a6226eaf)
  • FEAT: add DurationFieldUpdate class and support for Duration type in update generator. (5cca1de8)
  • FEAT: enhance update builder with DefaultUpdateBuilder and streamline field update methods. (1b277aa0)
  • DOCS: add warnings about arithmetic operations on server timestamps. (03790b36)

2.6.0 #

  • FEAT: add map operations for bulk updates and removals in UpdateBuilder. (df9dee07)
  • FEAT: enhance iterable support in UpdateBuilder to accept any Iterable for addAll and removeAll operations. (267b3223)

2.5.0 #

  • FEAT: enhance UpdateBuilder to respect operation precedence for set and array operations. (a772c0d6)
  • FEAT: implement arrayAddAll and arrayRemoveAll operations in UpdateBuilder and update documentation. (df7da59c)

2.4.0 #

  • FEAT: deprecate incrementalModify and enhance modify with atomic parameter. (b1b95e1a)

2.3.1 #

  • REFACTOR: remove lazyBroadcast and use native Firestore streams. (971b472f)

2.3.0 #

  • FEAT: enhance aggregate and batch operations with detailed documentation. (5e05ce2e)

2.2.0 #

  • FIX: prevent auto-generated IDs in update operations. (0389c6a8)
  • FIX: prevent auto-generated IDs in upsert operations. (240f6ea2)
  • FEAT: implement auto-generated document ID with FirestoreODM.autoGeneratedId constant. (ad5c75df)

2.1.0 #

  • FIX: specify version for firestore_odm_annotation dependency in pubspec.yaml. (934810fa)
  • FEAT: Add comprehensive batch operations support. (802a629b)
  • FEAT: refactor project folder structure. (d4907075)
  • DOCS: Update all documentation URLs to GitHub Pages. (321ccdcd)
  • DOCS: refactor and centralize README.md. (7c121c62)
  • DOCS: update README to enhance structure and add flexible data modeling section. (801a242c)
  • DOCS: enhance README with flexible data modeling options and examples. (d33115d9)

2.0.2 #

  • REFACTOR: improve formatting and readability in MapFieldFilter and OrderByField classes. (4e8f1877)

2.0.1 #

  • REFACTOR: code formatting and improve readability across multiple files. (4a7876b7)
  • REFACTOR: update to use element2 API for improved type handling. (77260aa7)
  • REFACTOR: firestore ODM code generation to utilize ModelAnalysis. (1e82daab)
  • REFACTOR: refactor and clean up code across multiple files. (cc44c322)
  • FIX: correct fieldPath concatenation and update empty check for updateMap. (d5d2db74)

2.0.0 #

Note: This release has breaking changes.

  • REFACTOR: rename update methods to patch for consistency and enhance FirestoreDocument interface. (fdb5547e)
  • REFACTOR: firestore query handling and update operations. (46ee6360)
  • REFACTOR: remove TupleAggregateQuery and UpdateBuilder, introduce utility functions for Firestore data processing. (8a224de8)
  • FIX: implement defer writes pattern to resolve read-write ordering. (cf1ae907)
  • FEAT: add map operations, bulk delete, and collection bulk operations with comprehensive testing. (d5612029)
  • FEAT: Complete missing methods and fix critical bugs. (caa23ab0)
  • FEAT: Enhance transaction support in Firestore ODM. (5ba0b618)
  • FEAT: Implement pagination support in Firestore ODM. (6abde897)
  • FEAT: implement callable update and order by instances to reduce generated code. (cf16cea8)
  • BREAKING FEAT: add aggregation and pagination support with builder-to-selector refactor. (8978198c)

1.1.1 #

  • REFACTOR: implement callable filter instances to reduce generated code. (a19b2f11)
  • REFACTOR: integrate ModelConverter for data transformation across services. (90979671)
  • REFACTOR: remove local path references to firestore_odm_annotation. (48b84db7)

1.1.0 #

  • REFACTOR: enhance documentation structure with quick navigation and feature overview. (8c21f3c6)
  • REFACTOR: implement SubscribeOperations interface and unify stream handling. (b21b4de4)
  • REFACTOR: unify stream handling by renaming 'snapshots' to 'stream' across aggregate and query implementations. (d637ed91)
  • REFACTOR: enhance aggregate query execution and result handling with native Firestore support. (a6e46f7f)
  • REFACTOR: rename 'snapshots' to 'stream' for consistency across interfaces and implementations. (ec6c6e54)
  • REFACTOR: rename 'changes' to 'snapshots' for clarity in subscription interfaces. (89d0c637)
  • REFACTOR: remove special timestamp handling from Firestore ODM classes. (8d5658af)
  • REFACTOR: Remove all hardcoded field names and simplify generator. (8afa7ecd)
  • REFACTOR: reduce generated code by 60% using filter extensions and enums. (dd61bc2d)
  • REFACTOR: Move basic field builders from generator to core package. (eb71eaea)
  • REFACTOR: remove deprecated update method for clarity and maintainability. (19ed3f08)
  • FIX: Restore path dependencies for proper development workflow. (d4d555c0)
  • FIX: correct method roles - modify() non-atomic vs incrementalModify() atomic. (d515b215)
  • FEAT: implement type-safe aggregate operations and count queries with generated field selectors. (8e95df5b)
  • FEAT: add collection-level operations for insert, update, and upsert. (23bae871)
  • FEAT: Introduce schema-based architecture for Firestore ODM. (de939d90)
  • FEAT: Successfully publish all packages to pub.dev. (9e10b6c6)
  • FEAT: Complete CI/CD pipeline setup with melos for publishing. (5f3e440c)
  • FEAT: convert FirestoreODM constructor to named parameters. (519b3e14)
  • FEAT: Add callable collection syntax and fix serialization. (4632a55d)
  • FEAT: add @DocumentIdField annotation support. (9cfb884d)
  • FEAT: Update test cases to support mixed update syntax and update README. (5785fc80)
  • FEAT: unify atomic operations support across modify methods. (4df3af73)
  • FEAT: complete Firestore ODM library implementation. (f7b0da36)
  • FEAT: implement chained updates and enhanced ODM features. (59460a10)
  • FEAT: implement RxDB-style API with atomic operations. (08af4f52)
  • FEAT: restructure as monorepo with strong-typed Firestore ODM. (b9e6ced0)
  • DOCS: enhance documentation for limit and limitToLast methods with usage limitations. (7109d26b)

Changelog #

[1.0.0] - 2025-01-09 #

Added #

  • Initial release of firestore_odm
  • Type-safe Firestore operations
  • Automatic serialization/deserialization
  • Query builder with IntelliSense support
  • Real-time updates with snapshots
  • Subcollection support
  • Transaction and batch operation support
  • Comprehensive documentation and examples
4
likes
130
points
664
downloads

Publisher

verified publishersylphx.com

Weekly Downloads

Type-safe Firestore ODM with code generation support. Generate type-safe Firestore operations with annotations.

Repository (GitHub)
View/report issues
Contributing

Topics

#firestore #odm #database #flutter #code-generation

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

cloud_firestore, cloud_firestore_platform_interface, firestore_odm_annotation, flutter, meta

More

Packages that depend on firestore_odm