summaryrefslogtreecommitdiff
path: root/docs/releases/4.2.1.txt
blob: 621fc3ec3036c05655664835810d2702024fcae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
==========================
Django 4.2.1 release notes
==========================

*Expected May 1, 2023*

Django 4.2.1 fixes 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 creating copies and deep copies of
  ``HttpRequest`` and its subclasses didn't always work correctly
  (:ticket:`34482`, :ticket:`34484`).