<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/models/sql/query.py, branch 5.2b1</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=5.2b1</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=5.2b1'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-02-11T08:16:44Z</updated>
<entry>
<title>[5.2.x] Fixed #36149 -- Allowed subquery values against tuple exact and in lookups.</title>
<updated>2025-02-11T08:16:44Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-01-28T04:10:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=dc1c9b4ddd3ca64279da7c97b5023fbedf2340e2'/>
<id>urn:sha1:dc1c9b4ddd3ca64279da7c97b5023fbedf2340e2</id>
<content type='text'>
Non-tuple exact and in lookups have specialized logic for subqueries that can
be adapted to properly assign select mask if unspecified and ensure the number
of involved members are matching on both side of the operator.

Backport of 41239fe34d64e801212dccaa4585e4802d0fac68 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #35677 -- Avoided non-sticky filtering of prefetched many-to-many.</title>
<updated>2025-02-06T13:31:32Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-01-14T05:18:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8aea6b802ced18a54f00db71c53e09c643f7514c'/>
<id>urn:sha1:8aea6b802ced18a54f00db71c53e09c643f7514c</id>
<content type='text'>
The original queryset._next_is_sticky() call never had the intended effect as
no further filtering was applied internally after the pk__in lookup making it
a noop.

In order to be coherent with how related filters are applied when retrieving
objects from a related manager the effects of what calling _next_is_sticky()
prior to applying annotations and filters to the queryset provided for
prefetching are emulated by allowing the reuse of all pre-existing JOINs.

Thanks David Glenck and Thiago Bellini Ribeiro for the detailed reports and
tests.

Backport of 2598b371a93e21d84b7a2a99b2329535c8c0c138 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36109 -- Fixed RecursionError when stacking FilteredRelation joins.</title>
<updated>2025-01-27T09:34:16Z</updated>
<author>
<name>Peter DeVita</name>
<email>mewtwo2643@yahoo.com</email>
</author>
<published>2025-01-17T18:22:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=720ef7a867eab1491f5789fe39b3431a498b2b89'/>
<id>urn:sha1:720ef7a867eab1491f5789fe39b3431a498b2b89</id>
<content type='text'>
Backport of 8eca4077f60fa0705ecfd9437c9ceaeef7a3808b from main.
</content>
</entry>
<entry>
<title>Fixed #36029 -- Handled implicit exact lookups in condition depth checks for FilteredRelation.</title>
<updated>2025-01-03T07:40:13Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2024-12-29T11:14:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c3a681659c4a982101ffee0d3ef205ac5b310e17'/>
<id>urn:sha1:c3a681659c4a982101ffee0d3ef205ac5b310e17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #373 -- Added CompositePrimaryKey.</title>
<updated>2024-11-29T10:23:04Z</updated>
<author>
<name>Bendeguz Csirmaz</name>
<email>csirmazbendeguz@gmail.com</email>
</author>
<published>2024-04-07T02:32:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=978aae4334fa71ba78a3e94408f0f3aebde8d07c'/>
<id>urn:sha1:978aae4334fa71ba78a3e94408f0f3aebde8d07c</id>
<content type='text'>
Thanks Lily Foote and Simon Charette for reviews and mentoring
this Google Summer of Code 2024 project.

Co-authored-by: Simon Charette &lt;charette.s@gmail.com&gt;
Co-authored-by: Lily Foote &lt;code@lilyf.org&gt;
</content>
</entry>
<entry>
<title>Fixed #35744 -- Relabelled external aliases of combined queries.</title>
<updated>2024-10-14T23:21:48Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-10-14T23:21:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=53ea4cce2fd08e84b9cdb6363267ccb9525f7060'/>
<id>urn:sha1:53ea4cce2fd08e84b9cdb6363267ccb9525f7060</id>
<content type='text'>
Just like normal queries, combined queries' outer references might fully
resolve before their reference is assigned its final alias.

Refs #29338.

Thanks Antony_K for the report and example, and thanks Mariusz Felisiak
for the review.</content>
</entry>
<entry>
<title>Fixed #35586 -- Added support for set-returning database functions.</title>
<updated>2024-08-12T13:35:19Z</updated>
<author>
<name>Devin Cox</name>
<email>dcox@surefyre.co</email>
</author>
<published>2024-08-09T20:56:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e03083917db03757e48f8edac4c8491b72c8a3c4'/>
<id>urn:sha1:e03083917db03757e48f8edac4c8491b72c8a3c4</id>
<content type='text'>
Aggregation optimization didn't account for not referenced set-returning annotations on Postgres.

Co-authored-by: Simon Charette &lt;charette.s@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL injection attacks against JSON fields.</title>
<updated>2024-08-06T06:50:08Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-07-25T16:19:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c87bfaacf8fb84984243b5055dc70f97996cb115'/>
<id>urn:sha1:c87bfaacf8fb84984243b5055dc70f97996cb115</id>
<content type='text'>
Thanks Eyal (eyalgabay) for the report.
</content>
</entry>
<entry>
<title>Refs #373 -- Added tuple lookups.</title>
<updated>2024-08-01T15:26:09Z</updated>
<author>
<name>Bendeguz Csirmaz</name>
<email>csirmazbendeguz@gmail.com</email>
</author>
<published>2024-07-23T13:17:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1eac690d25dd49088256954d4046813daa37dc95'/>
<id>urn:sha1:1eac690d25dd49088256954d4046813daa37dc95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35585 -- Corrected Query.exists() call in Query.has_results().</title>
<updated>2024-07-23T14:36:26Z</updated>
<author>
<name>Flavio Curella</name>
<email>89607+fcurella@users.noreply.github.com</email>
</author>
<published>2024-07-23T14:36:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f9bf616597d56deac66d9d6bb753b028dd9634cc'/>
<id>urn:sha1:f9bf616597d56deac66d9d6bb753b028dd9634cc</id>
<content type='text'>
</content>
</entry>
</feed>
