Simon Charette 
							
						 
					 
					
						
						
							
						
						0d8fbe2ade 
					 
					
						
						
							
							Refs  #34060  -- Fixed crash when filtering against literal JSON with psycopg2.  
						
						
						
						
					 
					
						2024-02-16 07:40:33 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						b0788a0918 
					 
					
						
						
							
							Fixed JSONField's test_deep_distinct for DatabaseFeatures.nulls_order_largest=False.  
						
						... 
						
						
						
						Failure observed on CockroachDB. 
						
						
					 
					
						2023-09-22 06:25:17 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						5e4c1793b7 
					 
					
						
						
							
							Refs  #33308  -- Removed support for passing encoded JSON string literals to JSONField & co.  
						
						... 
						
						
						
						Per deprecation timeline. 
						
						
					 
					
						2023-09-18 22:12:40 +02:00 
						 
				 
			
				
					
						
							
							
								Julie Rymer 
							
						 
					 
					
						
						
							
						
						0ec60661e6 
					 
					
						
						
							
							Fixed   #34539  -- Restored get_prep_value() call when adapting JSONFields.  
						
						... 
						
						
						
						Regression in 5c23d9f0c3 
						
						
					 
					
						2023-05-16 08:26:41 +02:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
							
						
						09ffc5c121 
					 
					
						
						
							
							Fixed   #33308  -- Added support for psycopg version 3.  
						
						... 
						
						
						
						Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews.
Co-authored-by: Florian Apolloner <florian@apolloner.eu >
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2022-12-15 06:17:57 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						0ff46591ac 
					 
					
						
						
							
							Refs  #33308  -- Deprecated support for passing encoded JSON string literals to JSONField & co.  
						
						... 
						
						
						
						JSON should be provided as literal Python objects an not in their
encoded string literal forms. 
						
						
					 
					
						2022-12-01 19:14:00 +01:00 
						 
				 
			
				
					
						
							
							
								Gregor Gärtner 
							
						 
					 
					
						
						
							
						
						f0c06f8ab7 
					 
					
						
						
							
							Refs  #33990  -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().  
						
						... 
						
						
						
						Co-Authored-By: Michael Howitz <mh@gocept.com > 
						
						
					 
					
						2022-10-08 08:07:38 +02:00 
						 
				 
			
				
					
						
							
							
								Allen Jonathan David 
							
						 
					 
					
						
						
							
						
						10178197d5 
					 
					
						
						
							
							Fixed   #33966  -- Added support for using KeyTextTransform from lookup.  
						
						
						
						
					 
					
						2022-09-16 05:36:57 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						e9fd2b5724 
					 
					
						
						
							
							Refs  #26511  -- Fixed json.KeyTextTransform() on MySQL/MariaDB.  
						
						
						
						
					 
					
						2022-08-18 21:02:29 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						1760ad4e8c 
					 
					
						
						
							
							Relaxed some query ordering assertions in various tests.  
						
						... 
						
						
						
						It accounts for differences seen on MySQL with MyISAM storage engine. 
						
						
					 
					
						2022-04-14 12:12:13 +02:00 
						 
				 
			
				
					
						
							
							
								Himanshu-Balasamanta 
							
						 
					 
					
						
						
							
						
						06ebaa9e28 
					 
					
						
						
							
							Fixed   #33626  -- Cleared cache when unregistering a lookup.  
						
						
						
						
					 
					
						2022-04-12 06:24:02 +02:00 
						 
				 
			
				
					
						
							
							
								Sage Abdullah 
							
						 
					 
					
						
						
							
						
						a88fab1bca 
					 
					
						
						
							
							Fixed   #33552  -- Fixed JSONField has key lookups with numeric keys on MariaDB, MySQL, Oracle, and SQLite.  
						
						
						
						
					 
					
						2022-03-15 06:37:35 +01:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						9c19aff7c7 
					 
					
						
						
							
							Refs  #33476  -- Reformatted code with Black.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						c5cd878382 
					 
					
						
						
							
							Refs  #33476  -- Refactored problematic code before reformatting by Black.  
						
						... 
						
						
						
						In these cases Black produces unexpected results, e.g.
