summaryrefslogtreecommitdiff
path: root/docs/releases/5.0.txt
AgeCommit message (Collapse)Author
2025-08-20Corrected release notes of calling format_html() without arguments.Mariusz Felisiak
2025-01-15Refs #34380 -- Changed the URLField default scheme to https and removed ↵Sarah Boyce
FORMS_URLFIELD_ASSUME_HTTPS per deprecation timeline.
2024-02-05Replaced "Django test runner" with DiscoverRunner in release notes.Tim Graham
Removed mention of options supported only by runtests.py.
2024-02-01Fixed #35147 -- Added backward incompatibility note about filtering against ↵Petar Netev
overflowing integers.
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
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-04 Finalized release notes for Django 5.0.Natalia
2023-11-28Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting.Mariusz Felisiak
This allows early adoption of the new default "https".
2023-11-25Refs #34380 -- Improved docs for forms.URLField.assume_scheme.Adam Johnson
2023-11-16Refs #32819 -- Used auto_id instead of id_for_label as unique identifier for ↵David Smith
the field. `id_for_label` is blank for widgets with multiple inputs such as radios and multiple checkboxes. Therefore , `help_text` for fields using these widgets cannot currently be associated using `aria-describedby`. `id_for_label` is being used as a guard to avoid incorrectly adding `aria-describedby` to those widgets. This change uses `auto_id` as the unique identified for the fields `help_text`. A guard is added to avoid incorrectly adding `aria-describedby` to inputs by checking the widget's `use_fieldset` attribute. Fields rendered in a `<fieldset>` should have `aria-describedby` added to the `<fieldset>` and not every `<input>`.
2023-11-14Fixed #34944 -- Made GeneratedField.output_field required.Mariusz Felisiak
Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
2023-09-20Refs #31300 -- Added example to GeneratedField release notes.Paolo Melchiorre
2023-09-19Fixed typo in docs/releases/5.0.txt.Mariusz Felisiak
2023-09-18Made cosmetic edits to docs/releases/5.0.txt.Natalia
2023-09-18Removed empty sections from 5.0 release notes.Natalia
2023-09-18Fixed #33651 -- Added support for prefetching GenericForeignKey.Clément Escolano
Co-authored-by: revanthgss <revanthgss@almabase.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-09-18Fixed #34560 -- Updated admin's jQuery to 3.7.1.Mariusz Felisiak
2023-09-16Fixed #31558 -- Added support for boolean attribute on properties in ↵Ryanwalker277
ModelAdmin.list_display.
2023-09-15Fixed #34832 -- Made admin's header content render in <header> tag.Sarah Abderemane
Header tag was changed to <header> get the landmark banner for accessibility.
2023-09-14Fixed #24561 -- Added support for callables on model fields' choices.Natalia
2023-09-14Fixed #34833 -- Made admin's main content render in <main> tag.Sarah Abderemane
2023-09-13Fixed #34822 -- Added support for serializing functions decorated with ↵Nick Pope
functools.lru_cache in migrations. `@functools.cache` and `@functools.lru_cache` return an object of type `functools._lru_cache_wrapper` which prevented the migrations serializer from working. Simply using the existing `FunctionTypeSerializer` for this additional type works as expected.
2023-09-13Refs #31949 -- Made make_middleware_decorator to work with async functions.Ben Lomax
2023-09-12Renamed ChoicesMeta to ChoicesType.Nick Pope
This also uses enum.EnumType for Python 3.11+ as Python 3.11 renamed EnumMeta to EnumType. While the former is still available as an alias of the latter for now, let's prefer the canonical name for this. Check out https://docs.python.org/3/library/enum.html#enum.EnumType
2023-09-11Fixed #34642 -- Added File.open() support for *args and **kwargs.Yves Weissig
2023-09-07Fixed #31300 -- Added GeneratedField model field.Jeremy Nauta
Thanks Adam Johnson and Paolo Melchiorre for reviews. Co-Authored-By: Lily Foote <code@lilyf.org> Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-09-05Fixed #34730 -- Added ↵François Freitag
django.contrib.messages.test.MessagesTestMixin.assertMessages().
2023-09-04Refs #34233 -- Bumped minimum supported version of docutils to 0.19.Jacob Walls
2023-09-01Fixed #34768 -- Avoided initializing colorama on non-Windows platforms.Sulabh Katila
2023-08-31Fixed #34210 -- Added unittest's durations option to the test runner.David Smith
2023-08-31Fixed #34547 -- Deprecated DatabaseOperations.field_cast_sql().David Smith
2023-08-30 Fixed #31262 -- Added support for mappings on model fields and ↵Nick Pope
ChoiceField's choices.
2023-08-30Fixed #34757 -- Added support for following redirects to AsyncClient.Olivier Tabone
2023-08-25Fixed #34709 -- Raised BadRequest for non-UTF-8 requests with the ↵Mariusz Felisiak
application/x-www-form-urlencoded content type. Thanks Eki Xu for the report.
2023-08-21Fixed #33143 -- Raised RuntimeWarning when performing import-time queries.Florian Zimmermann
2023-08-12Added Uyghur language.Azat
2023-08-10Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle.Jingbei Li
2023-08-09Refs #34233 -- Bumped required cx_Oracle to 8.3.Mariusz Felisiak
This bumps minimum supported versions of cx_Oracle to the first release to support Python 3.10.
2023-08-05Fixed #34739 -- Added GEOSGeometry.equals_identical() method.Olivier Tabone
2023-08-04Fixed #34760 -- Dropped support for SQLite < 3.27.Mariusz Felisiak
2023-08-04Fixed #34686 -- Added support for GEOS 3.12.Olivier Tabone
2023-08-03Fixed #34761 -- Dropped support for MySQL < 8.0.11.Mariusz Felisiak
2023-08-02Fixed #33507 -- Used UUID data type on MariaDB 10.7+.Albert Defler
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-08-01Fixed #32820 -- Added aria-invalid="true" to fields with errors.Gregor Jerše
Co-authored-by: Demetris Stavrou <demestav@gmail.com> Co-authored-by: David Smith <smithdc@gmail.com>
2023-07-31Fixed #34331 -- Added QuerySet.aiterator() support for prefetch_related().John Parton
2023-07-24Fixed #34714 -- Added aget_object_or_404()/aget_list_or_404() shortcuts.Olivier Tabone
2023-07-19Fixed #34701 -- Added support for NULLS [NOT] DISTINCT on PostgreSQL 15+.Simon Charette
2023-07-10Fixed #34698 -- Made QuerySet.bulk_create() retrieve primary keys when ↵Thomas Chaumeny
updating conflicts.
2023-07-10Refs #31949 -- Made @vary_on_(cookie/headers) decorators work with async ↵Ben Lomax
functions.
2023-07-10Refs #31949 -- Made @csrf_exempt decorator to work with async functions.Ben Lomax