Simon Charette 
							
						 
					 
					
						
						
							
						
						602fe961e6 
					 
					
						
						
							
							Fixed   #35665  -- Fixed a crash when passing an empty order_by to Window.  
						
						... 
						
						
						
						This also caused un-ordered sliced prefetches to crash as they rely on Window.
Regression in e16d0c176e#35064 .
Thanks Andrew Backer for the report and Mariusz for the review. 
						
						
					 
					
						2024-08-13 11:26:17 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						6f0a4c1f3f 
					 
					
						
						
							
							Refs  #35648  -- Corrected release notes for SafeString.__add__() changes.  
						
						
						
						
					 
					
						2024-08-12 15:56:00 -03:00 
						 
				 
			
				
					
						
							
							
								Matthias Kestenholz 
							
						 
					 
					
						
						
							
						
						d84200e4eb 
					 
					
						
						
							
							Fixed   #35648  -- Raised NotImplementedError in SafeString.__add__ for non-string RHS.  
						
						... 
						
						
						
						This change ensures SafeString addition operations handle non-string RHS
properly, allowing them to implement __radd__ for better compatibility. 
						
						
					 
					
						2024-08-12 14:25:05 -03:00 
						 
				 
			
				
					
						
							
							
								Devin Cox 
							
						 
					 
					
						
						
							
						
						e03083917d 
					 
					
						
						
							
							Fixed   #35586  -- Added support for set-returning database functions.  
						
						... 
						
						
						
						Aggregation optimization didn't account for not referenced set-returning annotations on Postgres.
Co-authored-by: Simon Charette <charette.s@gmail.com > 
						
						
					 
					
						2024-08-12 15:35:19 +02:00 
						 
				 
			
				
					
						
							
							
								Mark Gensler 
							
						 
					 
					
						
						
							
						
						228128618b 
					 
					
						
						
							
							Fixed   #35575  -- Added support for constraint validation on GeneratedFields.  
						
						
						
						
					 
					
						2024-08-12 13:45:57 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Miller 
							
						 
					 
					
						
						
							
						
						69aa13ffb9 
					 
					
						
						
							
							Fixed   #35591  -- Added unsuitable for production console warning to runserver.  
						
						
						
						
					 
					
						2024-08-09 10:34:10 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						9582745257 
					 
					
						
						
							
							Fixed   #35622  -- Made unittest ignore Django assertions in traceback frames.  
						
						... 
						
						
						
						Co-authored-by: Natalia <124304+nessita@users.noreply.github.com > 
						
						
					 
					
						2024-08-08 21:34:01 -03:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						49815f70e4 
					 
					
						
						
							
							Refs  #31405  -- Improved LoginRequiredMiddleware documentation.  
						
						... 
						
						
						
						co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com > 
						
						
					 
					
						2024-08-08 10:05:31 +02:00 
						 
				 
			
				
					
						
							
							
								Natalia 
							
						 
					 
					
						
						
							
						
						790f0f8868 
					 
					
						
						
							
							Added stub release notes for 5.1.1.  
						
						
						
						
					 
					
						2024-08-07 10:38:36 -03:00 
						 
				 
			
				
					
						
							
							
								Natalia 
							
						 
					 
					
						
						
							
						
						8ad6dc636b 
					 
					
						
						
							
							Finalized release notes for Django 5.1.  
						
						
						
						
					 
					
						2024-08-07 10:04:18 -03:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						fdc638bf4a 
					 
					
						
						
							
							Added CVE-2024-41989, CVE-2024-41990, CVE-2024-41991, and CVE-2024-42005 to security archive.  
						
						
						
						
					 
					
						2024-08-06 17:22:46 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						c87bfaacf8 
					 
					
						
						
							
							Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL injection attacks against JSON fields.  
						
						... 
						
						
						
						Thanks Eyal (eyalgabay) for the report. 
						
						
					 
					
						2024-08-06 08:50:08 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						5f1757142f 
					 
					
						
						
							
							Fixed CVE-2024-41991 -- Prevented potential ReDoS in django.utils.html.urlize() and AdminURLFieldWidget.  
						
						... 
						
						
						
						Thanks Seokchan Yoon for the report.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com > 
						
						
					 
					
						2024-08-06 08:50:08 +02:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						ecf1f8fb90 
					 
					
						
						
							
							Fixed CVE-2024-41990 -- Mitigated potential DoS in urlize and urlizetrunc template filters.  
						
						... 
						
						
						
						Thanks to MProgrammer for the report. 
						
						
					 
					
						2024-08-06 08:50:08 +02:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						c19465ad87 
					 
					
						
						
							
							Fixed CVE-2024-41989 -- Prevented excessive memory consumption in floatformat.  
						
						... 
						
						
						
						Thanks Elias Myllymäki for the report.
