| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-03-31 | [5.2.x] Updated translations from Transifex. | Sarah Boyce | |
| 2025-01-06 | Refs #35444 -- Deprecated contrib.postgres aggregates ordering for order_by. | Chris Muthig | |
| Aligns the argument with SQL standards already used in Window.order_by and sets up for adding support to Aggregate. | |||
| 2025-01-03 | Removed stray comment in ArrayField.check(). | Tim Graham | |
| 2024-12-05 | Fixed #35944 -- Handled serialization of Unicode values in ArrayField and ↵ | Oleg Sverdlov | |
| HStoreField. | |||
| 2024-10-10 | Fixed #35717 -- Reduced Create/RemoveCollation operations when optimizing ↵ | Adam Johnson | |
| migrations. | |||
| 2024-10-07 | Updated translations from Transifex. | nessita | |
| Forwardport of e245f62d0052d7b15fa2a60926d59eeeefee9be1 from stable/5.1.x. | |||
| 2024-10-07 | Fixed #35449 -- Fixed validation of array items in SplitArrayField when ↵ | GappleBee | |
| remove_trailing_nulls=True. | |||
| 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-12 | Fixed #35575 -- Added support for constraint validation on GeneratedFields. | Mark Gensler | |
| 2024-08-07 | Updated translations from Transifex. | Natalia | |
| Forwardport of 380c6e6ddd7890fbe65826873579ef6e3af0c07d from stable/5.1.x. | |||
| 2024-08-05 | Refs #35638 -- Avoided wrapping expressions with Value in ↵ | David Sanders | |
| _get_field_value_map() and renamed to _get_field_expression_map(). | |||
| 2024-05-27 | Fixed #35479 -- Dropped support for PostgreSQL 13 and PostGIS 3.0. | Mariusz Felisiak | |
| 2024-05-14 | Fixed #35275 -- Fixed Meta.constraints validation crash on UniqueConstraint ↵ | Mariusz Felisiak | |
| with OpClass(). This also introduces Expression.constraint_validation_compatible that allows specifying that expression should be ignored during a constraint validation. | |||
| 2024-05-10 | Fixed #35436 -- Fixed displaying Unicode chars in forms.HStoreField. | SaJH | |
| 2024-04-25 | Fixed #35339 -- Fixed PostgreSQL aggregate's filter and order_by params order. | Chris Muthig | |
| Updated OrderableAggMixin.as_sql() to separate the order_by parameters from the filter parameters. Previously, the parameters and SQL were calculated by the Aggregate parent class, resulting in a mixture of order_by and filter parameters. Thanks Simon Charette for the review. | |||
| 2024-04-25 | Refs #35339 -- Updated Aggregate class to return consistent source expressions. | Chris Muthig | |
| Refactored the filter and order_by expressions in the Aggregate class to return a list of Expression (or None) values, ensuring that the list item is always available and represents the filter expression. For the PostgreSQL OrderableAggMixin, the returned list will always include the filter and the order_by value as the last two elements. Lastly, emtpy Q objects passed directly into aggregate objects using Aggregate.filter in admin facets are filtered out when resolving the expression to avoid errors in get_refs(). Thanks Simon Charette for the review. | |||
| 2024-02-29 | Fixed #35234 -- Added system checks for invalid model field names in ↵ | Simon Charette | |
| ExclusionConstraint.expressions. | |||
| 2024-01-29 | Updated translations from Transifex. | Claude Paroz | |
| Forwardport of 3cc35aafabb1523c39332ee83e769b085ed3d923 from stable/5.0.x. | |||
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2024-01-17 | Fixed #31700 -- Made makemigrations command display meaningful symbols for ↵ | Amir Karimi | |
| each operation. | |||
| 2024-01-02 | Fixed #35075 -- Added deduplicate_items parameter to BTreeIndex. | Nick Pope | |
| 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-29 | Refs #35064 -- Made OrderableAggMixin avoid creating empty OrderByList. | Simon Charette | |
| This paves the way for making OrderByList a simple shim over ExpressionList which requires at least a single item to be provided. | |||
| 2023-12-04 | Updated translations from Transifex. | Natalia | |
| Forwardport of 8e1b820fa10d16664beb5d1ca2f5671891da1704 from stable/5.0.x. | |||
| 2023-09-18 | Refs #33308 -- Removed support for passing encoded JSON string literals to ↵ | Mariusz Felisiak | |
| JSONField & co. Per deprecation timeline. | |||
| 2023-09-18 | Refs #33872 -- Removed ↵ | Mariusz Felisiak | |
| django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. Per deprecation timeline. | |||
| 2023-06-18 | Fixed #34662 -- Corrected number in error messages for ↵ | şuayip üzülmez | |
| Array(Min/Max)LengthValidator. | |||
| 2023-04-06 | Fixed #34459 -- Fixed SearchVector() crash for parameters with % symbol. | Mariusz Felisiak | |
| Thanks Patryk Zawadzki for the report. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | |||
| 2023-04-03 | Updated translations from Transifex. | Mariusz Felisiak | |
| Forwardport of fa687719321329f4e5017b7fc1b8cadae3c63c32 from stable/4.2.x. | |||
| 2023-02-23 | Fixed #34338 -- Allowed customizing code of ValidationError in ↵ | Xavier Fernandez | |
| BaseConstraint and subclasses. | |||
| 2023-02-23 | Refs #33829 -- Added violation_error_message to constraints' __repr__(). | Xavier Fernandez | |
| 2023-02-07 | Fixed #34285 -- Fixed index/slice lookups on filtered aggregates with ↵ | Nils VAN ZUIJLEN | |
| ArrayField. Thanks Simon Charette for the review. | |||
| 2023-01-18 | Refs #34233 -- Used types.NoneType. | Nick Pope | |
| Available since Python 3.10 where it was reintroduced. | |||
| 2023-01-17 | Refs #33342 -- Removed ExclusionConstraint.opclasses per deprecation timeline. | Mariusz Felisiak | |
| 2023-01-17 | Refs #10929 -- Stopped forcing empty result value by PostgreSQL aggregates. | Mariusz Felisiak | |
| Per deprecation timeline. | |||
| 2023-01-17 | Updated source translation catalogs. | Mariusz Felisiak | |
| Forward port of 6fef789e456204752ec6b77b41740d67553fdd6f from stable/4.2.x. | |||
| 2022-12-20 | Updated translations from Transifex. | Mariusz Felisiak | |
| Updated Bulgarian, Esperanto, Hungarian, Japanese, Macedonian, Persian, Portuguese (Brazil), Russian, Spanish, and Turkmen translations. Forwardport of 46b28bbe151282e9198b719d00f84b48c92606ba from stable/4.1.x. | |||
| 2022-12-15 | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | |
| Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-12-12 | Refs #33308 -- Added DatabaseOperations.compose_sql() on PostgreSQL. | Florian Apolloner | |
| 2022-12-12 | Refs #33308 -- Moved psycopg2 imports to the psycopg_any module. | Florian Apolloner | |
| 2022-12-10 | Fixed #34205 -- Fixed Meta.constraints validation crash with ArrayField and ↵ | James Gillard | |
| __len lookup. Regression in 88fc9e2826044110b7b22577a227f122fe9c1fb5 that began manifesting in Django 4.1. | |||
| 2022-12-01 | Refs #33308 -- Deprecated support for passing encoded JSON string literals ↵ | Simon Charette | |
| to JSONField & co. JSON should be provided as literal Python objects an not in their encoded string literal forms. | |||
| 2022-12-01 | Refs #33308 -- Added get_type_oids() hook and simplified registering type ↵ | Daniele Varrazzo | |
| handlers on PostgreSQL. | |||
| 2022-11-18 | Fixed #26056 -- Added QuerySet.values()/values_list() support for ↵ | Ben Cail | |
| ArrayField's __overlap lookup. Thanks Mads Jensen and kosz85 and the initial patch. | |||
| 2022-11-10 | Fixed #34149 -- Allowed adding deferrable conditional exclusion constraints ↵ | Márton Salomváry | |
| on PostgreSQL. | |||
| 2022-11-03 | Fixed #34080 -- Fixed __exact lookup when nested arrays contain only NULL ↵ | Ion Alberdi | |
| values. Thanks jerch and David Sanders for reviews. | |||
| 2022-10-05 | Fixed #34071 -- Improved error message for Range(Min/Max)ValueValidator. | Jack Linke | |
| 2022-09-17 | Fixed #34016 -- Fixed QuerySet.values()/values_list() crash on ArrayAgg() ↵ | Alexander Kerkum | |
| and JSONBAgg(). Regression in e06dc4571ea9fd5723c8029959b95808be9f8812. | |||
| 2022-08-11 | Replaced Expression.replace_references() with .replace_expressions(). | Simon Charette | |
| The latter allows for more generic use cases beyond the currently limited ones constraints validation has. Refs #28333, #30581. | |||
| 2022-08-11 | Optimized ExclusionConstraint.validate() a bit. | Mariusz Felisiak | |
| References to excluded fields are omitted in the replacement_map, so there is no need to replace references before checking for exclusions. | |||
