We’re happy to announce the release of Django MongoDB Backend 6.1.0. This release adds a few backwards-incompatible changes to be aware of.
Backwards-incompatible changes
-
Django 6.1 is now required. Django 6.0 is supported by the
django-mongodb-backend6.0.x series. -
Defining indexes and constraints on embedded models using
unique=True,db_index=True,Meta.constraints,Meta.indexes, andMeta.unique_togetheris no longer supported, as per the `deprecation timeline `. Use `~django_mongodb_backend.indexes.EmbeddedFieldIndex` and `~django_mongodb_backend.constraints.EmbeddedFieldUniqueConstraint` on the top-level model instead.
See the full release notes for details: https://github.com/mongodb/django-mongodb-backend/blob/main/docs/releases/6.1.x.rst
Install or upgrade with pip install --upgrade django-mongodb-backend==6.1.0.
Found a bug or have a feature request? Please file an issue in the Python Integrations (INTPYTHON) project on our public Jira: https://jira.mongodb.org/projects/INTPYTHON/
As always, feedback and bug reports are welcome. Happy building!