def make_random_password(
    self,
    length=10,
    allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789',
):
or
cursor.execute("""
SELECT ...
""",
    [table name],
) 
						
						
					 
					
						2022-02-03 11:20:46 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						71ec102b01 
					 
					
						
						
							
							Fixed   #32483  -- Fixed QuerySet.values()/values_list() on JSONField key transforms with booleans on SQLite.  
						
						... 
						
						
						
						Thanks Matthew Cornell for the report. 
						
						
					 
					
						2021-03-23 08:28:47 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						c4df8b86c7 
					 
					
						
						
							
							Refs  #32483  -- Added tests QuerySet.values()/values_list() on key transforms with structures containing booleans.  
						
						
						
						
					 
					
						2021-03-23 08:27:14 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						037607ff19 
					 
					
						
						
							
							Refs  #31936  -- Added tests for __in lookup on JSONField key transforms with booleans.  
						
						
						
						
					 
					
						2021-03-23 08:27:14 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						63d239db03 
					 
					
						
						
							
							Fixed   #32411  -- Fixed __icontains lookup for JSONField on MySQL.  
						
						
						
						
					 
					
						2021-02-05 16:14:12 +01:00 
						 
				 
			
				
					
						
							
							
								sage 
							
						 
					 
					
						
						
							
						
						8d7085e0fd 
					 
					
						
						
							
							Fixed   #32252  -- Fixed __isnull=True on key transforms on SQLite and Oracle.  
						
						... 
						
						
						
						__isnull=True on key transforms should not match keys with NULL values. 
						
						
					 
					
						2020-12-11 09:15:42 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						275dd4ebba 
					 
					
						
						
							
							Fixed   #32178  -- Allowed database backends to skip tests and mark expected failures.  
						
						... 
						
						
						
						Co-authored-by: Tim Graham <timograham@gmail.com > 
						
						
					 
					
						2020-12-10 18:00:57 +01:00 
						 
				 
			
				
					
						
							
							
								Ian Foote 
							
						 
					 
					
						
						
							
						
						8b040e3cbb 
					 
					
						
						
							
							Fixed   #25534 ,  Fixed   #31639  -- Added support for transform references in expressions.  
						
						... 
						
						
						
						Thanks Mariusz Felisiak and Simon Charette for reviews. 
						
						
					 
					
						2020-11-27 20:42:04 +01:00 
						 
				 
			
				
					
						
							
							
								sage 
							
						 
					 
					
						
						
							
						
						fe6e582421 
					 
					
						
						
							
							Fixed   #32203  -- Fixed QuerySet.values()/values_list() crash on key transforms with non-string values on SQLite.  
						
						... 
						
						
						
						Thanks Gordon Wrigley for the report. 
						
						
					 
					
						2020-11-25 14:51:35 +01:00 
						 
				 
			
				
					
						
							
							
								sage 
							
						 
					 
					
						
						
							
						
						7408c4cd15 
					 
					
						
						
							
							Refs  #32203  -- Added tests for QuerySet.values()/values_list() on key transforms with non-trivial values.  
						
						
						
						
					 
					
						2020-11-25 13:48:11 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						bec415b290 
					 
					
						
						
							
							Added test for filtering JSONField key transforms with quoted strings.  
						
						
						
						
					 
					
						2020-11-24 18:11:19 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						0773837e15 
					 
					
						
						
							
							Fixed   #32182  -- Fixed crash of JSONField nested key transforms with subquery annotations on PostgreSQL.  
						
						
						
						
					 
					
						2020-11-10 07:09:58 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						755dbf39fc 
					 
					
						
						
							
							Replaced @no_oracle skips with DatabaseFeatures.allows_group_by_lob.  
						
						
						
						
					 
					
						2020-10-22 18:16:58 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						bbd55e5863 
					 
					
						
						
							
							Refs  #32096  -- Fixed ExpressionWrapper crash with JSONField key transforms.  
						
						... 
						
						
						
						Regression in 6789ded0a6 
						
						
					 
					
						2020-10-14 20:56:04 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						7e1e198494 
					 
					
						
						
							
							Refs  #32096  -- Fixed __in lookup crash against key transforms for JSONField.  
						
						... 
						
						
						
						Regression in 6789ded0a61251772cb8 
						
						
					 
					
						2020-10-14 20:56:04 +02:00 
						 
				 
			
				
					
						
							
							
								jpribyl 
							
						 
					 
					
						
						
							
						
						94e2238107 
					 
					
						
						
							
							Refs  #31894  -- Added tests for JSONField key lookups with QuerySet.exclude().  
						
						
						
						
					 
					
						2020-09-04 09:04:24 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						0be51d2226 
					 
					
						
						
							
							Fixed   #31956  -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL.  
						
						... 
						
						
						
						Thanks Marc Debureaux for the report.
Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. 
						
						
					 
					
						2020-08-28 19:09:46 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						2210539142 
					 
					
						
						
							
							Refs  #31956  -- Added test for ordering by JSONField with a custom decoder.  
						
						
						
						
					 
					
						2020-08-28 19:09:41 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						1251772cb8 
					 
					
						
						
							
							Fixed   #31936  -- Fixed __in lookup on key transforms for JSONField.  
						
						... 
						
						
						
						This resolves an issue on databases without a native JSONField
