DevilsAutumn
9aeb38c296
Fixed #35359 -- Fixed migration operations ordering when adding fields referenced by GeneratedField.expression.
...
Thank you to Simon Charette for the review.
2024-05-02 21:43:13 -03:00
Mariusz Felisiak
9d5c02446e
Refs #29280 -- Moved release note about transaction_mode to "Database backends" section.
2024-05-02 09:19:34 +02:00
Mariusz Felisiak
85c154da2f
Fixed #35412 -- Dropped support for SQLite < 3.31.
2024-04-29 11:07:54 +02:00
James Ostrander
36b7024b7f
Fixed #35392 , Refs #34331 -- Allowed importing aprefetch_related_objects from django.db.models.
...
Thanks James Ostrander for the report and fix, and to Tim Graham and
Mariusz Felisiak for the reviews.
2024-04-22 17:05:05 -03:00
Sarah Boyce
45f530ffc4
Reverted release notes for bdd76c4c38
.
2024-04-19 14:04:38 +02:00
Adam Johnson
bdd76c4c38
Fixed #34994 , Fixed #35386 -- Applied checkbox-row CSS class unconditionally in Admin.
2024-04-19 11:20:01 +02:00
Simon Charette
d048f0d311
Fixed #35373 -- Fixed a crash when indexing a generated field on SQLite.
...
Generated fields have to be excluded from the INSERT query against the remade
table including the index.
Thanks Moshe Dicker for the report, David Sanders and Mariusz Felisiak for the
review.
2024-04-16 17:27:38 +02:00
Natalia
cd823778e6
Refs #35361 -- Clarified release notes for 4.2.12 and 5.0.5.
2024-04-12 14:40:14 +02:00
Natalia
42435fc55c
Fixed #35361 -- Added release notes for 4.2.12 and 5.0.5 for backport of b231bcd19e
.
2024-04-10 17:56:55 +02:00
Sarah Boyce
8b53560eea
Fixed #35350 -- Fixed save() with pk set on models with GeneratedFields.
...
Thanks Matt Hegarty for the report and Simon Charette and Natalia Bidart for the reviews.
Regression in f333e35
.
2024-04-10 15:43:50 +02:00
Natalia
4636baec17
Added stub release notes for 5.0.5.
2024-04-03 12:21:28 -03:00
Natalia
81da153e5f
Added release date for 5.0.4.
2024-04-03 11:12:03 -03:00
Simon Charette
888b9042b3
Fixed #35336 -- Addressed crash when adding a GeneratedField with % literals.
...
A longer term solution is likely to have a better separation of parametrized
DDL altogether to handle checks, constraints, defaults, and generated fields
but such a change would require a significant refactor that isn't suitable
for a backport.
Thanks Adrian Garcia for the report.
2024-04-02 17:33:31 -03:00
Johannes Westphal
5f18021640
Fixed #35344 , Refs #34838 -- Corrected output_field of resolved columns for GeneratedFields in aliased tables.
...
Thanks Simon Charette for the review.
2024-04-01 18:54:38 +01:00
Fabian Braun
944745afe2
Fixed #34977 -- Improved accessibility in the UserChangeForm by replacing the reset password link with a button.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-03-27 16:40:41 -03:00
Giannis Terzopoulos
d658a3162f
Fixed #35233 -- Moved template engine system checks to backend methods.
...
Thanks Adam Johnson for reviews.
2024-03-27 08:14:54 +01:00
Mariusz Felisiak
b98271a6e4
Fixed #35329 -- Fixed migrations crash when adding partial unique constraints with nulls_distinct.
...
Bug in 595a2abb58
.
Thanks Lucas Lemke Saunitti for the report.
2024-03-26 22:58:47 +01:00
Claude Paroz
10b31eea33
Refs #31014 -- Added srid argument to FromWKB/FromWKT() GIS functions.
2024-03-18 09:45:33 +01:00
Johannes Maron
e69019555d
Fixed #35273 -- Fixed rendering AdminFileWidget's attributes.
...
Regression in 8a6c0203c4
.
2024-03-14 14:03:09 +01:00
Jon Janzen
f5c340684b
Fixed #34901 -- Added async-compatible interface to session engines.
...
Thanks Andrew-Chen-Wang for the initial implementation which was posted
to the Django forum thread about asyncifying contrib modules.
2024-03-13 17:55:15 +01:00
Ben Cail
1570ef02f3
Fixed #35223 -- Made Model.full_clean() ignore fields with db_default when validating empty values.
...
Thanks Brian Ibbotson for the report.
Regression in 7414704e88
.
2024-03-08 05:55:25 +01:00
Dingning
549320946d
Fixed #35030 -- Made django.contrib.auth decorators to work with async functions.
2024-03-07 09:59:33 +01:00
Mariusz Felisiak
177e649396
Fixed broken links and redirects in docs.
2024-03-06 08:50:21 +01:00
Adam Johnson
eff21d8e7a
Fixed #35252 -- Optimized _route_to_regex().
...
co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-03-05 13:09:10 +01:00
Mariusz Felisiak
337e37f3bb
Added stub release notes for 5.0.4.
2024-03-04 10:29:33 +01:00
Mariusz Felisiak
da39ae4b5f
Added CVE-2024-27351 to security archive.
2024-03-04 10:10:35 +01:00
Shai Berger
f6ad8c7676
Refs CVE-2024-27351 -- Forwardported release notes and tests.
...
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-03-04 08:22:00 +01:00
Sarah Boyce
fad334e1a9
Refs #33497 -- Added connection pool support for PostgreSQL.
...
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
Co-authored-by: Ran Benita <ran@unusedvar.com>
2024-03-01 09:01:18 +01:00
Simon Charette
daf7d482db
Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.
...
Once the deprecation period ends CheckConstraint.check() can become the
documented method that performs system checks for BaseConstraint
subclasses.
2024-03-01 07:15:32 +01:00
Shafiya Adzhani
a738281265
Fixed #35198 -- Fixed facet filters crash on querysets with no primary key.
...
Thanks Simon Alef for the report.
Regression in 868e2fcdda
.
2024-02-29 10:01:18 +01:00
Mariusz Felisiak
977d254169
Added release date for 5.0.3, 4.2.11, and 3.2.25.
2024-02-26 08:21:36 +01:00
Salvo Polizzi
6e1ece7ed5
Fixed #35090 -- Deprecated registering URL converters with the same name.
2024-02-23 15:54:49 +01:00
Sulabh Katila
eceb5e2eea
Fixed #34806 -- Made cached_db session backend resilient to cache write errors.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-02-21 21:51:58 -03:00
AlexCLeduc
a084c5d35a
Fixed #35238 -- Fixed database serialization crash when base managers use prefetch_related().
...
Regression in 1391356276
following deprecation in eedbf930287cb72e9afab1f7208c24b1146b0c4ec.
2024-02-20 22:14:17 +01:00
Fabian Braun
e626716c28
Fixed #34429 -- Allowed setting unusable passwords for users in the auth forms.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-02-20 12:13:32 -03:00
Mariusz Felisiak
d1be05b3e9
Fixed #35187 -- Fixed @sensitive_variables/sensitive_post_parameters decorators crash with .pyc-only builds.
...
Thanks Jon Janzen for the implementation idea.
Thanks Marcus Hoffmann for the report.
Regression in 38e391e95f
.
2024-02-17 08:15:59 +01:00
Aaron Linville
7a05b8a2fa
Fixed #24018 -- Allowed setting pragma options on SQLite.
2024-02-16 12:59:19 +01:00
Hisham Mahmood
8db593de05
Fixed #35173 -- Fixed ModelAdmin.lookup_allowed() for lookups on foreign keys when not included in ModelAdmin.list_filter.
...
Regression in f80669d2f5
.
Thanks Sarah Boyce for the review.
2024-02-14 22:29:49 -03:00
David Smith
222bf2932b
Refs #35058 -- Added support for measured geometries to GDAL GeometryCollection and subclasses.
2024-02-12 15:21:11 +01:00
Vašek Dohnal
1b5338d03e
Fixed #35174 -- Fixed Signal.asend()/asend_robust() crash when all receivers are asynchronous.
...
Regression in e83a88566a
.
2024-02-08 11:36:28 +01:00
Mariusz Felisiak
2f14c2cedc
Fixed #35172 -- Fixed intcomma for string floats.
...
Thanks Warwick Brown for the report.
Regression in 55519d6cf8
.
2024-02-08 10:58:54 +01:00
David Smith
6ee37ada32
Fixed #30686 -- Used Python HTMLParser in utils.text.Truncator.
2024-02-07 09:46:25 +01:00
Natalia
c650c1412d
Added CVE-2024-24680 to security archive.
2024-02-06 12:14:12 -03:00
Natalia
f61bc03197
Added stub release notes for 5.0.3.
2024-02-06 12:05:05 -03:00
Adam Johnson
55519d6cf8
Fixed CVE-2024-24680 -- Mitigated potential DoS in intcomma template filter.
...
Thanks Seokchan Yoon for the report.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Shai Berger <shai@platonix.com>
2024-02-06 09:07:31 -03:00
Tom Carrick
4ade8386eb
Fixed #10743 -- Allowed lookups for related fields in ModelAdmin.list_display.
...
Co-authored-by: Alex Garcia <me@alexoteiza.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Nina Menezes <https://github.com/nmenezes0 >
2024-02-05 21:42:04 -03:00
Tim Graham
d70b79c6b9
Replaced "Django test runner" with DiscoverRunner in release notes.
...
Removed mention of options supported only by runtests.py.
2024-02-05 09:18:53 -03:00
Simon Charette
e67d7d70fa
Fixed #35149 -- Fixed crashes of db_default with unresolvable output field.
...
Field.db_default accepts either literal Python values or compilables
(as_sql) and wrap the former ones in Value internally.
While 1e38f11
added support for automatic resolving of output fields for
types such as str, int, float, and other unambigous ones it's cannot do
so for all types such as dict or even contrib.postgres and contrib.gis
primitives.
When a literal, non-compilable, value is provided it likely make the
most sense to bind its output field to the field its attached to avoid
forcing the user to provide an explicit `Value(output_field)`.
Thanks David Sanders for the report.
2024-02-04 09:39:41 +01:00
Simon Charette
dfc77637ea
Fixed #35162 -- Fixed crash when adding fields with db_default on MySQL.
...
MySQL doesn't allow literal DEFAULT values to be used for BLOB, TEXT,
GEOMETRY or JSON columns and requires expression to be used instead.
Regression in 7414704e88
.
2024-02-03 22:47:40 +01:00
Petar Netev
0630ca5725
Fixed #35147 -- Added backward incompatibility note about filtering against overflowing integers.
2024-02-01 18:34:43 +01:00