firestore_odm_builder 2.3.3 copy "firestore_odm_builder: ^2.3.3" to clipboard
firestore_odm_builder: ^2.3.3 copied to clipboard

Code generator for Firestore ODM annotations. Generates type-safe Firestore operations from annotated classes.

2.3.3 #

  • FIX(update_generator): enhance deprecation notice for update method and clarify usage of patch operations. (519cb496)
  • FIX(update_generator): optimize null checks and improve data assignment in update method. (8ee14379)

2.3.2 #

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

2.3.1 #

  • FIX(subcollections): implement path-specific isolation to prevent cross-collection access. (95d31e58)
  • FIX(generator): correct extension placement for nested subcollections. (9f64c681)

2.3.0 #

  • REFACTOR: improve JSON serialization support checks in ModelAnalyzer. (407232c5)
  • REFACTOR: streamline Firestore conversion methods and enhance type key generation with element annotations. (3ff3aa2c)
  • REFACTOR: Firestore ODM to use FirestoreConverter instead of ModelConverter. (40acf7dc)
  • FIX: list and map casting. (349c29e9)
  • FEAT: update AnnotationConverter to use fromJson and toJson methods; refactor FieldInfo and ModelAnalysis to utilize TypeAnalysisResult. (7cf6784d)
  • FEAT: add support for manual serialization in ConverterGenerator. (aa0ed533)
  • FEAT: enhance UpdateGenerator to support custom toFirestore expressions for fields with converters. (c9fd3091)
  • FEAT: add nestedProfiles field to ListLengthModel and update JSON conversion logic. (447a5f77)
  • FEAT: add automatic JSON conversion support for generic collections. (c115bcfb)
  • FEAT: enhance Firestore converters to support custom IList, ISet, and IMap types with dynamic conversion expressions. (6e7456c0)
  • FEAT: enhance Firestore type determination by incorporating @JsonConverter support. (213b2821)
  • FEAT: enhance FirestoreType enum and add Firestore type determination for Dart types. (35c63402)
  • 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)

2.2.2 #

  • FIX: IMap bug fixes and patch operations in UpdateBuilder. (579476a4)

2.2.1 #

  • REFACTOR: remove debug print statements from model analysis and firestore generator. (98217a66)

2.2.0 #

  • REFACTOR: remove unused variables and simplify field analysis in ModelAnalyzer. (1032f4e0)
  • FIX: specify version for firestore_odm_annotation dependency in pubspec.yaml. (a768af95)
  • 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)

2.1.0 #

  • FEAT: add json_annotation dependency to pubspec.yaml. (f2c7f28d)

2.0.1 #

  • REFACTOR: code formatting and improve readability across multiple files. (4a7876b7)
  • REFACTOR: update Firestore ODM builders to enhance type handling and improve code structure. (841f5073)
  • 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)

2.0.0 #

Note: This release has breaking changes.

  • 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: enhance type analysis with robust iterable and map support in generators. (0d4ed7bf)
  • FEAT: add map operations, bulk delete, and collection bulk operations with comprehensive testing. (d5612029)
  • 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.2 #

  • REFACTOR: remove unused _getSingularName method. (8020f9e1)
  • REFACTOR: remove obsolete document access method generation. (09a25af4)
  • 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)
  • REFACTOR: remove unused imports and obsolete schema generation method. (86c0525a)
  • REFACTOR: simplify CollectionInfo and remove unused suffix generation. (9087b3d1)

1.1.1 #

  • REFACTOR: improve schema class name generation and add assigned value extraction. (997aa36a)

1.1.0 #

  • REFACTOR: transform monolithic FirestoreGenerator into modular architecture. (a3d79960)
  • REFACTOR: Remove all hardcoded field names and simplify generator. (8afa7ecd)
  • REFACTOR: Move basic field builders from generator to core package. (eb71eaea)
  • REFACTOR: clean up API naming and remove legacy methods. (d4045b14)
  • FIX: eliminate duplicate collection classes for same model. (3142a19a)
  • FIX: refactor collection classes to be generic and reusable. (f873b8be)
  • FIX: Restore path dependencies for proper development workflow. (d4d555c0)
  • FIX: restore nested updater class generation. (8b32dc96)
  • FIX: remove hardcoded 'id' references, use dynamic documentIdField. (135af011)
  • FIX: Resolve remaining lint issues in generated code. (13e6288e)
  • FIX: Resolve lint issues in generated code. (4133293c)
  • FIX: Remove unnecessary null assertion from filter addition in Firestore generator. (4f6fb294)
  • FEAT: implement type-safe aggregate operations and count queries with generated field selectors. (8e95df5b)
  • 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 support for automatic document ID detection in models. (6b0c1101)
  • FEAT: unify Collection annotation to support multiple collection paths. (9fbb73b6)
  • FEAT: implement multiple @Collection annotations with subcollection support. (10a9564b)
  • FEAT: add comprehensive @Collection validation system. (12659528)
  • FEAT: refactor to unified @Collection annotation with subcollection support. (c4330d39)
  • FEAT: add @DocumentIdField annotation support. (9cfb884d)
  • FEAT: Remove legacy orderBy methods from implementation and tests. (e77a6349)
  • FEAT: Update test cases to support mixed update syntax and update README. (5785fc80)
  • FEAT: complete Firestore ODM library implementation. (f7b0da36)
  • FEAT: implement chained updates and enhanced ODM features. (59460a10)
  • FEAT: implement nested field updates with copyWith-style API. (a968695a)
  • FEAT: comprehensive testing of complex data types and extension methods. (56ff7e93)
  • FEAT: implement RxDB-style API with atomic operations. (08af4f52)
  • FEAT: restructure as monorepo with strong-typed Firestore ODM. (b9e6ced0)
  • FEAT: Complete Firestore ODM example with working code generation. (77f515bf)
  • FEAT: Convert Firestore ODM to monorepo library. (279e3547)

Changelog #

[1.0.0] - 2025-01-09 #

Added #

  • Initial release of firestore_odm_builder
  • Code generation for @Collection and @SubCollection annotations
  • Type-safe query builder generation
  • Automatic serialization/deserialization code generation
  • Real-time snapshot support generation
  • Transaction and batch operation support
  • Comprehensive error handling and validation
0
likes
130
points
685
downloads

Publisher

verified publishersylphx.com

Weekly Downloads

Code generator for Firestore ODM annotations. Generates type-safe Firestore operations from annotated classes.

Repository (GitHub)
View/report issues
Contributing

Topics

#firestore #odm #code-generation #build-runner #flutter

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

analyzer, build, fast_immutable_collections, firestore_odm_annotation, json_annotation, source_gen

More

Packages that depend on firestore_odm_builder