Django MongoDB Backend 5.0.x

5.0.0 beta 1

February 26, 2025

  • Backward-incompatible: ObjectIdAutoField no longer accepts integer values. The undocumented behavior eased testing with Django’s test suite which hardcodes many integer primary key values.

  • Fixed the inability to save nested embedded model forms.

  • Fixed persistent database connections.

  • Added async support.

  • Added the db_name parameter to django_mongodb_backend.utils.parse_uri().

  • Added django_mongodb_backend.routers.MongoRouter to allow dumpdata to ignore embedded models. See Configuring the DATABASE_ROUTERS setting.

5.0.0 beta 0

January 29, 2025

Initial Public Preview release.