summaryrefslogtreecommitdiff
path: root/docs/releases
AgeCommit message (Collapse)Author
2024-02-08Fixed #35172 -- Fixed intcomma for string floats.Mariusz Felisiak
Thanks Warwick Brown for the report. Regression in 55519d6cf8998fe4c8f5c8abffc2b10a7c3d14e9.
2024-02-07Fixed #30686 -- Used Python HTMLParser in utils.text.Truncator.David Smith
2024-02-06Added CVE-2024-24680 to security archive.Natalia
2024-02-06Added stub release notes for 5.0.3.Natalia
2024-02-06Fixed CVE-2024-24680 -- Mitigated potential DoS in intcomma template filter.Adam Johnson
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-05Fixed #10743 -- Allowed lookups for related fields in ModelAdmin.list_display.Tom Carrick
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-05Replaced "Django test runner" with DiscoverRunner in release notes.Tim Graham
Removed mention of options supported only by runtests.py.
2024-02-04Fixed #35149 -- Fixed crashes of db_default with unresolvable output field.Simon Charette
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-03Fixed #35162 -- Fixed crash when adding fields with db_default on MySQL.Simon Charette
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 7414704e88d73dafbcfbb85f9bc54cb6111439d3.
2024-02-01Fixed #35147 -- Added backward incompatibility note about filtering against ↵Petar Netev
overflowing integers.
2024-01-31Fixed #35059 -- Ensured that ASGIHandler always sends the request_finished ↵James Thorniley
signal. Prior to this work, when async tasks that process the request are cancelled due to receiving an early "http.disconnect" ASGI message, the request_finished signal was not being sent, potentially leading to resource leaks (such as database connections). This branch ensures that the request_finished signal is sent even in the case of early termination of the response. Regression in 64cea1e48f285ea2162c669208d95188b32bbc82. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2024-01-31Fixed #35159 -- Fixed dumpdata crash when base querysets use prefetch_related().Mariusz Felisiak
Regression in 139135627650ed6aaaf4c755b82c3bd43f2b8f51 following deprecation in edbf930287cb72e9afab1f7208c24b1146b0c4ec. Thanks Andrea F for the report.
2024-01-31Refs #35058 -- Added support for measured geometries to GDAL Polygon.David Smith
2024-01-31Fixed #35143 -- Improved accessibility of 404/500 debug pages.Marijke Luttekes
This: - changes the header, main, and footer content areas to be rendered in a <header>, <main>, and <footer> tags, - adds scope attributes to <th>, - uses <code> for a patterns list, - uses <small> instead of <span>.
2024-01-30Fixed #29280 -- Made the transactions behavior configurable on SQLite.Anže Pečar
2024-01-29Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.Nicolas Delaby
Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
2024-01-29Added stub release notes and release date for 5.0.2, 4.2.10, and 3.2.24.Natalia
2024-01-29Refs #35058 -- Added support for measured geometries to GDAL LineString.David Smith
2024-01-29Updated translations from Transifex.Claude Paroz
Forwardport of 3cc35aafabb1523c39332ee83e769b085ed3d923 from stable/5.0.x.
2024-01-28Refs #35058 -- Made centroid available on all geometry types.David Smith
Centroid is available on all geometry types since GDAL 1.8.0. Previously it was restricted to Polygon. https://gdal.org/doxygen/classOGRGeometry.html#a91787f669b2a148169667e270e7e40df
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2024-01-25Refs #35058 -- Added support for measured geometries to GDAL Point.David Smith
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-01-24Fixed #35115 -- Made admin's footer render in <footer> tag.Marijke Luttekes
2024-01-23Refs #35058 -- Deprecated OGRGeometry.coord_dim setter.David Smith
Reflecting a change in the underlying GDAL library (since GDAL 2.1) using coord_dim to set a geometries dimensions is deprecated in favor of set_3d().
2024-01-19Fixed #35127 -- Made Model.full_clean() ignore GeneratedFields.Mariusz Felisiak
Thanks Claude Paroz for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
2024-01-18Fixed #35121 -- Corrected color for links in the admin.Salvo Polizzi
Thanks Collin Anderson for the report. Regression in 6ad2738a8f32b94cbae742f212080fadf2dee421.
2024-01-18Refs #35058 -- Added is_3d and set_3d() to OGRGeometry.David Smith
2024-01-17Fixed #31700 -- Made makemigrations command display meaningful symbols for ↵Amir Karimi
each operation.
2024-01-16Fixed #35117 -- Added support for the hectare unit in Area.Alexis Athlani
2024-01-15Fixed #28344 -- Allowed customizing queryset in ↵Aivars Kalvans
Model.refresh_from_db()/arefresh_from_db(). The from_queryset parameter can be used to: - use a custom Manager - lock the row until the end of transaction - select additional related objects
2024-01-11Fixed #35100 -- Reworked GeoIP2 database initialization.Nick Pope
2024-01-10Fixed #35092 -- Exposed extra fields for GeoIP2.country() and GeoIP2.city() ↵Nick Pope
responses.
2024-01-08Fixed #35087 -- Reallowed filtering against foreign keys not listed in ↵Sarah Boyce
ModelAdmin.list_filters. Regression in f80669d2f5a5f1db9e9b73ca893fefba34f955e7.
2024-01-07Fixed #35091 -- Allowed GeoIP2 querying using IPv4Address/IPv6Address.Nick Pope
2024-01-06Fixed #35088 -- Added support for Collect on MySQL 8.0.24+.Nick Pope
2024-01-05Fixed #35086 -- Added support for BoundedCircle on Spatialite 5.1+.David Smith
Spatialite 5.1 added support for BoundingCircle (GEOSMinimumBoundingCircle). GEOS 3.7 is required which is lower than Django's currently supported minmum of 3.8. https://groups.google.com/g/spatialite-users/c/hAJ2SgitN4M https://www.gaia-gis.it/gaia-sins/spatialite-sql-5.1.0.html
2024-01-03Fixed #33277 -- Disallowed database connections in threads in SimpleTestCase.David Wobrock
2024-01-02Fixed #35075 -- Added deduplicate_items parameter to BTreeIndex.Nick Pope
2024-01-02Added stub release notes for 5.0.2.Mariusz Felisiak
2024-01-02Added release date for 5.0.1 and 4.2.9.Mariusz Felisiak
2024-01-02Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave().Salvo Polizzi
2023-12-30Fixed #29049 -- Added slicing notation to F expressions.Nick Pope
Co-authored-by: Priyansh Saxena <askpriyansh@gmail.com> Co-authored-by: Niclas Olofsson <n@niclasolofsson.se> Co-authored-by: David Smith <smithdc@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Abhinav Yadav <abhinav.sny.2002@gmail.com>
2023-12-27Fixed #35056 -- Fixed system check crash on reverse m2m relations with ↵Mariusz Felisiak
related_name in ModelAdmin.filter_horizontal/vertical. Thanks Thomas Feldmann for the report. Regression in 107865780aa44914e21d27fdf4ca269bc61c7f01.
2023-12-23Fixed #35050 -- Fixed prefixing field names in FilteredRelation().David Wobrock
Thanks Mark Zorn for the report. Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
2023-12-22Fixed #35054 -- Fixed crash on Oracle when fetching JSONFields with oracledb ↵Mariusz Felisiak
2.0.0.
2023-12-22Fixed #34658 -- Added SimpleTestCase.assertNotInHTML().Nicolas Lupien
2023-12-20Fixed #35049 -- Dropped support for GDAL 2.4.David Smith
2023-12-20Fixed #35048 -- Dropped support for PROJ 5.x.David Smith
2023-12-14Fixed #35032 -- Corrected Char32UUIDField implementation in 5.0 release notes.Emanuel Andrecut
This fixes Char32UUIDField implementation in 5.0 release notes causing records with UUIDFields created using pre-Django 5.0 and CHAR(32) not being able to be saved anymore after upgrading and keeping the CHAR(32) columns. Regression in 7cd187a5ba58d7769039f487faeb9a5a2ff05540.
2023-12-13Fixed #35012 -- Restored wrapping admin fieldsets with multiple fields per line.Tom Carrick
Thanks James Gillard for the report. Regression in 729266c6f29c7a0677b24926a86a767ef3078b26.