| 1 |
========================== |
| 2 |
Django 3.1.4 release notes |
| 3 |
========================== |
| 4 |
|
| 5 |
*December 1, 2020* |
| 6 |
|
| 7 |
Django 3.1.4 fixes several bugs in 3.1.3. |
| 8 |
|
| 9 |
Bugfixes |
| 10 |
======== |
| 11 |
|
| 12 |
* Fixed setting the ``Content-Length`` HTTP header in ``AsyncRequestFactory`` |
| 13 |
(:ticket:`32162`). |
| 14 |
|
| 15 |
* Fixed passing extra HTTP headers to ``AsyncRequestFactory`` request methods |
| 16 |
(:ticket:`32159`). |
| 17 |
|
| 18 |
* Fixed crash of key transforms for :class:`~django.db.models.JSONField` on |
| 19 |
PostgreSQL when using on a ``Subquery()`` annotation (:ticket:`32182`). |
| 20 |
|
| 21 |
* Fixed a regression in Django 3.1 that caused a crash of auto-reloader for |
| 22 |
certain invocations of ``runserver`` on Windows with Python 3.7 and below |
| 23 |
(:ticket:`32202`). |
| 24 |
|
| 25 |
* Fixed a regression in Django 3.1 that caused the incorrect grouping by a |
| 26 |
``Q`` object annotation (:ticket:`32200`). |
| 27 |
|
| 28 |
* Fixed a regression in Django 3.1 that caused suppressing connection errors |
| 29 |
when :class:`~django.db.models.JSONField` is used on SQLite |
| 30 |
(:ticket:`32224`). |
| 31 |
|
| 32 |
* Fixed a crash on SQLite, when ``QuerySet.values()/values_list()`` contained |
| 33 |
key transforms for :class:`~django.db.models.JSONField` returning non-string |
| 34 |
primitive values (:ticket:`32203`). |