- Validator and delete rule performance improvement through memoization by volfpeter - More tests by volfpeter
0.2402.1
Changes:
- Fixed `UTCDatetime` validation which was broken because Pydantic v2 uses its own tzinfo implementation. - Replaced `black` with `ruff`. - Updated developer tools.
0.2402.0
Changes:
- Fixed `motor` version as there were breaking changes in 3.2. - Replaced the deprecated `general_plain_validator_function()` method with `with_info_plain_validator_function()` in the `ObjectId` Pydantic model.
0.2309.0
Changes:
- Fixed `Service._mongo_dump()`, it must always convert in `"python"` mode.
0.2308.5
Just a PyPI project URL update.
0.2308.4
Breaking changes:
- The arguments of validators got swapped, now the first argument is the update data and the second argument is an optional query.
Features:
- Added `Service.insert_many()` + related types.
Fixes:
- `None` query handling.
Plus added a few new tests and updated the FastAPI example.