Co-authored-by: Shai Berger <shai@platonix.com > 
						
						
					 
					
						2024-08-06 08:50:08 +02:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						8deb6bb1fc 
					 
					
						
						
							
							Fixed   #35657  -- Made FileField handle db_default values.  
						
						
						
						
					 
					
						2024-08-05 16:36:49 -03:00 
						 
				 
			
				
					
						
							
							
								David Sanders 
							
						 
					 
					
						
						
							
						
						509763c799 
					 
					
						
						
							
							Fixed   #35638  -- Updated validate_constraints to consider db_default.  
						
						
						
						
					 
					
						2024-08-05 17:33:12 +02:00 
						 
				 
			
				
					
						
							
							
								John Parton 
							
						 
					 
					
						
						
							
						
						7f8d839722 
					 
					
						
						
							
							Fixed   #35628  -- Allowed compatible GeneratedFields for ModelAdmin.date_hierarchy.  
						
						
						
						
					 
					
						2024-08-05 15:27:20 +02:00 
						 
				 
			
				
					
						
							
							
								Jake Howard 
							
						 
					 
					
						
						
							
						
						d5bebc1c26 
					 
					
						
						
							
							Refs  #35537  -- Improved documentation and test coverage for email attachments and alternatives.  
						
						
						
						
					 
					
						2024-08-05 09:21:44 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						6d3464cff0 
					 
					
						
						
							
							Refs  #35601 , Refs  #35599  -- Made cosmetic edits to TelInput/ColorInput docs.  
						
						
						
						
					 
					
						2024-08-02 17:40:53 -03:00 
						 
				 
			
				
					
						
							
							
								lucasesposito 
							
						 
					 
					
						
						
							
						
						b478cae006 
					 
					
						
						
							
							Fixed   #35601  -- Added TelInput widget.  
						
						
						
						
					 
					
						2024-08-02 11:31:54 +02:00 
						 
				 
			
				
					
						
							
							
								arjunomray 
							
						 
					 
					
						
						
							
						
						946c3cf734 
					 
					
						
						
							
							Fixed   #35599  -- Added ColorInput widget.  
						
						
						
						
					 
					
						2024-08-02 09:51:49 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						aa90795050 
					 
					
						
						
							
							Fixed   #35646  -- Extended SafeExceptionReporterFilter.hidden_settings to treat AUTH as a sensitive match.  
						
						... 
						
						
						
						Co-authored-by: Natalia <124304+nessita@users.noreply.github.com > 
						
						
					 
					
						2024-08-01 15:02:00 -03:00 
						 
				 
			
				
					
						
							
							
								Jeremy Thompson 
							
						 
					 
					
						
						
							
						
						30a60e8492 
					 
					
						
						
							
							Fixed   #35598  -- Added SearchInput widget.  
						
						
						
						
					 
					
						2024-07-31 13:11:45 +02:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						3f88089069 
					 
					
						
						
							
							Added stub release notes and release date for 5.0.8 and 4.2.15.  
						
						
						
						
					 
					
						2024-07-31 11:21:32 +02:00 
						 
				 
			
				
					
						
							
							
								Lorenzo Peña 
							
						 
					 
					
						
						
							
						
						0e94f292cd 
					 
					
						
						
							
							Fixed   #35627  -- Raised a LookupError rather than an unhandled ValueError in get_supported_language_variant().  
						
						... 
						
						
						
						LocaleMiddleware didn't handle the ValueError raised by
get_supported_language_variant() when language codes were
over 500 characters.
Regression in 9e9792228a 
						
						
					 
					
						2024-07-25 09:38:46 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						f359990e49 
					 
					
						
						
							
							Fixed   #35625  -- Fixed a crash when adding a field with db_default and check constraint.  
						
						... 
						
						
						
						This is the exact same issue as refs #30408  but for creating a model with a
