| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-01-14 | Fixed CVE-2024-56374 -- Mitigated potential DoS in IPv6 validation. | Michael Manfre | |
| Thanks Saravana Kumar for the report, and Sarah Boyce and Mariusz Felisiak for the reviews. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2025-01-13 | Refs #36050 -- Fixed OuterRef support for CompositePrimaryKey on Oracle. | Simon Charette | |
| Oracle doesn't support native tuple comparison so each as_oracle implementation of tuple lookups must also perform right-hand-side sanitization. | |||
| 2025-01-10 | Fixed #36050 -- Added OuterRef support to CompositePrimaryKey. | Bendeguz Csirmaz | |
| 2025-01-10 | Refs #36064 -- Added Model.has_db_default() to encapsulate NOT_PROVIDED checks. | Simon Charette | |
| This avoids many awkward checks against NOT_PROVIDED and provides symmetry with Field.has_default() which is also the reason why it wasn't made a property. | |||
| 2025-01-08 | Fixed #36062 -- Handled serialization of CompositePrimaryKeys. | Sarah Boyce | |
| 2025-01-07 | Refs #36042 -- Raised ValueError when providing composite expressions to ↵ | Jacob Walls | |
| aggregates. | |||
| 2025-01-06 | Fixed #36048 -- Preferred ValueError to NotSupportedError for composite pk ↵ | Jacob Walls | |
| sanity checks. These checks are not backend-dependent. | |||
| 2025-01-02 | Fixed typo in django/db/models/fields/related_descriptors.py. | Jacob Walls | |
| 2025-01-02 | Fixed #36034 -- Added system check for ↵ | Mariusz Felisiak | |
| ForeignKey/ForeignObject/ManyToManyField to CompositePrimaryKeys. | |||
| 2025-01-02 | Refs #373 -- Errored when providing db_column to CompositePrimaryKey. | Jacob Walls | |
| 2024-12-09 | Fixed #35982 -- Made DecimalField.get_db_prep_value() call ↵ | Tim Graham | |
| DatabaseOperations.adapt_decimalfield_value(). Regression in e9814029f570bd0866dc859147bca90340bcc913. Thanks Simon Charette for advice and review. | |||
| 2024-12-04 | Fixed CVE-2024-53908 -- Prevented SQL injections in direct HasKeyLookup ↵ | Simon Charette | |
| usage on Oracle. Thanks Seokchan Yoon for the report, and Mariusz Felisiak and Sarah Boyce for the reviews. | |||
| 2024-12-03 | Refs #35842 -- Fixed handling of quotes in JSONField key lookups on Oracle. | Sage Abdullah | |
| 2024-11-29 | Fixed #373 -- Added CompositePrimaryKey. | Bendeguz Csirmaz | |
| Thanks Lily Foote and Simon Charette for reviews and mentoring this Google Summer of Code 2024 project. Co-authored-by: Simon Charette <charette.s@gmail.com> Co-authored-by: Lily Foote <code@lilyf.org> | |||
| 2024-11-11 | Fixed #35815 -- Made system check accept db_default literals when ↵ | Tim Graham | |
| DatabaseFeatures.supports_expression_defaults = False. | |||
| 2024-11-04 | Refs #373 -- Added TupleIn subqueries. | Bendeguz Csirmaz | |
| 2024-10-14 | Refs #373 -- Added additional validations to tuple lookups. | Bendeguz Csirmaz | |
| 2024-09-26 | Refs #373 -- Added support for using tuple lookups in filters. | Bendeguz Csirmaz | |
| 2024-09-20 | Refs #373 -- Updated TupleIsNull lookup to check if any is NULL rather than all. | Bendeguz Csirmaz | |
| Regression in 1eac690d25dd49088256954d4046813daa37dc95. | |||
| 2024-09-11 | Refs #373 -- Removed outdated comment in RelatedIn lookup. | Csirmaz Bendegúz | |
| 2024-09-11 | Refs #373 -- Refactored variable assignments in ColPairs and tuple lookups. | Bendeguz Csirmaz | |
| 2024-09-11 | Refs #373 -- Improved test coverage of tuple lookup checks. | Bendeguz Csirmaz | |
| This also removed unreachable checks. | |||
| 2024-09-09 | Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK ↵ | Csirmaz Bendegúz | |
| is set. | |||
| 2024-08-28 | Refs #35405 -- Adjusted deprecation warning stacklevel in ↵ | Simon Charette | |
| FieldCacheMixin.get_cache_name(). | |||
| 2024-08-28 | Refs #16055 -- Adjusted deprecation warning stacklevel in ↵ | Simon Charette | |
| get_joining_columns()/get_reverse_joining_columns(). | |||
| 2024-08-05 | Fixed #35657 -- Made FileField handle db_default values. | Sarah Boyce | |
| 2024-08-05 | Fixed #35638 -- Updated validate_constraints to consider db_default. | David Sanders | |
| 2024-08-01 | Refs #373 -- Added tuple lookups. | Bendeguz Csirmaz | |
| 2024-07-09 | Fixed #35580 -- Allowed related fields referencing auto-created through models. | jason_bruce | |
| 2024-07-04 | Fixed #35569 -- Improved wording of invalid ForeignKey error message. | Jacob Walls | |
| 2024-05-22 | Fixed #35139 -- Prevented file read after ImageField is saved to storage. | John Parton | |
| 2024-05-21 | Fixed #35405 -- Converted get_cache_name into a cached property in ↵ | Adam Johnson | |
| FieldCacheMixin. FieldCacheMixin is used by related fields to track their cached values. This work migrates get_cache_name() to be a cached property to optimize performance by reducing unnecessary function calls when working with related fields, given that its value remains constant. Co-authored-by: Simon Charette <charette.s@gmail.com> Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2024-05-15 | Fixed #35384 -- Raised FieldError when saving a file without a name to ↵ | Jonny Park | |
| FileField. | |||
| 2024-04-01 | Fixed #35344, Refs #34838 -- Corrected output_field of resolved columns for ↵ | Johannes Westphal | |
| GeneratedFields in aliased tables. Thanks Simon Charette for the review. | |||
| 2024-03-20 | Fixed #35309 -- Made prefetch clear ordering for single-valued relationships. | Laurent Lyaudet | |
| 2024-03-11 | Fixed #35285 -- Optimized ForeignObject._check_unique_target(). | Adam Johnson | |
| 2024-03-04 | Fixed #35266 -- Deferred formatting in RelatedField._check_clashes(). | Adam Johnson | |
| 2024-02-26 | Fixed #35246 -- Made Field.unique a cached property. | Adam Johnson | |
| Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2024-02-19 | Refs #28011 -- Removed ForeignObjectRel.is_hidden(). | Adam Johnson | |
| 2024-02-19 | Refs #34060 -- Fixed JSONField __exact lookup for primitivies on Oracle 21c+. | Albert Defler | |
| Regression in c991602ce5798385261381025c06698d7fd30dc5. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2024-02-19 | Fixed #35230 -- Added cached ForeignObjectRel.accessor_name. | Adam Johnson | |
| 2024-02-16 | Fixed #29725 -- Removed unnecessary join in QuerySet.count() and exists() on ↵ | ontowhee | |
| a many to many relation. Co-Authored-By: Shiwei Chen <april.chen.0615@gmail.com> | |||
| 2024-02-15 | Fixed #34060 -- Fixed migrations crash when adding check constraints with ↵ | Albert Defler | |
| JSONField __exact lookup on Oracle. | |||
| 2024-02-04 | Fixed #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-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2024-01-10 | Fixed #34769 -- Fixed key transforms on Oracle 21c+. | Mariusz Felisiak | |
| Oracle 21c introduced support for primivites in JSON fields that caused changes in handling them by JSON_QUERY/JSON_VALUE functions. | |||
| 2023-12-30 | Fixed #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-12 | Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField ↵ | Mariusz Felisiak | |
| as output_field on Oracle < 23c. Thanks Václav Řehák for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. | |||
| 2023-11-28 | Fixed #34633 -- Made create() method of reverse many-to-one managers clear ↵ | Aman Pandey | |
| prefetch_related() cache. | |||
| 2023-11-24 | Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable(). | Nick Pope | |
