Django 4.1.4 release notes

December 6, 2022

Django 4.1.4 fixes several bugs in 4.1.3.

漏洞修复

  • Fixed a regression in Django 4.1 that caused an unnecessary table rebuild when adding a ManyToManyField on SQLite (#34138).
  • Fixed a bug in Django 4.1 that caused a crash of the sitemap index view with an empty Sitemap.items() and a callable lastmod (#34088).
  • Fixed a bug in Django 4.1 that caused a crash using acreate(), aget_or_create(), and aupdate_or_create() asynchronous methods of related managers (#34139).
  • Fixed a bug in Django 4.1 that caused a crash of QuerySet.bulk_create() with "pk" in unique_fields (#34177).
  • Fixed a bug in Django 4.1 that caused a crash of QuerySet.bulk_create() on fields with db_column (#34171).