- Added CHANGELOG.md to the project (Adrian Dankiv)
- Improved model.to_dict() functionality. Now it uses field names by default and includes
include_id
,include_key
, andinclude_parent
arguments (Adrian Dankiv) - Added "count" method to FilterQuery (Adrian Dankiv)
- Fix reverse order in cursor (Adrian Dankiv)
- Updated node version to 17.x in python-package-testing.yml (Azeem Haider)
- Fixed DateTime with both
required=True
andauto=True
(Adrian Dankiv) - Fixed Model.collection.update with nested values (Adrian Dankiv)
v2.1.0 (2023-04-05)
- Added ability to manage documents by their IDs: get, get_all, update, delete, delete_all (Adrian Dankiv)
- Added initial type hinting (Adrian Dankiv)
- Added manager.get_key_by_id method (Adrian Dankiv)
- Added manager update tests (Adrian Dankiv)
- Added manager.update (Adrian Dankiv)
- Added model.populate_from_doc (Adrian Dankiv)
- Modified delete(key=None) to delete_every() to delete all documents (Adrian Dankiv)
- Updated and unified codebase (Adrian Dankiv)
- Fixed ListField() for Union and Remove (Adrian Dankiv)
- Fixed fireo.Increment for NumberField (Adrian Dankiv)
- Fixed Manager.copy (Adrian Dankiv)
- Fixed Meta inheritance (Adrian Dankiv)
- Fixed annotation_resolver_cls in TypedModelMeta (Adrian Dankiv)
- Fixed auto-creation of nested models for required fields only (Adrian Dankiv)
- Fixed limit with cursor (Adrian Dankiv)
- Fixed custom fields in meta (Adrian Dankiv)
v2.0.0 (2023-03-02)
- Added TypedModel (Adrian Dankiv)
- Added DateTime.auto_update (Adrian Dankiv)
- Added EnumField (Adrian Dankiv)
- Added IDField.include_in_document (Adrian Dankiv)
- Added Model.refresh and Model.merge_with_dict (Adrian Dankiv)
- Added Meta.column_name_generator (Adrian Dankiv)
- Added tests for ordering with nested and for Model.from_dict (Adrian Dankiv)
- Updated google-cloud-firestore version to 2.10.0 (AxeemHaider)
- Updated docstring (Adrian Dankiv)
- Updated store default values in Meta class namespace (Adrian Dankiv)
- Updated minor change in _is_field_unchanged (Adrian Dankiv)
- Updated collection.parent() or .create() (Adrian Dankiv)
- Updated Meta.collection_name_generator (Adrian Dankiv)
- Updated Meta.abstract = True in default model (Adrian Dankiv)
- Fixed model.list_subcollections (Adrian Dankiv)
- Fixed Model._is_field_unchanged (Adrian Dankiv)
- Fixed updated with ListField (Adrian Dankiv)
- Fixed filter by document.id (Adrian Dankiv)
- Fixed Meta.collection_name_generator (Adrian Dankiv)
- Fixed unexpected attribute check (Adrian Dankiv)
- Fixed saving doc.id on batch create (Adrian Dankiv)
- Fixed error message (Adrian Dankiv)
- Fixed refactor create query to fix meta.ignore_none_field = True (Adrian Dankiv)
v1.7.0 (2023-01-31)
- Added ability to specify nested_field in ListField (Adrian Dankiv)
- Changed error message for missing required field (Adrian Dankiv)
- Fixed update nested from init params (Adrian Dankiv)
- Improved error message and refactored some parts of the code (Adrian Dankiv)
- Fixed model.update (Adrian Dankiv)
- Fixed memory leak (Adrian Dankiv)
- Set Meta.ignore_none_field=False (Adrian Dankiv)
For more detailed information, please refer to the project repository.