2023-04-03 09:17:54 +00:00
|
|
|
==========================
|
|
|
|
Django 4.2.1 release notes
|
|
|
|
==========================
|
|
|
|
|
2023-04-20 07:01:59 +00:00
|
|
|
*May 3, 2023*
|
2023-04-03 09:17:54 +00:00
|
|
|
|
2023-04-20 07:01:59 +00:00
|
|
|
Django 4.2.1 fixes a security issue with severity "low" and several bugs in
|
|
|
|
4.2.
|
2023-04-03 09:17:54 +00:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2023-04-04 20:58:15 +00:00
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of ``QuerySet.defer()``
|
|
|
|
when deferring fields by attribute names (:ticket:`34458`).
|
2023-04-05 17:34:16 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of
|
|
|
|
:class:`~django.contrib.postgres.search.SearchVector` function with ``%``
|
|
|
|
characters (:ticket:`34459`).
|
2023-04-06 12:19:53 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused aggregation over query that
|
|
|
|
uses explicit grouping to group against the wrong columns (:ticket:`34464`).
|
2023-04-06 19:44:37 +00:00
|
|
|
|
|
|
|
* Reallowed, following a regression in Django 4.2, setting the
|
|
|
|
``"cursor_factory"`` option in :setting:`OPTIONS` on PostgreSQL
|
|
|
|
(:ticket:`34466`).
|
2023-04-07 08:11:41 +00:00
|
|
|
|
|
|
|
* Enforced UTF-8 client encoding on PostgreSQL, following a regression in
|
|
|
|
Django 4.2 (:ticket:`34470`).
|
2023-04-06 17:40:14 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 where ``i18n_patterns()`` didn't respect the
|
|
|
|
``prefix_default_language`` argument when a fallback language of the default
|
|
|
|
language was used (:ticket:`34455`).
|
2023-04-12 07:25:45 +00:00
|
|
|
|
2023-04-28 06:05:43 +00:00
|
|
|
* Fixed a regression in Django 4.2 where translated URLs of the default
|
|
|
|
language from ``i18n_patterns()`` with ``prefix_default_language`` set to
|
|
|
|
``False`` raised 404 errors for a request with a different language
|
|
|
|
(:ticket:`34515`).
|
|
|
|
|
2023-04-12 07:25:45 +00:00
|
|
|
* Fixed a regression in Django 4.2 where creating copies and deep copies of
|
2023-04-12 07:46:18 +00:00
|
|
|
``HttpRequest``, ``HttpResponse``, and their subclasses didn't always work
|
|
|
|
correctly (:ticket:`34482`, :ticket:`34484`).
|
2023-04-13 16:16:33 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 where ``timesince`` and ``timeuntil``
|
|
|
|
template filters returned incorrect results for a datetime with a non-UTC
|
|
|
|
timezone when a time difference is less than 1 day (:ticket:`34483`).
|
2023-04-13 11:07:32 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of
|
|
|
|
:class:`~django.contrib.postgres.search.SearchHeadline` function with
|
|
|
|
``psycopg`` 3 (:ticket:`34486`).
|
2023-04-21 17:49:59 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused incorrect ``ClearableFileInput``
|
|
|
|
margins in the admin (:ticket:`34506`).
|
2023-04-26 06:36:56 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 where breadcrumbs didn't appear on admin
|
|
|
|
site app index views (:ticket:`34512`).
|