mongoz

ODM with Pydantic made it simple

MIT License

Downloads
1.5K
Stars
19
Committers
3

Bot releases are hidden (Show)

mongoz - 0.10.8

Published by tarsil about 1 month ago

Added

  • Support for NullableObjectId allowing special object ids to
    be declared in the document and null.
mongoz - Version 0.10.7

Published by tarsil 2 months ago

Added

  • Support for startswith, endswith, istartswith and iendswith filters.

Changed

  • Internal metaclasses checks for annotations.
  • Code cleaning and organisations.
mongoz - Version 0.10.6 Latest Release

Published by tarsil 3 months ago

Added

  • Support for multi-tenancy on a document level.
mongoz - Version 0.10.5

Published by tarsil 3 months ago

Added

  • exists() allowing to query for a document existance in the database.
mongoz - Version 0.10.4

Published by tarsil 3 months ago

Fix

  • Native decimal.Decimal internal convertion to bson.decimal128.Decimal128 to updates.
mongoz - Version 0.10.3

Published by tarsil 3 months ago

Fix

  • Convert decimal to Decimal128 was causing issues for insert lists.
mongoz - Version 0.10.2

Published by tarsil 4 months ago

This was missed from the version 0.10.1

Changed

  • Update internals of embedded documents to allow arbitraty types.
mongoz - Version 0.10.1

Published by tarsil 4 months ago

Fix

  • Native decimal.Decimal internal convertion to bson.decimal128.Decimal128.
mongoz - Version 0.10.0

Published by tarsil 4 months ago

Added

Fixed

Full Changelog: https://github.com/dymmond/mongoz/compare/0.9.0...0.10.0

mongoz - Version 0.9.0

Published by tarsil 4 months ago

Added

Changed

  • Cleaned up logic to design indexes in the metaclass.
mongoz - Version 0.8.0

Published by tarsil 6 months ago

Changed

  • Internal support for hatch and removed the need for a Makefile
  • Documentation references
  • Add using method to QuerySet manager #28 by @harshalizode.
mongoz - 0.7.0

Published by tarsil 6 months ago

Added

  • Support for QuerySetManagers. Users can now build their own custom managers
    and add into the documents.
  • Documentation for the QuerySetManager.

Fixed

  • Validation for abstract classes with multiple managers.
mongoz - Version 0.6.0

Published by tarsil 8 months ago

Changed

  • New lazy loading settings working side by side with dymmond-settings.
mongoz - Version 0.5.1

Published by tarsil 8 months ago

Changed

  • Update internal dymmond-settings minimum requirement.
mongoz - Version 0.5.0

Published by tarsil 8 months ago

Changed

BREAKING CHANGE

  • SETTINGS_MODULE was renamed to MONGOZ_SETTINGS_MODULE.
mongoz - Version 0.4.1

Published by tarsil 9 months ago

Added

  • unique validation for indexing in the metaclass.
mongoz - Version 0.4.0

Published by tarsil 9 months ago

Added

  • New run_sync allowing to run sync operations within Mongoz.

Changed

Breaking changes

Mongoz now uses Dymmond Settings which this simply affects the way the
settings module is loaded. Prior to version 0.4.0 it was like this:

MONGOZ_SETTINGS_MODULE=...

From version 0.4.0 is:

SETTINGS_MODULE=...

The rest remains as it. More information about how to use it in the official documentation.

mongoz - Version 0.3.3

Published by tarsil 11 months ago

Fix

  • Codec options as defaults were not loading properly.
mongoz - Version 0.3.2

Published by tarsil 11 months ago

Fix

  • Codec options for UuidRepresentation.STANDARD.
mongoz - Version 0.3.1

Published by tarsil about 1 year ago

Fix

  • Hotfix in introduced alias for ids when generating metaclasses.