2020-05-04 13:38:35 +08:00
|
|
|
==========================
|
|
|
|
Django 3.0.7 release notes
|
|
|
|
==========================
|
|
|
|
|
2020-06-03 15:13:16 +08:00
|
|
|
*June 3, 2020*
|
2020-05-04 13:38:35 +08:00
|
|
|
|
2020-05-27 16:19:15 +08:00
|
|
|
Django 3.0.7 fixes two security issues and several bugs in 3.0.6.
|
2020-05-04 13:38:35 +08:00
|
|
|
|
2020-05-20 17:45:31 +08:00
|
|
|
CVE-2020-13254: Potential data leakage via malformed memcached keys
|
|
|
|
===================================================================
|
|
|
|
|
|
|
|
In cases where a memcached backend does not perform key validation, passing
|
|
|
|
malformed cache keys could result in a key collision, and potential data
|
|
|
|
leakage. In order to avoid this vulnerability, key validation is added to the
|
|
|
|
memcached cache backends.
|
|
|
|
|
2020-05-26 15:51:02 +08:00
|
|
|
CVE-2020-13596: Possible XSS via admin ``ForeignKeyRawIdWidget``
|
|
|
|
================================================================
|
|
|
|
|
|
|
|
Query parameters for the admin ``ForeignKeyRawIdWidget`` were not properly URL
|
|
|
|
encoded, posing an XSS attack vector. ``ForeignKeyRawIdWidget`` now
|
|
|
|
ensures query parameters are correctly URL encoded.
|
|
|
|
|
2020-05-04 13:38:35 +08:00
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2020-05-05 15:08:29 +08:00
|
|
|
* Fixed a regression in Django 3.0 by restoring the ability to use field
|
|
|
|
lookups in ``Meta.ordering`` (:ticket:`31538`).
|
2020-05-14 11:38:29 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.0 where ``QuerySet.values()`` and
|
|
|
|
``values_list()`` crashed if a queryset contained an aggregation and a
|
|
|
|
subquery annotation (:ticket:`31566`).
|
2020-05-14 12:14:48 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.0 where aggregates used wrong annotations when
|
|
|
|
a queryset has multiple subqueries annotations (:ticket:`31568`).
|
2020-05-14 21:07:08 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.0 where ``QuerySet.values()`` and
|
|
|
|
``values_list()`` crashed if a queryset contained an aggregation and an
|
|
|
|
``Exists()`` annotation on Oracle (:ticket:`31584`).
|
2020-05-20 15:18:19 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.0 where all resolved ``Subquery()``
|
|
|
|
expressions were considered equal (:ticket:`31607`).
|
2020-05-28 16:26:41 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.0.5 that affected translation loading for apps
|
|
|
|
providing translations for territorial language variants as well as a generic
|
|
|
|
language, where the project has different plural equations for the language
|
|
|
|
(:ticket:`31570`).
|
2020-06-02 20:32:43 +08:00
|
|
|
|
|
|
|
* Tracking a jQuery security release, upgraded the version of jQuery used by
|
|
|
|
the admin from 3.4.1 to 3.5.1.
|