constraint containing % escapes instead of column addition. All of these issues
stem from a lack of SQL and parameters separation from the BaseConstraint DDL
generating methods preventing them from being mixed with other parts of the
schema alteration logic that do make use of parametrization on some backends
(e.g. Postgres, MySQL for DEFAULT).
Prior to the addition of Field.db_default and GeneratedField in 5.0
parametrization of DDL was never exercised on model creation so this is
effectively a bug with db_default as the GeneratedField case was addressed by
refs #35336 .
Thanks Julien Chaumont for the report and Mariusz Felisiak for the review. 
						
						
					 
					
						2024-07-25 07:48:53 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						df35cf578f 
					 
					
						
						
							
							Updated asgiref dependency for 5.1 release series.  
						
						
						
						
					 
					
						2024-07-24 08:21:07 +02:00 
						 
				 
			
				
					
						
							
							
								Hisham Mahmood 
							
						 
					 
					
						
						
							
						
						182f262b15 
					 
					
						
						
							
							Fixed   #35606 , Refs  #34045  -- Fixed rendering of ModelAdmin.action_checkbox for models with a __html__ method.  
						
						... 
						
						
						
						Thank you Claude Paroz for the report.
Regression in 85366fbca7 
						
						
					 
					
						2024-07-18 08:09:37 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						adc0b6aac3 
					 
					
						
						
							
							Fixed   #35594  -- Added unique nulls distinct validation for expressions.  
						
						... 
						
						
						
						Thanks Mark Gensler for the report. 
						
						
					 
					
						2024-07-17 12:52:17 +02:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						27043bde5b 
					 
					
						
						
							
							Refs  #10941  -- Renamed query_string template tag to querystring.  
						
						
						
						
					 
					
						2024-07-15 13:28:55 -03:00 
						 
				 
			
				
					
						
							
							
								Natalia 
							
						 
					 
					
						
						
							
						
						e095c7612d 
					 
					
						
						
							
							Added CVE-2024-38875, CVE-2024-39329, CVE-2024-39330, and CVE-2024-39614 to security archive.  
						
						
						
						
					 
					
						2024-07-09 11:58:27 -03:00 
						 
				 
			
				
					
						
							
							
								Natalia 
							
						 
					 
					
						
						
							
						
						9c356144d7 
					 
					
						
						
							
							Added stub release notes for 5.0.8.  
						
						
						
						
					 
					
						2024-07-09 11:41:28 -03:00 
						 
				 
			
				
					
						
							
							
								Natalia 
							
						 
					 
					
						
						
							
						
						1062bf7302 
					 
					
						
						
							
							Made cosmetic edits to 5.0.7 release notes.  
						
						
						
						
					 
					
						2024-07-09 09:36:54 -03:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						9e9792228a 
					 
					
						
						
							
							Fixed CVE-2024-39614 -- Mitigated potential DoS in get_supported_language_variant().  
						
						... 
						
						
						
						Language codes are now parsed with a maximum length limit of 500 chars.
Thanks to MProgrammer for the report. 
						
						
					 
					
						2024-07-09 09:21:19 -03:00 
						 
				 
			
				
					
						
							
							
								Natalia 
							
						 
					 
					
						
						
							
						
						fe4a0bbe20 
					 
					
						
						
							
							Fixed CVE-2024-39330 -- Added extra file name validation in Storage's save method.  
						
						... 
						
						
						
						Thanks to Josh Schneier for the report, and to Carlton Gibson and Sarah
Boyce for the reviews. 
						
						
					 
					
						2024-07-09 09:21:19 -03:00 
						 
				 
			
				
					
						
							
							
								Michael Manfre 
							
						 
					 
					
						
						
							
						
						5d86458579 
					 
					
						
						
							
							Fixed CVE-2024-39329 -- Standarized timing of verify_password() when checking unusuable passwords.  
						
						... 
						
						
						
						Refs #20760 .
Thanks Michael Manfre for the fix and to Adam Johnson for the review. 
						
						
					 
					
						2024-07-09 09:21:19 -03:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						d666457453 
					 
					
						
						
							
							Fixed CVE-2024-38875 -- Mitigated potential DoS in urlize and urlizetrunc template filters.  
						
						... 
						
						
						
						Thank you to Elias Myllymäki for the report.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com > 
						
						
					 
					
						2024-07-09 09:21:19 -03:00 
						 
				 
			
				
					
						
							
							
								Mark Gensler 
							
						 
					 
					
						
						
							
						
						1005c2abd1 
					 
					
						
						
							
							Fixed   #35560  -- Made Model.full_clean() ignore GeneratedFields for constraints.  
						
						... 
						
						
						
						Accessing generated field values on unsaved models caused a crash when
