==========================
Django 4.2.8 release notes
==========================

*December 4, 2023*

Django 4.2.8 fixes several bugs in 4.2.7 and adds compatibility with Python
3.12.

Bugfixes
========

* Fixed a regression in Django 4.2 that caused :option:`makemigrations --check`
  to stop displaying pending migrations (:ticket:`34457`).

* Fixed a regression in Django 4.2 that caused a crash of
  ``QuerySet.aggregate()`` with aggregates referencing other aggregates or
  window functions through conditional expressions (:ticket:`34975`).

* Fixed a regression in Django 4.2 that caused a crash when annotating a
  ``QuerySet`` with a ``Window`` expressions composed of a ``partition_by``
  clause mixing field types and aggregation expressions (:ticket:`34987`).

* Fixed a regression in Django 4.2 where the admin's change list page had
  misaligned pagination links and inputs when using ``list_editable``
  (:ticket:`34991`).

* Fixed a regression in Django 4.2 where checkboxes in the admin would be
  centered on narrower screen widths (:ticket:`34994`).

* Fixed a regression in Django 4.2 that caused a crash of querysets with
  aggregations on MariaDB when the ``ONLY_FULL_GROUP_BY`` SQL mode was enabled
  (:ticket:`34992`).

* Fixed a regression in Django 4.2 where the admin's read-only password widget
  and some help texts were incorrectly aligned at tablet widths
  (:ticket:`34982`).

* Fixed a regression in Django 4.2 that caused a migration crash on SQLite when
  altering unsupported ``Meta.db_table_comment`` (:ticket:`35006`).
