2019-04-03 14:26:05 +08:00
|
|
|
==========================
|
|
|
|
Django 2.2.1 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Expected May 1, 2019*
|
|
|
|
|
|
|
|
Django 2.2.1 fixes several bugs in 2.2.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2019-04-02 07:34:11 +08:00
|
|
|
* Fixed a regression in Django 2.1 that caused the incorrect quoting of
|
|
|
|
database user password when using :djadmin:`dbshell` on Oracle
|
|
|
|
(:ticket:`30307`).
|
2019-04-05 17:05:53 +08:00
|
|
|
|
|
|
|
* Added compatibility for ``psycopg2`` 2.8 (:ticket:`30331`).
|
2019-04-05 20:38:35 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 2.2 that caused a crash when loading the
|
|
|
|
template for the technical 500 debug page (:ticket:`30324`).
|
2019-04-06 19:45:22 +08:00
|
|
|
|
|
|
|
* Fixed crash of ``ordering`` argument in
|
|
|
|
:class:`~django.contrib.postgres.aggregates.ArrayAgg` and
|
|
|
|
:class:`~django.contrib.postgres.aggregates.StringAgg` when it contains an
|
|
|
|
expression with params (:ticket:`30332`).
|
2019-04-05 23:52:59 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 2.2 that caused a single instance fast-delete
|
|
|
|
to not set the primary key to ``None`` (:ticket:`30330`).
|
2019-04-13 21:03:26 +08:00
|
|
|
|
|
|
|
* Prevented :djadmin:`makemigrations` from generating infinite migrations for
|
|
|
|
check constraints and partial indexes when ``condition`` contains
|
|
|
|
a :class:`~python:range` object (:ticket:`30350`).
|
2019-04-15 16:35:37 +08:00
|
|
|
|
|
|
|
* Reverted an optimization in Django 2.2 (:ticket:`29725`) that caused the
|
|
|
|
inconsistent behavior of ``count()`` and ``exists()`` on a reverse
|
|
|
|
many-to-many relationship with a custom manager (:ticket:`30325`).
|
2019-04-17 14:24:28 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 2.2 where
|
2019-04-19 14:27:06 +08:00
|
|
|
:class:`~django.core.paginator.Paginator` crashes if ``object_list`` is
|
2019-04-17 14:24:28 +08:00
|
|
|
a queryset ordered or aggregated over a nested ``JSONField`` key transform
|
|
|
|
(:ticket:`30335`).
|
2019-04-06 12:40:46 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 2.2 where ``IntegerField`` validation of
|
|
|
|
database limits crashes if ``limit_value`` attribute in a custom validator is
|
|
|
|
callable (:ticket:`30328`).
|
2019-04-19 14:39:25 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 2.2 where
|
|
|
|
:class:`~django.contrib.postgres.search.SearchVector` generates SQL that is
|
|
|
|
not indexable (:ticket:`30385`).
|