| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-02-01 | Fixed #36088 -- Avoided unnecessary DEFAULT usage on bulk_create(). | Simon Charette | |
| When all values of a field with a db_default are DatabaseDefault, which is the case most of the time, there is no point in specifying explicit DEFAULT for all INSERT VALUES as that's what the database will do anyway if not specified. In the case of PostgreSQL doing so can even be harmful as it prevents the usage of the UNNEST strategy and in the case of Oracle, which doesn't support the usage of the DEFAULT keyword, it unnecessarily requires providing literal db defaults. Thanks Lily Foote for the review. | |||
| 2025-01-31 | Fixed #36119 -- Fixed UnicodeEncodeError when attaching a file with 8bit ↵ | greg | |
| Content-Transfer-Encoding. | |||
| 2025-01-30 | Fixed #35235 -- Removed caching of BaseExpression._output_field_or_none. | sharonwoo | |
| 2025-01-30 | Fixed #36121 -- Allowed customizing the admin site password change form. | Mohammadreza Eskandari | |
| 2025-01-30 | Fixed #36155 -- Improved error handling when annotate arguments require an ↵ | Vinko Mlačić | |
| alias. Regression in ed0cbc8d8b314e3b4a0305d0be3cf366d8ee4a74. | |||
| 2025-01-29 | Fixed #36118 -- Accounted for multiple primary keys in bulk_update ↵ | Sarah Boyce | |
| max_batch_size. Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2025-01-28 | Fixed #36122 -- Raised FieldError when updating with composite reference value. | Simon Charette | |
| Thanks Jacob Walls for the report and test. | |||
| 2025-01-28 | Fixed #36120 -- Raised FieldError when targeting a composite primary key ↵ | Jacob Walls | |
| field with QuerySet.update(). | |||
| 2025-01-28 | Refs #36005 -- Bumped minimum supported versions of 3rd-party packages. | Mariusz Felisiak | |
| This bumps minimum supported versions of 3rd-party packages to the first releases to support Python 3.12. | |||
| 2025-01-27 | Fixed #36109 -- Fixed RecursionError when stacking FilteredRelation joins. | Peter DeVita | |
| 2025-01-25 | Fixed #36111 -- Fixed test --debug-sql crash on Oracle when no prior query ↵ | Jacob Walls | |
| has executed. | |||
| 2025-01-23 | Fixed #36010 -- Avoided touching mo files while checking writability. | Claude Paroz | |
| 2025-01-23 | Fixed #36013 -- Removed use of IDNA-2003 in django.utils.html. | Mike Edmunds | |
| Removed obsolete and potentially problematic IDNA 2003 ("punycode") encoding of international domain names in smart_urlquote() and Urlizer, which are used (only) by AdminURLFieldWidget and the urlize/urlizetrunc template filters. Changed to use percent-encoded UTF-8, which defers IDNA details to the browser (like other URLs rendered by Django). | |||
| 2025-01-23 | Refs #27674 -- Removed unused GIS icons. | Claude Paroz | |
| Unused since 4982958ec0c359908566fc1f34ef71297ea4337d. | |||
| 2025-01-22 | Fixed #36114 -- Fixed link visibility when list_display_links field contains ↵ | antoliny0919 | |
| only whitespace. | |||
| 2025-01-22 | Fixed #24529 -- Allowed double squashing of migrations. | Georgi Yanchev | |
| Co-authored-by: Raphael Gaschignard <raphael@rtpg.co> | |||
| 2025-01-22 | Refs #24529 -- Added replace_migration hook to MigrationLoader. | Georgi Yanchev | |
| 2025-01-22 | Fixed #36117 -- Raised ValueError when providing composite expressions to ↵ | Simon Charette | |
| case / when. Remove redundant Case and When.resolve_expression to delegate composite expression support to BaseExpression. Thanks Jacob Tyler Walls for the report and test. | |||
| 2025-01-22 | Refs #36042 -- Consolidated composite expression checks in BaseExpression. | Simon Charette | |
| Remove redundant Func.resolve_expression and adjust CombinedExpression to delegate source expression resolving to super() to perform checks against allows_composite_expressions in a single location. | |||
| 2025-01-21 | Fixed #36116 -- Optimized multi-column ForwardManyToOne prefetching. | Simon Charette | |
| Rely on ColPairs and TupleIn which support a single column to be specified to avoid special casing ForwardManyToOne.get_prefetch_querysets(). Thanks Jacob Walls for the report. | |||
| 2025-01-20 | Fixed #36107 -- Adjusted UNNEST bulk_create strategy to opt-out sized arrays. | Simon Charette | |
| The array fields opt-out heuristic failed to account for sized arrays. Note that we keep relying on db_type as opposed to performing an ArrayField instance check against the column's field as there could be other implementations of model fields that use Postgres arrays to store the optimization must be disabled for all of them. Refs #35936. Thanks Claude Paroz for the report and test. | |||
| 2025-01-20 | Fixed #36005 -- Dropped support for Python 3.10 and 3.11. | Mariusz Felisiak | |
| 2025-01-20 | Fixed #36017 -- Used EmailValidator in urlize to detect emails. | greg | |
| 2025-01-18 | Fixed broken link in django/core/handlers/asgi.py comment. | Anders Kaseorg | |
| 2025-01-18 | Fixed #35448 -- Fixed formatting of test --debug-sql output. | Tim Graham | |
| Also adds DatabaseOperations.format_debug_sql() hook for backends (e.g. NoSQL) to customize formatting. | |||
| 2025-01-15 | Increased the default PBKDF2 iterations for Django 6.0. | Sarah Boyce | |
| 2025-01-15 | Advanced deprecation warnings for Django 6.0. | Sarah Boyce | |
| 2025-01-15 | Refs #35326 -- Removed FileSystemStorage.OS_OPEN_FLAGS per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #35405 -- Removed FieldCacheMixin.get_cache_name() per deprecation ↵ | Sarah Boyce | |
| timeline. | |||
| 2025-01-15 | Refs #35234 -- Removed CheckConstraint.check per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #35058 -- Removed OGRGeometry.coord_dim setter per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #35060 -- Removed passing positional arguments to Model.save()/asave() ↵ | Sarah Boyce | |
| per deprecation timeline. | |||
| 2025-01-15 | Removed django.contrib.gis.geoip2.GeoIP2.open() per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Removed django.contrib.gis.geoip2.GeoIP2.coords() per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #34983 -- Removed django.utils.itercompat per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #34462 -- Removed ModelAdmin.log_deletion() and ↵ | Sarah Boyce | |
| LogEntryManager.log_action() per deprecation timeline. | |||
| 2025-01-15 | Refs #33651 -- Removed Prefetch.get_current_queryset() and ↵ | Sarah Boyce | |
| get_prefetch_queryset() per deprecation timeline. | |||
| 2025-01-15 | Removed ChoicesMeta per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #33817 -- Removed support for cx_Oracle per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #16055 -- Removed get_joining_columns()/get_reverse_joining_columns() ↵ | Sarah Boyce | |
| methods per deprecation timeline. | |||
| 2025-01-15 | Refs #34380 -- Changed the URLField default scheme to https and removed ↵ | Sarah Boyce | |
| FORMS_URLFIELD_ASSUME_HTTPS per deprecation timeline. | |||
| 2025-01-15 | Refs #35090 -- Removed support for django.urls.register_converter() ↵ | Sarah Boyce | |
| overriding existing converters per deprecation timeline. | |||
| 2025-01-15 | Refs #34609 -- Removed support for calling format_html() without arguments ↵ | Sarah Boyce | |
| per deprecation timeline. | |||
| 2025-01-15 | Refs #22569 -- Made request required in ModelAdmin.lookup_allowed() per ↵ | Sarah Boyce | |
| deprecation timeline. | |||
| 2025-01-15 | Refs #34547 -- Removed DatabaseOperations.field_cast_sql() per deprecation ↵ | Sarah Boyce | |
| timeline. | |||
| 2025-01-15 | Refs #32339 -- Removed transitional form renderers per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #34355 -- Removed support for positional arguments in BaseConstraint ↵ | Sarah Boyce | |
| per deprecation timeline. | |||
| 2025-01-15 | Bumped version; main is now 6.0 pre-alpha. | Sarah Boyce | |
| 2025-01-15 | Fixed #35521 -- Allowed overriding BoundField class on fields, forms and ↵ | Matthias Kestenholz | |
| renderers. Thank you Sarah Boyce, Carlton Gibson, Tim Schilling and Adam Johnson for reviews. Co-authored-by: Christophe Henry <contact@c-henry.fr> Co-authored-by: David Smith <smithdc@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Matthias Kestenholz <mk@feinheit.ch> | |||
| 2025-01-15 | Simplified GeoIP2._query() when passing IPv4Address()/IPv6Address() instances. | Mariusz Felisiak | |
| There is no need to call validate_ipv46_address() for ipaddress.IPv4Address()/ipaddress.IPv6Address() instances since this relies on trying to create these kind objects from strings, so they will always be valid. | |||
