| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-01-03 | Fixed #31133 -- Fixed crash when subtracting against a subquery annotation. | Simon Charette | |
| The subtract_temporals() database operation was not handling expressions returning SQL params in mixed database types. Regression in 35431298226165986ad07e91f9d3aca721ff38ec. Thanks Reupen Shah for the report. | |||
| 2019-12-23 | Refs #31115 -- Added test for nested subquery that references related fields. | Mariusz Felisiak | |
| Thanks Dmitriy Gunchenko for the report and Simon Charette for the analysis and tests. Regression in 5a4d7285bd10bd40d9f7e574a7c421eb21094858. Fixed in 5a4d7285bd10bd40d9f7e574a7c421eb21094858. | |||
| 2019-11-18 | Fixed #30986 -- Fixed queryset crash when filtering against boolean RawSQL ↵ | Mariusz Felisiak | |
| expressions on Oracle. | |||
| 2019-10-02 | Fixed some typos in comments and docs. | Min ho Kim | |
| Thanks to Mads Jenson for review. | |||
| 2019-10-01 | Fixed #30651 -- Made __eq__() methods return NotImplemented for not ↵ | ElizabethU | |
| implemented comparisons. Changed __eq__ to return NotImplemented instead of False if compared to an object of the same type, as is recommended by the Python data model reference. Now these models can be compared to ANY (or other objects with __eq__ overwritten) without returning False automatically. | |||
| 2019-08-29 | Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude(). | Matthew Schinckel | |
| This allows using expressions that have an output_field that is a BooleanField to be used directly in a queryset filters, or in the When() clauses of a Case() expression. Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and Adam Johnson for reviews. Co-Authored-By: NyanKiyoshi <hello@vanille.bid> | |||
| 2019-08-29 | Used skipUnlessDBFeature instead of checking vendor in ↵ | Mariusz Felisiak | |
| test_filtering_on_annotate_that_uses_q. | |||
| 2019-07-10 | Fixed #30628 -- Adjusted expression identity to differentiate bound fields. | Simon Charette | |
| Expressions referring to different bound fields should not be considered equal. Thanks Julien Enselme for the detailed report. Regression in bc7e288ca9554ac1a0a19941302dea19df1acd21. | |||
| 2019-06-21 | Fixed typo in BasicExpressionsTests.test_object_update_fk() test. | Mariusz Felisiak | |
| 2019-05-03 | Fixed #29692 -- Fixed removing ordering parts for multiline RawSQL expressions. | can | |
| 2019-04-19 | Refs #25507 -- Added tests for using QuerySet.count() with a RawSQL annotation. | Mariusz Felisiak | |
| Fixed in 3f32154f40a855afa063095e3d091ce6be21f2c5 | |||
| 2019-03-27 | Fixed #28621 -- Fixed crash of annotations with OuterRef. | Mariusz Felisiak | |
| 2019-03-23 | Refs #30188 -- Avoided GROUP BY when aggregating over non-aggregates. | Simon Charette | |
| 2019-03-23 | Refs #30188 -- Prevented double annotation of subquery when aggregated over. | Simon Charette | |
| Thanks Can Sarıgöl for the suggested trimming approach. | |||
| 2019-03-23 | Fixed #30188 -- Fixed a crash when aggregating over a subquery annotation. | Simon Charette | |
| 2019-03-21 | Refs #30158 -- Added alias argument to Expression.get_group_by_cols(). | Simon Charette | |
| 2019-02-14 | Fixed #29619 -- Added field names to some FieldErrors. | Hasan Ramezani | |
| 2019-01-16 | Fixed #30044 -- Raised a FieldError on inherited field update attempts. | Simon Charette | |
| 2019-01-16 | Removed unnecessary transaction wrapping in expressions test. | Simon Charette | |
| 2019-01-15 | Fixed #30099 -- Fixed invalid SQL when filtering a Subquery by an aggregate. | Nasir Hussain | |
| 2019-01-09 | Fixed #28658 -- Added DISTINCT handling to the Aggregate class. | Simon Charette | |
| 2018-11-27 | Switched setUp() to setUpTestData() where possible in Django's tests. | Simon Charette | |
| 2018-11-27 | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | |
| 2018-10-02 | Fixed #29745 -- Based Expression equality on detailed initialization signature. | Simon Charette | |
| The old implementation considered objects initialized with an equivalent signature different if some arguments were provided positionally instead of as keyword arguments. Refs #11964, #26167. | |||
| 2018-09-18 | Fixed expressions tests when run in reverse. | Mariusz Felisiak | |
| Regression in e7a0a5c8b21f5ad1a0066bd0dfab84466b474e15. | |||
| 2018-09-13 | Simplified expressions.tests. | Mariusz Felisiak | |
| 2018-09-10 | Fixed #29500 -- Fixed SQLite function crashes on null values. | Srinivas Reddy Thatiparthy | |
| Co-authored-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> | |||
| 2018-09-08 | Fixed #29727 -- Made nonexistent joins in F() raise FieldError. | Alexander Holmbäck | |
| Regression in 2162f0983de0dfe2178531638ce7ea56f54dd4e7. | |||
| 2018-09-08 | Moved test for nonexistent field in F() to BasicExpressionsTest. | Alexander Holmbäck | |
| 2018-04-16 | Fixed #29330 -- Fixed crash when pickling BaseExpression. | Daniel Miller | |
| Regression in cfff2af02be40106d4759cc6f8bfa476ce82421c. | |||
| 2018-03-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2018-03-08 | Fixed #29195 -- Fixed Exists.output_field resolution on single-valued queries. | Simon Charette | |
| The Subquery class which Exists inherits from defaulted to using single-valued querie's field if no output_field was explicitly specified on initialization which was bypassing the Exists.output_field defined at the class level. Moving Subquery's dynamic output_field resolution to _resolve_output_field should make sure the fallback logic is only performed if required. Regression in 08654a99bbdd09049d682ae57cc94241534b29f0. Thanks Oli Warner for the detailed report. | |||
| 2018-02-23 | Fixed #29142 -- Fixed crash when OuterRef is used with an operator. | Matthew Schinckel | |
| 2018-02-20 | Fixed #28442 -- Fixed crash with nested OuterRefs that reference AutoField. | Oliver Sauder | |
| 2018-02-10 | Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields). | Matthew Wilkes | |
| 2018-02-10 | Fixed #29118 -- Fixed crash with QuerySet.order_by(Exists(...)). | Raphael Gaschignard | |
| 2018-01-31 | Fixed #29066 -- Allowed negating query expressions. | priyanshsaxena | |
| 2017-12-28 | Fixed #28926 -- Fixed loss of precision of big DurationField values on ↵ | Sergey Fedoseev | |
| SQLite and MySQL. | |||
| 2017-12-01 | Fixed #28863 -- Fixed filter on annotation that contains Q. | Sergey Fedoseev | |
| 2017-10-25 | Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef. | Mariusz Felisiak | |
| Regression in f48bc7c3dbd204eefb3c19016b1e4906ac26bee3. | |||
| 2017-10-09 | Added tests for Combinable's bitwise logical operation errors. | Mads Jensen | |
| 2017-09-25 | Removed DatabaseFeatures.supports_microsecond_precision. | Tim Graham | |
| MySQL 5.5 (refs #28552) was the last database to use it. | |||
| 2017-09-18 | Fixed #26608 -- Added support for window expressions (OVER clause). | Mads Jensen | |
| Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch. | |||
| 2017-09-15 | Refs #24031 -- Added test for When.__repr__(). | Mads Jensen | |
| 2017-08-12 | Fixed #27849 -- Added filtering support to aggregates. | Tom | |
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-07-24 | Fixed DatabaseFeatures.has_case_insensitive_like on MySQL and Oracle. | Mariusz Felisiak | |
| Incorrect since its introduction in 20bab2cf9d02a5c6477d8aac066a635986e0d3f3. | |||
| 2017-07-14 | Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from ↵ | Sergey Fedoseev | |
| _output_field). | |||
| 2017-05-30 | Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST. | Tim Graham | |
| Thanks Simon Charette for the fix. | |||
| 2017-03-01 | Fixed #27862 -- Fixed incorrectly quoted table aliases in Subquery SQL. | Matthew Schinckel | |
| Add aliases from resolved querysets to the parent query's external aliases to prevent those aliases from being quoted. Thanks to Vasily Stepanov for the report and Tim Graham for the review. | |||
