mirror of
https://github.com/django/django.git
synced 2024-12-27 03:25:58 +00:00
f200d83698
Regression in94e7f471c4
. This reverts commit94e7f471c4
(refs #34069) and partly reverts commit3b4728310a
. Thanks Anthony Baillard for the report. Co-Authored-By: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Backport of0e444e84f8
from main
56 lines
2.1 KiB
Plaintext
56 lines
2.1 KiB
Plaintext
==========================
|
|
Django 4.2.1 release notes
|
|
==========================
|
|
|
|
*May 3, 2023*
|
|
|
|
Django 4.2.1 fixes a security issue with severity "low" and several bugs in
|
|
4.2.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of ``QuerySet.defer()``
|
|
when deferring fields by attribute names (:ticket:`34458`).
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of
|
|
:class:`~django.contrib.postgres.search.SearchVector` function with ``%``
|
|
characters (:ticket:`34459`).
|
|
|
|
* Fixed a regression in Django 4.2 that caused aggregation over query that
|
|
uses explicit grouping to group against the wrong columns (:ticket:`34464`).
|
|
|
|
* Reallowed, following a regression in Django 4.2, setting the
|
|
``"cursor_factory"`` option in :setting:`OPTIONS` on PostgreSQL
|
|
(:ticket:`34466`).
|
|
|
|
* Enforced UTF-8 client encoding on PostgreSQL, following a regression in
|
|
Django 4.2 (:ticket:`34470`).
|
|
|
|
* 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`).
|
|
|
|
* 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`).
|
|
|
|
* Fixed a regression in Django 4.2 where creating copies and deep copies of
|
|
``HttpRequest``, ``HttpResponse``, and their subclasses didn't always work
|
|
correctly (:ticket:`34482`, :ticket:`34484`).
|
|
|
|
* 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`).
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of
|
|
:class:`~django.contrib.postgres.search.SearchHeadline` function with
|
|
``psycopg`` 3 (:ticket:`34486`).
|
|
|
|
* Fixed a regression in Django 4.2 that caused incorrect ``ClearableFileInput``
|
|
margins in the admin (:ticket:`34506`).
|
|
|
|
* Fixed a regression in Django 4.2 where breadcrumbs didn't appear on admin
|
|
site app index views (:ticket:`34512`).
|