diff options
Diffstat (limited to 'docs/releases')
-rw-r--r-- | docs/releases/1.11.23.txt | 2 | ||||
-rw-r--r-- | docs/releases/1.11.24.txt | 2 | ||||
-rw-r--r-- | docs/releases/1.11.25.txt | 2 | ||||
-rw-r--r-- | docs/releases/1.11.26.txt | 2 | ||||
-rw-r--r-- | docs/releases/1.11.txt | 2 | ||||
-rw-r--r-- | docs/releases/1.9.txt | 2 | ||||
-rw-r--r-- | docs/releases/2.1.11.txt | 2 | ||||
-rw-r--r-- | docs/releases/2.1.12.txt | 2 | ||||
-rw-r--r-- | docs/releases/2.1.13.txt | 2 | ||||
-rw-r--r-- | docs/releases/2.1.14.txt | 2 | ||||
-rw-r--r-- | docs/releases/2.1.txt | 2 | ||||
-rw-r--r-- | docs/releases/2.2.4.txt | 2 | ||||
-rw-r--r-- | docs/releases/2.2.5.txt | 2 | ||||
-rw-r--r-- | docs/releases/2.2.6.txt | 2 | ||||
-rw-r--r-- | docs/releases/2.2.7.txt | 2 | ||||
-rw-r--r-- | docs/releases/4.0.txt | 3 |
16 files changed, 18 insertions, 15 deletions
diff --git a/docs/releases/1.11.23.txt b/docs/releases/1.11.23.txt index 04acca90f1..6a3f64d92f 100644 --- a/docs/releases/1.11.23.txt +++ b/docs/releases/1.11.23.txt @@ -41,7 +41,7 @@ CVE-2019-14234: SQL injection possibility in key and index lookups for ``JSONFie ==================================================================================================== :lookup:`Key and index lookups <jsonfield.key>` for -:class:`~django.contrib.postgres.fields.JSONField` and :lookup:`key lookups +``django.contrib.postgres.fields.JSONField`` and :lookup:`key lookups <hstorefield.key>` for :class:`~django.contrib.postgres.fields.HStoreField` were subject to SQL injection, using a suitably crafted dictionary, with dictionary expansion, as the ``**kwargs`` passed to ``QuerySet.filter()``. diff --git a/docs/releases/1.11.24.txt b/docs/releases/1.11.24.txt index 578854f6e7..f46997fc4c 100644 --- a/docs/releases/1.11.24.txt +++ b/docs/releases/1.11.24.txt @@ -10,6 +10,6 @@ Bugfixes ======== * Fixed crash of ``KeyTransform()`` for - :class:`~django.contrib.postgres.fields.JSONField` and + ``django.contrib.postgres.fields.JSONField`` and :class:`~django.contrib.postgres.fields.HStoreField` when using on expressions with params (:ticket:`30672`). diff --git a/docs/releases/1.11.25.txt b/docs/releases/1.11.25.txt index 7b63b92d64..76d8936ae3 100644 --- a/docs/releases/1.11.25.txt +++ b/docs/releases/1.11.25.txt @@ -10,5 +10,5 @@ Bugfixes ======== * Fixed a crash when filtering with a ``Subquery()`` annotation of a queryset - containing :class:`~django.contrib.postgres.fields.JSONField` or + containing ``django.contrib.postgres.fields.JSONField`` or :class:`~django.contrib.postgres.fields.HStoreField` (:ticket:`30769`). diff --git a/docs/releases/1.11.26.txt b/docs/releases/1.11.26.txt index 8db2cb45b8..d3c39dcf17 100644 --- a/docs/releases/1.11.26.txt +++ b/docs/releases/1.11.26.txt @@ -11,5 +11,5 @@ Bugfixes * Fixed a crash when using a ``contains``, ``contained_by``, ``has_key``, ``has_keys``, or ``has_any_keys`` lookup on - :class:`~django.contrib.postgres.fields.JSONField`, if the right or left hand + ``django.contrib.postgres.fields.JSONField``, if the right or left hand side of an expression is a key transform (:ticket:`30826`). diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index c32203aaee..0b2250f781 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -211,7 +211,7 @@ Minor features :class:`~django.contrib.postgres.indexes.BrinIndex` classes allow creating ``GIN`` and ``BRIN`` indexes in the database. -* :class:`~django.contrib.postgres.fields.JSONField` accepts a new ``encoder`` +* ``django.contrib.postgres.fields.JSONField`` accepts a new ``encoder`` parameter to specify a custom class to encode data types not supported by the standard encoder. diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index 07a75fc005..241b9daec4 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -265,7 +265,7 @@ Minor features * Added support for the :lookup:`rangefield.contained_by` lookup for some built in fields which correspond to the range fields. -* Added :class:`~django.contrib.postgres.fields.JSONField`. +* Added ``django.contrib.postgres.fields.JSONField``. * Added :doc:`/ref/contrib/postgres/aggregates`. diff --git a/docs/releases/2.1.11.txt b/docs/releases/2.1.11.txt index ae344f35b3..e2615585c1 100644 --- a/docs/releases/2.1.11.txt +++ b/docs/releases/2.1.11.txt @@ -41,7 +41,7 @@ CVE-2019-14234: SQL injection possibility in key and index lookups for ``JSONFie ==================================================================================================== :lookup:`Key and index lookups <jsonfield.key>` for -:class:`~django.contrib.postgres.fields.JSONField` and :lookup:`key lookups +``django.contrib.postgres.fields.JSONField`` and :lookup:`key lookups <hstorefield.key>` for :class:`~django.contrib.postgres.fields.HStoreField` were subject to SQL injection, using a suitably crafted dictionary, with dictionary expansion, as the ``**kwargs`` passed to ``QuerySet.filter()``. diff --git a/docs/releases/2.1.12.txt b/docs/releases/2.1.12.txt index 087ad5f59d..3efeaac64b 100644 --- a/docs/releases/2.1.12.txt +++ b/docs/releases/2.1.12.txt @@ -10,6 +10,6 @@ Bugfixes ======== * Fixed crash of ``KeyTransform()`` for - :class:`~django.contrib.postgres.fields.JSONField` and + ``django.contrib.postgres.fields.JSONField`` and :class:`~django.contrib.postgres.fields.HStoreField` when using on expressions with params (:ticket:`30672`). diff --git a/docs/releases/2.1.13.txt b/docs/releases/2.1.13.txt index 502b73c8c9..52fafc4406 100644 --- a/docs/releases/2.1.13.txt +++ b/docs/releases/2.1.13.txt @@ -10,5 +10,5 @@ Bugfixes ======== * Fixed a crash when filtering with a ``Subquery()`` annotation of a queryset - containing :class:`~django.contrib.postgres.fields.JSONField` or + containing ``django.contrib.postgres.fields.JSONField`` or :class:`~django.contrib.postgres.fields.HStoreField` (:ticket:`30769`). diff --git a/docs/releases/2.1.14.txt b/docs/releases/2.1.14.txt index 310ec56012..13923e24f1 100644 --- a/docs/releases/2.1.14.txt +++ b/docs/releases/2.1.14.txt @@ -11,5 +11,5 @@ Bugfixes * Fixed a crash when using a ``contains``, ``contained_by``, ``has_key``, ``has_keys``, or ``has_any_keys`` lookup on - :class:`~django.contrib.postgres.fields.JSONField`, if the right or left hand + ``django.contrib.postgres.fields.JSONField``, if the right or left hand side of an expression is a key transform (:ticket:`30826`). diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index bc03a67dce..283c65ca30 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -373,7 +373,7 @@ Miscellaneous * Since migrations are now loaded from ``.pyc`` files, you might need to delete them if you're working in a mixed Python 2 and Python 3 environment. -* Using ``None`` as a :class:`~django.contrib.postgres.fields.JSONField` lookup +* Using ``None`` as a ``django.contrib.postgres.fields.JSONField`` lookup value now matches objects that have the specified key and a null value rather than objects that don't have the key. diff --git a/docs/releases/2.2.4.txt b/docs/releases/2.2.4.txt index 8a71fec783..15682da82a 100644 --- a/docs/releases/2.2.4.txt +++ b/docs/releases/2.2.4.txt @@ -41,7 +41,7 @@ CVE-2019-14234: SQL injection possibility in key and index lookups for ``JSONFie ==================================================================================================== :lookup:`Key and index lookups <jsonfield.key>` for -:class:`~django.contrib.postgres.fields.JSONField` and :lookup:`key lookups +``django.contrib.postgres.fields.JSONField`` and :lookup:`key lookups <hstorefield.key>` for :class:`~django.contrib.postgres.fields.HStoreField` were subject to SQL injection, using a suitably crafted dictionary, with dictionary expansion, as the ``**kwargs`` passed to ``QuerySet.filter()``. diff --git a/docs/releases/2.2.5.txt b/docs/releases/2.2.5.txt index ed6ee60d01..66fcbd6bad 100644 --- a/docs/releases/2.2.5.txt +++ b/docs/releases/2.2.5.txt @@ -14,7 +14,7 @@ Bugfixes (:ticket:`30673`). * Fixed crash of ``KeyTransform()`` for - :class:`~django.contrib.postgres.fields.JSONField` and + ``django.contrib.postgres.fields.JSONField`` and :class:`~django.contrib.postgres.fields.HStoreField` when using on expressions with params (:ticket:`30672`). diff --git a/docs/releases/2.2.6.txt b/docs/releases/2.2.6.txt index 512b3601e0..23a39b90f4 100644 --- a/docs/releases/2.2.6.txt +++ b/docs/releases/2.2.6.txt @@ -14,5 +14,5 @@ Bugfixes * Fixed a regression in Django 2.2.4 that caused a crash when filtering with a ``Subquery()`` annotation of a queryset containing - :class:`~django.contrib.postgres.fields.JSONField` or + ``django.contrib.postgres.fields.JSONField`` or :class:`~django.contrib.postgres.fields.HStoreField` (:ticket:`30769`). diff --git a/docs/releases/2.2.7.txt b/docs/releases/2.2.7.txt index 75b2816c4d..deffd62201 100644 --- a/docs/releases/2.2.7.txt +++ b/docs/releases/2.2.7.txt @@ -11,7 +11,7 @@ Bugfixes * Fixed a crash when using a ``contains``, ``contained_by``, ``has_key``, ``has_keys``, or ``has_any_keys`` lookup on - :class:`~django.contrib.postgres.fields.JSONField`, if the right or left hand + ``django.contrib.postgres.fields.JSONField``, if the right or left hand side of an expression is a key transform (:ticket:`30826`). * Prevented :option:`migrate --plan` from showing that ``RunPython`` operations diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index d8c130db4f..f25af43549 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -313,3 +313,6 @@ to remove usage of these features. historical migrations. * ``django.conf.urls.url()`` is removed. + +* The ``django.contrib.postgres.fields.JSONField`` model field is removed, + except for support in historical migrations. |