Skip to content

Release notes


v1.4.4 - 2025-01-14

What's Changed

Fix

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.4.3...1.4.4


v1.4.3rc3 - 2024-11-22

What's Changed

Fix

  • ♻️ Refactor resolve reference pipeline by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.4.3rc2...1.4.3rc3


v1.4.3 - 2024-11-29

What's Changed

Same code of v1.4.3rc3

  • ♻️ Refactor: Enhance DbModel initialization and MongoDB aggregate pipeline construction by @mauro-andre

  • Improve test coverage by @mauro-andre

  • βž• Update requirements by @mauro-andre

  • ♻️ Refactor resolve reference pipeline by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.4.2...1.4.3


v1.4.3rc2 - 2024-11-21

What's Changed

FIx

  • Minor modification to the __getattr__ method in the PyOdmongoMeta metaclass to improve compatibility with Pydantic 2.10.

Tests

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.4.3rc1...1.4.3rc2


v1.4.3rc1 - 2024-11-20

What's Changed

Fix

  • ♻️ Refactor: Enhance DbModel initialization and MongoDB aggregate pipeline construction by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.4.2...1.4.3rc1


v1.4.2 - 2024-11-09

What's Changed

Fix

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.4.0...1.4.2


v1.4.1 - 2024-10-07

What's Changed

New feature

  • ♻️ Nested persisted object with index creation by @mauro-andre

Fix

  • πŸ› Fix text index duplicate name by @mauro-andre

  • πŸ› Fix create index after in model after a nested attr by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.3.0...1.4.0


v1.4.0rc3 - 2024-10-07

What's Changed

  • πŸ› Fix create index after in model after a nested attr by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.4.0rc2...1.4.0rc3


v1.4.0rc2 - 2024-10-07


v1.4.0rc1 - 2024-10-07


v1.3.0 - 2024-10-03

What's Changed

New feature

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.2.2...1.3.0


v1.2.2 - 2024-07-29

What's Changed

Fix

  • πŸ› DbModel initialize empty lists by @mauro-andre (Issue reported by @manuelseeger)

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.2.1...1.2.2


v1.2.1 - 2024-07-18

What's Changed

Fix

  • πŸ› Fix nested attr bug db_field_info: getattr -> eval by @patrickpasquini

New Contributors

  • @patrickpasquini made their first contribution in https://github.com/mauro-andre/pyodmongo/pull/142

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.2.0...1.2.1


v1.2.0 - 2024-07-02

What's Changed

New feature

  • ✨ Mount query operator with and or logical operators by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.1.2...1.2.0


v1.1.2 - 2024-06-26

What's Changed

Fix

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.1.1...1.1.2


v1.1.1 - 2024-06-26

What's Changed

Fix

  • πŸ› Fix KeyError in init DbModel when use a serialized class by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.1.0...1.1.1


v1.1.0rc2 - 2024-06-25

What's Changed

Fix

  • ♻️ DbModel init verify empty list by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.1.0rc1...1.1.0rc2


v1.1.0 - 2024-06-25

What's Changed

Refactor

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.0.1...1.1.0


v1.1.0rc1 - 2024-06-20

What's Changed

Refactor

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.0.1...1.1.0rc1


v1.0.1 - 2024-06-05

What's Changed

Fix

  • ✏️ Type hints response in engines by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/1.0.0...1.0.1


v1.0.0 - 2024-06-03

What's Changed

I'm excited to release version 1.0.0 of PyODMongo.

Although the library was built on top of Pydantic V2, from this release onwards the dependency on Pydantic is at a higher abstraction layer.

In the first versions of PyODMongo, to guarantee certain behaviors I had to rewrite the Pydantic metaclass, making some changes, I did the same thing with the Field function, this meant that with each Pydantic update I had to do countless tests to ensure that nothing broke .

In this new version of PyODMongo I created a new metaclass that inherits from the pydantic metaclass and adds certain behaviors, I followed the same reasoning with the Fields function.

Basically a lot of thing has been refactored to improve performance, code simplicity and a higher abstraction of Pydantic

Refactor

  • All sync and async engine methods: find_one, find_many, save, save_all and delete

  • There's no more SaveResponse or DeleteResponse, both have been replaced by DbResponse

  • DbModel now inherits from Pydantic's BaseModel and the new DbMeta metaclass

New features

  • DbMeta and PyOdmongoMeta

  • MainBaseModel class to use in embedded documents

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/0.10.2...1.0.0


v1.0.0rc1 - 2024-06-02

Release candidate

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/0.10.2...1.0.0rc1


v0.10.2 - 2024-05-23

What's Changed

Fix

  • πŸ› Fix class QueryOperators types tuples by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/0.10.1...0.10.2


v0.10.1 - 2024-05-23

What's Changed

Fix

  • πŸ› Verify in _union_collector_info if any model has model field by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/0.10.0...0.10.1


v0.10.0 - 2024-05-23

What's Changed

New Features

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/0.9.2...0.10.0


v0.9.2 - 2024-05-15

What's Changed

Fix

  • πŸ› Fix DbModel init not set None in empty list by @mauro-andre

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/0.9.1...0.9.2


v0.9.1 - 2024-05-15

What's Changed

Fix

  • πŸ› Fix remove empty dict in DbModel init by @mauro-andre

Doc

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/0.9.0...0.9.1


v0.9.0 - 2024-04-24

What's Changed

New release

  • ✨ tz_info in engine and find_one and find_many by @mauro-andre

Fix

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/0.8.0...0.9.0


v0.8.0 - 2024-04-23

What's Changed

Docs

Refactor

New Features

Full Changelog: https://github.com/mauro-andre/pyodmongo/compare/0.7.3...0.8.0


v0.7.3 - 2024-04-22

Bug fix