Mariusz Felisiak
05ba1a9228
Fixed #36661 -- Added introspection of database-level delete options.
2025-10-31 14:33:27 +01:00
Clifford Gama
348ca84538
Refs #35381 -- Deprecated using None in JSONExact rhs to mean JSON null.
...
Key and index lookups are exempt from the deprecation.
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com >
2025-10-29 15:00:52 -04:00
Clifford Gama
be7f68422d
Refs #35381 -- Delegated ArrayField element prepping to base_field.get_db_prep_save.
...
Previously, ArrayField always used base_field.get_db_prep_value when saving,
which could differ from how base_field prepares data for save. This change
overrides ArrayField.get_db_prep_save to delegate to the base_field's
get_db_prep_save, ensuring elements like None in JSONField arrays are saved
correctly as SQL NULL instead of JSON null.
2025-10-29 15:00:52 -04:00
Clifford Gama
adc25a9a66
Fixed #35381 -- Added JSONNull() expression.
...
Thanks Jacob Walls for the review.
2025-10-29 15:00:52 -04:00
Mariusz Felisiak
c87daabbf3
Fixed #36624 -- Dropped support for MySQL < 8.4.
2025-10-27 15:05:23 +01:00
Mariusz Felisiak
d506e4a528
Fixed #36671 -- Dropped support for SQLite < 3.37.
2025-10-18 21:04:11 +02:00
Mariusz Felisiak
0c487aa3a7
Fixed #21961 -- Added support for database-level delete options for ForeignKey.
...
Thanks Simon Charette for pair programming.
Co-authored-by: Nick Stefan <NickStefan12@gmail.com >
Co-authored-by: Akash Kumar Sen <71623442+Akash-Kumar-Sen@users.noreply.github.com >
Co-authored-by: Simon Charette <charette.s@gmail.com >
2025-10-18 15:03:50 +02:00
Adam Johnson
e097e8a12f
Fixed #28586 -- Added model field fetch modes.
...
May your database queries be much reduced with minimal effort.
co-authored-by: Andreas Pelme <andreas@pelme.se >
co-authored-by: Simon Charette <charette.s@gmail.com >
co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com >
2025-10-16 14:52:22 -04:00
Mariusz Felisiak
5bd775703c
Fixed #36623 -- Dropped support for PostgreSQL 14 and PostGIS 3.1.
2025-10-03 17:12:57 -04:00
Adam Johnson
8b241f84e2
Fixed #36614 -- Deprecated QuerySet.values_list(flat=True) without a field.
...
Thanks to Jacob Walls and Simon Charette for their input.
co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com >
2025-09-30 08:46:28 +02:00
John Parton
1820d35b17
Fixed #36605 -- Added support for QuerySet.in_bulk() after .values() or .values_list().
...
co-authored-by: Adam Johnson <me@adamj.eu >
co-authored-by: Simon Charette <charette.s@gmail.com >
2025-09-25 08:51:43 -04:00
Tim Graham
1acb00b26d
Fixed #36616 -- Added DatabaseOperations.adapt_durationfield_value().
2025-09-23 18:36:49 +02:00
David Smith
e20e189045
Refs #33783 -- Added IsEmpty GIS database function and __isempty lookup on SpatiaLite.
2025-09-22 22:04:42 -04:00
Adam Johnson
74a9c2711c
Refs #28586 -- Split descriptor from GenericForeignKey.
...
This makes GenericForeignKey more similar to other fields which act as
descriptors, preparing it to add “fetcher protocol” support in a clear and
consistent way.
2025-09-18 19:44:16 -04:00
Jacob Walls
b83204a06e
Increased the default PBKDF2 iterations for Django 6.1.
2025-09-17 15:17:05 -03:00
Jacob Walls
0655d958bd
Refs #36390 -- Removed support for RemoteUserMiddleware subclasses missing aprocess_request().
...
Per deprecation timeline.
2025-09-17 15:17:05 -03:00
Jacob Walls
7d7e5cd055
Refs #35444 -- Removed contrib.postgres aggregates ordering kwarg per deprecation timeline.
2025-09-17 15:17:05 -03:00
Jacob Walls
32e266dc5b
Refs #35530 -- Removed request.user or auser() fallback in auth.login and auth.alogin.
...
Per deprecation timeline.
2025-09-17 15:17:05 -03:00
Jacob Walls
a146fe2930
Refs #22712 -- Removed all parameter from django.contrib.staticfiles.finders.find().
...
Per deprecation timeline.
2025-09-17 15:17:05 -03:00
Jacob Walls
1db79d8acf
Added stub release notes for 6.1.
2025-09-17 15:17:05 -03:00