validating CheckConstraints and UniqueConstraints with expressions. 
						
						
					 
					
						2024-07-04 11:45:15 +02:00 
						 
				 
			
				
					
						
							
							
								Natalia 
							
						 
					 
					
						
						
							
						
						89557d4c66 
					 
					
						
						
							
							Added stub release notes and release date for 5.0.7 and 4.2.14.  
						
						
						
						
					 
					
						2024-07-03 14:09:34 -03:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						65ad4ade74 
					 
					
						
						
							
							Refs  #28900  -- Made SELECT respect the order specified by values(*selected).  
						
						... 
						
						
						
						Previously the order was always extra_fields + model_fields + annotations with
respective local ordering inferred from the insertion order of *selected.
This commits introduces a new `Query.selected` propery that keeps tracks of the
global select order as specified by on values assignment. This is crucial
feature to allow the combination of queries mixing annotations and table
references.
It also allows the removal of the re-ordering shenanigans perform by
ValuesListIterable in order to re-map the tuples returned from the database
backend to the order specified by values_list() as they'll be in the right
order at query compilation time.
Refs #28553  as the initially reported issue that was only partially fixed
for annotations by d6b6e5d0fd 
						
						
					 
					
						2024-07-03 16:36:25 +02:00 
						 
				 
			
				
					
						
							
							
								Andreu Vallbona 
							
						 
					 
					
						
						
							
						
						0fdcf1029c 
					 
					
						
						
							
							Fixed   #22712  -- Avoided name shadowing of "all" in django.contrib.staticfiles.finders.  
						
						... 
						
						
						
						Co-authored-by: Natalia <124304+nessita@users.noreply.github.com > 
						
						
					 
					
						2024-06-27 23:37:12 -03:00 
						 
				 
			
				
					
						
							
							
								Ronny Vedrilla 
							
						 
					 
					
						
						
							
						
						5fef6d2445 
					 
					
						
						
							
							Fixed   #35528  -- Added EmailMultiAlternatives.body_contains() helper method.  
						
						
						
						
					 
					
						2024-06-21 12:00:56 +02:00 
						 
				 
			
				
					
						
							
							
								Jake Howard 
							
						 
					 
					
						
						
							
						
						aba0e541ca 
					 
					
						
						
							
							Fixed   #35537  -- Changed EmailMessage.attachments and EmailMultiAlternatives.alternatives to use namedtuples.  
						
						... 
						
						
						
						This makes it more descriptive to pull out the named fields. 
						
						
					 
					
						2024-06-20 09:43:40 +02:00 
						 
				 
			
				
					
						
							
							
								Baptiste Mispelon 
							
						 
					 
					
						
						
							
						
						62300b81cf 
					 
					
						
						
							
							Fixed   #12978  -- Added support for RSS feed stylesheets.  
						
						
						
						
					 
					
						2024-06-18 17:25:43 +02:00 
						 
				 
			
				
					
						
							
							
								stefan.ivic 
							
						 
					 
					
						
						
							
						
						ce1ad98565 
					 
					
						
						
							
							Fixed   #35505  -- Added extrabody block to admin/base.html.  
						
						
						
						
					 
					
						2024-06-18 16:49:53 +02:00 
						 
				 
			
				
					
						
							
							
								Natalia 
							
						 
					 
					
						
						
							
						
						adae619426 
					 
					
						
						
							
							Updated release date for Django 5.0.7.  
						
						
						
						
					 
					
						2024-05-31 10:45:30 -03:00 
						 
				 
			
				
					
						
							
							
								samruddhiDharankar 
							
						 
					 
					
						
						
							
						
						02dab94c7b 
					 
					
						
						
							
							Fixed   #35473  -- Fixed CVE number in security archive.  
						
						... 
						
						
						
						Updated to CVE-2009-3695 from CVE-2009-3965. 
						
						
					 
					
						2024-05-29 09:26:07 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						b049bec7cf 
					 
					
						
						
							
							Fixed   #35479  -- Dropped support for PostgreSQL 13 and PostGIS 3.0.  
						
						
						
						
					 
					
						2024-05-27 09:49:25 +02:00 
						 
				 
			
				
					
						
							
							
								Natalia 
							
						 
					 
					
						
						
							
						
						04a208d7f1 
					 
					
						
						
							
							Increased the default PBKDF2 iterations for Django 5.2.  
						
						
						
						
					 
					
						2024-05-22 15:44:07 -03:00