Release Notes¶
1.2.0¶
Features¶
- Add model field name access. PR #49 by @nayan32biswas.
Config Changes¶
- Consolidate the doc packages into pyproject.toml. PR #50 by @nayan32biswas.
1.1.3¶
Upgrades¶
- Add support for Python 3.14. PR #47 by @nayan32biswas.
Fixes¶
- Enhance ObjectIdStr class with improved schema handling and validation. PR #46 by @nayan32biswas.
1.1.2¶
Features¶
- Fix the object conversion for model inheritance. PR #44 by @nayan32biswas.
1.1.1¶
Features¶
- Enhance model inheritance functionality for the method
find_oneandget. PR #43 by @nayan32biswas.
1.1.0¶
Config Changes¶
- Add UV package manager and update configuration. PR #37 by @nayan32biswas.
- Fix the failing test on github action. PR #39 by @nayan32biswas.
Features¶
- Introduce asynchronous functionality. PR #38 by @nayan32biswas.
- Async apply indexes. PR #40 by @nayan32biswas.
- Add async tutorial documentation and examples, fix typos and improve clarity in tutorial documentation. PR #41 by @nayan32biswas.
1.0.2¶
Fixes¶
- Define custom WriteOp type to fix import issue of _WriteOp. PR #36 by @nayan32biswas.
1.0.1¶
Fixes¶
- Fix the apply-indexes issue for new version of pymongo. PR #35 by @nayan32biswas.
Docs¶
1.0.0¶
Migration¶
- Add support for Pydantic V2. PR #22 by @nayan32biswas.
- Add support for Python 3.12. PR #22 by @nayan32biswas.
- Update all utcnow to now for 3.12 support. PR #26 by @nayan32biswas.
Breaking Changes¶
- Rename the model inner config class from
ConfigtoODMConfig. PR #22 by @nayan32biswas. - Now
_idfield was aPrivateAttr. It will behave as private attr as Pydantic define. PR #22 by @nayan32biswas.
Fixes¶
- Fix connection issue of the database. PR #23 by @nayan32biswas.
- Resolve apply_indexes issue. PR #24 by @nayan32biswas.
Features¶
- Add ObjectId serializer
ObjectIdStrfor json response. PR #25 by @nayan32biswas.
Docs¶
- Update docs according to Pydantic V2 migration and other changes. PR #27 by @nayan32biswas.
0.2.5¶
Fixes¶
- Configure Ruff for linting and formatting. PR #17 by @nayan32biswas.
- Fix for model inheritance related issue. PR #19 by @nayan32biswas.
- Drop exclude_none feature. PR #20 by @nayan32biswas.
Refactors¶
- Add code comment. PR #18 by @nayan32biswas.
0.2.4¶
Features¶
- Validation on Filter dict. PR #13 by @nayan32biswas.
- Docker compose configuration and pydantic version change . PR #15 by @nayan32biswas.
Fixes¶
- Resolve apply-indexes for Text base index. PR #14 by @nayan32biswas.
0.2.3¶
Features¶
- Multiple databases. PR #11 by @nayan32biswas.
- Implement Db replica-set. PR #10 by @nayan32biswas.
Fixes¶
- Remove mutable variable as default. PR #9 by @nayan32biswas.
0.2.2¶
Features¶
- Implement transactions and make package py.typed. PR #6 by @nayan32biswas.
0.2.1¶
Refactors¶
- Type checking according to the mypy. PR #5 by @nayan32biswas.
0.2.0¶
- The initial release of MongoDB-ODM, an Object Document Mapper based on PyMongo.
- Provides easy mapping of Python objects to MongoDB documents.
- Allows seamless interaction with MongoDB databases in Python applications.
- Includes support for all MongoDB data types.
- Offers intuitive APIs for common CRUD operations.
- Provides flexible query APIs with support for advanced querying features.
- Includes detailed documentation and examples for easy integration.
- Compatible with Python 3.6 and higher.
0.1.0a3 (PRE-RELEASE)¶
The whole project was restructured. But small change on the core functionality. PR #2 by @nayan32biswas.
0.1a2 (PRE-RELEASE)¶
Write initial code according to architectural thought. Write a test with coverage up to 95%. PR #1 by @nayan32biswas.