From 7d1bf29977bb368d7c28e7c6eb146db3b3009ae7 Mon Sep 17 00:00:00 2001 From: Louise Grandjonc Date: Tue, 1 Oct 2019 16:25:40 -0700 Subject: Fixed #30826 -- Fixed crash of many JSONField lookups when one hand side is key transform. Regression in 6c3dfba89215fc56fc27ef61829a6fff88be4abb. --- docs/releases/1.11.26.txt | 5 ++++- docs/releases/2.1.14.txt | 5 ++++- docs/releases/2.2.7.txt | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/releases/1.11.26.txt b/docs/releases/1.11.26.txt index a0c39b4168..1a54b47e1b 100644 --- a/docs/releases/1.11.26.txt +++ b/docs/releases/1.11.26.txt @@ -9,4 +9,7 @@ Django 1.11.26 fixes a regression in 1.11.25. 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 + side of an expression is a key transform (:ticket:`30826`). diff --git a/docs/releases/2.1.14.txt b/docs/releases/2.1.14.txt index 17b001e4e5..92354462a0 100644 --- a/docs/releases/2.1.14.txt +++ b/docs/releases/2.1.14.txt @@ -9,4 +9,7 @@ Django 2.1.14 fixes a regression in 2.1.13. 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 + side of an expression is a key transform (:ticket:`30826`). diff --git a/docs/releases/2.2.7.txt b/docs/releases/2.2.7.txt index 001af88176..f39587e43e 100644 --- a/docs/releases/2.2.7.txt +++ b/docs/releases/2.2.7.txt @@ -9,4 +9,7 @@ Django 2.2.7 fixes several bugs in 2.2.6. 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 + side of an expression is a key transform (:ticket:`30826`). -- cgit v1.3