| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-11-14 | [5.0.x] Reverted "Refs #30446, Refs #34944 -- Fixed crash when adding ↵ | Mariusz Felisiak | |
| GeneratedField with string Value()." This reverts commit 8b1acc0440418ac8f45ba48e2dfcf5126c83341b. Backport of de4884b114534f43c49cf8c5b7f10181e737f4e9 from main | |||
| 2023-11-08 | [5.0.x] Refs #30446, Refs #34944 -- Fixed crash when adding GeneratedField ↵ | Simon Charette | |
| with string Value(). This should allow smarter output_field inferring in functions dealing with text expressions. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. Backport of 8b1acc0440418ac8f45ba48e2dfcf5126c83341b from main | |||
| 2023-10-04 | [5.0.x] Refs #33482 -- Fixed QuerySet selecting and filtering againts ↵ | Simon Charette | |
| Exists() with empty queryset. Thanks Tobias Bengfort for the report. Backport of ea596a52d9f905596cc5335930c8f2ac4511204c from main | |||
| 2023-09-22 | [5.0.x] Fixed #34858 -- Corrected resolving output_field for ↵ | toan | |
| PositiveIntegerField. Regression in 40b8a6174f001a310aa33f7880db0efeeb04d4c4. Backport of 4de31ec680df062e5964b630f1b881ead5004e15 from main | |||
| 2023-09-01 | Fixed #34803 -- Fixed queryset crash when filtering againts deeply nested ↵ | willzhao | |
| OuterRef annotations. Thanks Pierre-Nicolas Rigal for the report. Regression in c67ea79aa981ae82595d89f8018a41fcd842e7c9. | |||
| 2023-08-10 | Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle. | Jingbei Li | |
| 2023-01-17 | Refs #33543 -- Made Expression.asc()/desc() and OrderBy raise ValueError ↵ | Mariusz Felisiak | |
| when nulls_first/nulls_last=False is passed. Per deprecation timeline. | |||
| 2023-01-16 | Refs #30129 -- Added test for create() with F() expression in Subquery. | sarahboyce | |
| Fixed in 35431298226165986ad07e91f9d3aca721ff38ec. | |||
| 2022-10-31 | Fixed #16211 -- Added logical NOT support to F expressions. | David Wobrock | |
| 2022-10-08 | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | |
| assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | |||
| 2022-10-06 | Refs #30158 -- Removed alias argument for Expression.get_group_by_cols(). | Simon Charette | |
| Recent refactors allowed GROUP BY aliasing allowed for aliasing to be entirely handled by the sql.Query.set_group_by and compiler layers. | |||
| 2022-09-27 | Fixed #33464 -- Resolved output_field for combined numeric expressions with ↵ | David Wobrock | |
| MOD operator. | |||
| 2022-05-12 | Fixed #33543 -- Deprecated passing nulls_first/nulls_last=False to OrderBy ↵ | Mariusz Felisiak | |
| and Expression.asc()/desc(). Thanks Allen Jonathan David for the initial patch. | |||
| 2022-04-14 | Relaxed some query ordering assertions in various tests. | Mariusz Felisiak | |
| It accounts for differences seen on MySQL with MyISAM storage engine. | |||
| 2022-04-11 | Fixed CVE-2022-28346 -- Protected QuerySet.annotate(), aggregate(), and ↵ | Mariusz Felisiak | |
| extra() against SQL injection in column aliases. Thanks Splunk team: Preston Elder, Jacob Davis, Jacob Moore, Matt Hanson, David Briggs, and a security researcher: Danylo Dmytriiev (DDV_UA) for the report. | |||
| 2022-03-31 | Fixed #33397 -- Corrected resolving output_field for ↵ | Luke Plant | |
| DateField/DateTimeField/TimeField/DurationFields. This includes refactoring of CombinedExpression._resolve_output_field() so it no longer uses the behavior inherited from Expression of guessing same output type if argument types match, and instead we explicitly define the output type of all supported operations. This also makes nonsensical operations involving dates (e.g. date + date) raise a FieldError, and adds support for automatically inferring output_field for cases such as: * date - date * date + duration * date - duration * time + duration * time - time | |||
| 2022-03-30 | Refs #33397 -- Added extra tests for resolving an output_field of ↵ | Luke Plant | |
| CombinedExpression. | |||
| 2022-03-04 | Fixed #29865 -- Added logical XOR support for Q() and querysets. | Ryan Heard | |
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-02-07 | Refs #33482 -- Fixed QuerySet selecting and filtering againts negated ↵ | Mariusz Felisiak | |
| Exists() with empty queryset. Regression in b7d1da5a62fe4141beff2bfea565f7ef0038c94c. | |||
| 2022-02-03 | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | |
| In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | |||
| 2022-02-02 | Fixed #33482 -- Fixed QuerySet filtering againts negated Exists() with empty ↵ | Simon Charette | |
| queryset. Thanks Tobias Bengfort for the report. | |||
| 2022-01-17 | Fixed #33435 -- Fixed invalid SQL generatered by Subquery.as_sql(). | My-Name-Is-Nabil | |
| 2022-01-07 | Fixed #33216 -- Simpilified deconstructed paths for some expressions. | Allen Jonathan David | |
| 2022-01-04 | Fixed #33406 -- Avoided creation of MaxLengthValidator(None) when resolving ↵ | Keryn Knight | |
| Value.output_field for strings. This brings the behaviour in line with Field subclasses which append to the validators within __init__(), like BinaryField, and prevents the creation of a validator which incorrectly throws a TypeError, if it were used. | |||
| 2022-01-04 | Refs #33406 -- Added test for not creating broken validators when resolving ↵ | Keryn Knight | |
| Value.output_field. | |||
| 2021-12-22 | Refs #33355 -- Added missing tests for database functions and expression on ↵ | Adam Johnson | |
| null values. | |||
| 2021-11-08 | Fixed #33257 -- Fixed Case() and ExpressionWrapper() with decimal values on ↵ | Matthijs Kooijman | |
| SQLite. | |||
| 2021-11-02 | Fixed #33224 -- Removed ↵ | Hasan Ramezani | |
| DatabaseFeatures.supports_mixed_date_datetime_comparisons. | |||
| 2021-10-26 | Removed duplicated lines in ↵ | Tim Graham | |
| test_in_lookup_allows_F_expressions_and_expressions_for_datetimes(). | |||
| 2021-10-21 | Made F deconstruction omit 'expressions' in the path. | Adam Johnson | |
| 2021-06-01 | Fixed #32793 -- Fixed loss of precision for temporal operations with ↵ | Mariusz Felisiak | |
| DecimalFields on MySQL. Regression in 1e38f1191de21b6e96736f58df57dfb851a28c1f. Thanks Mohsen Tamiz for the report. | |||
| 2021-05-24 | Refs #24121 -- Improved Value.__repr__(). | Mariusz Felisiak | |
| 2021-05-24 | Fixed typo in tests/expressions/tests.py. | Mariusz Felisiak | |
| 2021-05-05 | Fixed #32714 -- Prevented recreation of migration for Meta.ordering with ↵ | Simon Charette | |
| OrderBy expressions. Regression in c8b659430556dca0b2fe27cf2ea0f8290dbafecd. Thanks Kevin Marsh for the report. | |||
| 2021-04-20 | Refs #25287 -- Added support for multiplying and dividing DurationField by ↵ | Tobias Bengfort | |
| scalar values on SQLite. | |||
| 2021-03-29 | Fixed #32585 -- Fixed Value() crash with DecimalField on SQLite. | Hasan Ramezani | |
| 2021-03-17 | Fixed #32548 -- Fixed crash when combining Q() objects with boolean expressions. | Jonathan Richards | |
| 2021-03-17 | Refs #32548 -- Added tests for passing conditional expressions to Q(). | Mariusz Felisiak | |
| 2021-02-18 | Fixed #32455 -- Allowed right combining Q() with boolean expressions. | Hasan Ramezani | |
| 2021-02-18 | Refs #32455 -- Added tests for left combining an empty Q() with boolean ↵ | Mariusz Felisiak | |
| expressions. | |||
| 2021-01-26 | Refs #26602 -- Added tests for aggregating over a RawSQL() annotation. | Mariusz Felisiak | |
| Fixed in 3f32154f40a855afa063095e3d091ce6be21f2c5. Thanks Manav Agarwal for initial test. | |||
| 2021-01-14 | Refs #30158 -- Made alias argument required in signature of ↵ | Mariusz Felisiak | |
| Expression.get_group_by_cols() subclasses. Per deprecation timeline. | |||
| 2020-12-10 | Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵ | Hasan Ramezani | |
| failures. Co-authored-by: Tim Graham <timograham@gmail.com> | |||
| 2020-11-27 | Fixed #25534, Fixed #31639 -- Added support for transform references in ↵ | Ian Foote | |
| expressions. Thanks Mariusz Felisiak and Simon Charette for reviews. | |||
| 2020-11-06 | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | |
| This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-10-23 | Fixed #32134 -- Fixed crash of __range lookup with namedtuple. | Adam Johnson | |
| Regression in 8be79984dce7d819879a6e594ca69c5f95a08378. Thanks Gordon Wrigley for the report. | |||
| 2020-10-19 | Relaxed some query ordering assertions in expressions tests. | Tim Graham | |
| It accounts for differences seen on CockroachDB. | |||
| 2020-10-02 | Fixed #32060 -- Added Random database function. | Nick Pope | |