(MariaDB, MySQL, SQLite, Oracle), where values must be wrapped.
Thanks Sébastien Pattyn for the report. 
						
						
					 
					
						2020-08-26 22:13:37 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						184a6eebb0 
					 
					
						
						
							
							Refs  #31829  -- Added DatabaseFeatures.json_key_contains_list_matching_requires_list.  
						
						... 
						
						
						
						CockroachDB's behavior matches PostgreSQL. 
						
						
					 
					
						2020-07-30 06:38:02 +02:00 
						 
				 
			
				
					
						
							
							
								sage 
							
						 
					 
					
						
						
							
						
						2d8dcba03a 
					 
					
						
						
							
							Fixed   #31829  -- Used JSONField __contains lookup on key transforms.  
						
						
						
						
					 
					
						2020-07-28 13:10:12 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						ba691933ce 
					 
					
						
						
							
							Fixed   #31836  -- Dropped support for JSONField __contains and __contained_by lookups on SQLite.  
						
						... 
						
						
						
						The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object". 
						
						
					 
					
						2020-07-28 13:06:52 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						02447fb133 
					 
					
						
						
							
							Fixed   #31835  -- Dropped support for JSONField __contains lookup on Oracle.  
						
						... 
						
						
						
						The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object". 
						
						
					 
					
						2020-07-28 11:54:01 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						47651eadb8 
					 
					
						
						
							
							Fixed   #30583  -- Fixed handling JSONFields in XML serializer.  
						
						... 
						
						
						
						Co-authored-by: Chason Chaffin <chason@gmail.com > 
						
						
					 
					
						2020-06-17 11:12:18 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						f59a2b7306 
					 
					
						
						
							
							Refs  #12990  -- Added DatabaseFeatures.has_json_operators.  
						
						... 
						
						
						
						CockroachDB also has them. 
						
						
					 
					
						2020-05-18 08:12:20 +02:00 
						 
				 
			
				
					
						
							
							
								sage 
							
						 
					 
					
						
						
							
						
						6789ded0a6 
					 
					
						
						
							
							Fixed   #12990 , Refs  #27694  -- Added JSONField model field.  
						
						... 
						
						
						
						Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael
Michel for mentoring this Google Summer of Code 2019 project and
everyone else who helped with the patch.
Special thanks to Mads Jensen, Nick Pope, and Simon Charette for
extensive reviews.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2020-05-08 07:23:31 +02:00