motorhead

Async MongoDB with vanilla Pydantic v2+ - made easy.

MIT License

Downloads
505
Stars
11
Committers
1

Bot releases are hidden (Show)

motorhead - v0.2408.0

Published by volfpeter 3 months ago

What's Changed

Full Changelog: https://github.com/volfpeter/motorhead/compare/0.2403.0...v0.2408.0

motorhead - v0.2403.0 Latest Release

Published by volfpeter 7 months ago

Changes:

  • Validator and delete rule performance improvement through memoization by @volfpeter
  • More tests by @volfpeter
motorhead - v0.2402.1

Published by volfpeter 8 months ago

Changes:

  • Fixed UTCDatetime validation which was broken because Pydantic v2 uses its own tzinfo implementation.
  • Replaced black with ruff.
  • Updated developer tools.
motorhead - 2024.02.0 release

Published by volfpeter 9 months ago

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.
motorhead - 2023.09.0 release

Published by volfpeter about 1 year ago

Changes:

  • Fixed Service._mongo_dump(), it must always convert in "python" mode.
motorhead - 2023.08.5 release

Published by volfpeter about 1 year ago

Just a PyPI project URL update.

motorhead - 2023.08.4 release

Published by volfpeter about 1 year ago

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.

motorhead - 2023.08.3 release

Published by volfpeter about 1 year ago

Changes:

  • Added Service.create() and Service.update() methods.
  • Updated the documentation.
  • Updated the FastAPI example.
motorhead - 2023.08.2 release

Published by volfpeter about 1 year ago

More documentation updates.

motorhead - 2023.08.1 release

Published by volfpeter about 1 year ago

Just a documentation update for PyPI.

motorhead - 2023.08.0 release

Published by volfpeter about 1 year ago

Added ODM-like query builder and operator implementations (not complete yet).

motorhead - 2023.07.0 release

Published by volfpeter about 1 year ago

Migration of fastapi-motor-oil from Pydantic v1 to v2, and a few minor improvements and fixes.