<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/models/sql/query.py, branch 3.1.6</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=3.1.6</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=3.1.6'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2020-10-29T10:30:53Z</updated>
<entry>
<title>[3.1.x] Fixed #32152 -- Fixed grouping by subquery aliases.</title>
<updated>2020-10-29T10:30:53Z</updated>
<author>
<name>Christian Klus</name>
<email>christianklus@gmail.com</email>
</author>
<published>2020-10-27T18:13:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ab951d242e3de232c7fc9a2f6facfd6aa95f5fe2'/>
<id>urn:sha1:ab951d242e3de232c7fc9a2f6facfd6aa95f5fe2</id>
<content type='text'>
Regression in 42c08ee46539ef44f8658ebb1cbefb408e0d03fe.

Thanks Simon Charette for the review.

Backport of 4ac2d4fa42e1659f328c35b6b8d4761b3419c11a from master
</content>
</entry>
<entry>
<title>[3.1.x] Fixed #31664 -- Reallowed using non-expressions having filterable attribute as rhs in queryset filters.</title>
<updated>2020-06-08T07:18:32Z</updated>
<author>
<name>Nicolas Baccelli</name>
<email>nicolas.baccelli@abc-culture.fr</email>
</author>
<published>2020-06-05T19:01:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=83749dca7a292e966352278e2fd45bce09c1994f'/>
<id>urn:sha1:83749dca7a292e966352278e2fd45bce09c1994f</id>
<content type='text'>
Regression in 4edad1ddf6203326e0be4bdb105beecb0fe454c4.

Backport of b38d44229ff185ad156bcb443d6db0db7ae3eb98 from master
</content>
</entry>
<entry>
<title>[3.1.x] Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.</title>
<updated>2020-05-14T08:26:05Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2020-05-14T04:14:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3913acdb29d09109ec82ce789b592e6281aa7be9'/>
<id>urn:sha1:3913acdb29d09109ec82ce789b592e6281aa7be9</id>
<content type='text'>
691def10a0197d83d2d108bd9043b0916d0f09b4 made all Subquery() instances
equal to each other which broke aggregation subquery pushdown which
relied on object equality to determine which alias it should select.

Subquery.__eq__() will be fixed in an another commit but
Query.rewrite_cols() should haved used object identity from the start.

Refs #30727, #30188.

Thanks Makina Corpus for the report.

Backport of adfbf653dc1c1d0e0dacc4ed46602d22ba28b004 from master
</content>
</entry>
<entry>
<title>[3.1.x] Fixed #31566 -- Fixed aliases crash when chaining values()/values_list() after annotate() with aggregations and subqueries.</title>
<updated>2020-05-14T06:39:21Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2020-05-14T03:38:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8cb87a3f7c413b9943a5a73e156716067267b182'/>
<id>urn:sha1:8cb87a3f7c413b9943a5a73e156716067267b182</id>
<content type='text'>
Subquery annotation references must be resolved if they are excluded
from the GROUP BY clause by a following .values() call.

Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Thanks Makina Corpus for the report.

Backport of 42c08ee46539ef44f8658ebb1cbefb408e0d03fe from master
</content>
</entry>
<entry>
<title>Fixed #31426 -- Added proper field validation to QuerySet.order_by().</title>
<updated>2020-04-06T08:19:49Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2020-04-05T19:45:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=513948735b799239f3ef8c89397592445e1a0cd5'/>
<id>urn:sha1:513948735b799239f3ef8c89397592445e1a0cd5</id>
<content type='text'>
Resolve the field reference instead of using fragile regex based string
reference validation.
</content>
</entry>
<entry>
<title>Refs #7098 -- Deprecated passing raw column aliases to order_by().</title>
<updated>2020-04-06T08:01:02Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2020-04-05T19:32:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=98ea4f0f4696221f00e111f1d623452002192e6c'/>
<id>urn:sha1:98ea4f0f4696221f00e111f1d623452002192e6c</id>
<content type='text'>
Now that order_by() has expression support passing RawSQL() can achieve
the same result.

This was also already supported through QuerySet.extra(order_by) for
years but this API is more or less deprecated at this point.
</content>
</entry>
<entry>
<title>Fixed #31420 -- Fixed crash when filtering subquery annotation against a SimpleLazyObject.</title>
<updated>2020-04-06T05:11:29Z</updated>
<author>
<name>Hasan Ramezani</name>
<email>hasan.r67@gmail.com</email>
</author>
<published>2020-04-04T18:55:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4237050684427db45ea834fe89d9e11c0520201e'/>
<id>urn:sha1:4237050684427db45ea834fe89d9e11c0520201e</id>
<content type='text'>
Thanks Simon Charette for the solution and analysis.
</content>
</entry>
<entry>
<title>Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list() when they collide with field names.</title>
<updated>2020-03-25T08:13:46Z</updated>
<author>
<name>Hasan Ramezani</name>
<email>hasan.r67@gmail.com</email>
</author>
<published>2020-03-19T18:54:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=10866a10fe9f0ad3ffdf6f93823aaf4716e6f27c'/>
<id>urn:sha1:10866a10fe9f0ad3ffdf6f93823aaf4716e6f27c</id>
<content type='text'>
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Thanks Holovashchenko Vadym for the report.
</content>
</entry>
<entry>
<title>Refs #31136 -- Made QuerySet.values()/values_list() group only by selected annotation.</title>
<updated>2020-01-15T08:32:42Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2020-01-15T08:32:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=59b4e99dd00b9c36d56055b889f96885995e4240'/>
<id>urn:sha1:59b4e99dd00b9c36d56055b889f96885995e4240</id>
<content type='text'>
Regression in 0f843fdd5b9b2f2307148465cd60f4e1b2befbb4.</content>
</entry>
<entry>
<title>Fixed #31136 -- Disabled grouping by aliases on QuerySet.values()/values_list().</title>
<updated>2020-01-04T19:49:11Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2020-01-04T19:49:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0f843fdd5b9b2f2307148465cd60f4e1b2befbb4'/>
<id>urn:sha1:0f843fdd5b9b2f2307148465cd60f4e1b2befbb4</id>
<content type='text'>
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Thanks Sigurd Ljødal for the report.</content>
</entry>
</feed>
