<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/models/query.py, branch stable/5.2.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-11-05T12:33:29Z</updated>
<entry>
<title>[5.2.x] Refs CVE-2025-64459 -- Avoided propagating invalid arguments to Q on dictionary expansion.</title>
<updated>2025-11-05T12:33:29Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-09-24T19:56:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ac9fcf6eb2c909f4150c5287808f49170ce1f9e2'/>
<id>urn:sha1:ac9fcf6eb2c909f4150c5287808f49170ce1f9e2</id>
<content type='text'>
Backport of 3c3f46357718166069948625354b8315a8505262 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36648, Refs #33772 -- Accounted for composite pks in first()/last() when aggregating.</title>
<updated>2025-10-14T19:50:26Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-10-13T21:22:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8baee531d40cd6ee8b342dbcf2c7924d20694969'/>
<id>urn:sha1:8baee531d40cd6ee8b342dbcf2c7924d20694969</id>
<content type='text'>
Backport of 02eed4f37879b2077496f86bb1378a076b981233 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36416 -- Made QuerySet.in_bulk() account for composite pks in id_list.</title>
<updated>2025-06-03T15:46:59Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-05-24T18:03:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2bf4c5b9eaaf0a36cb0fb6c060625a5fb2fcf6c9'/>
<id>urn:sha1:2bf4c5b9eaaf0a36cb0fb6c060625a5fb2fcf6c9</id>
<content type='text'>
Backport of 26313bc21932d0d3af278ab387549d63b1f64575 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36388 -- Made QuerySet.union() return self when called with no arguments.</title>
<updated>2025-05-19T08:36:08Z</updated>
<author>
<name>Colleen Dunlap</name>
<email>colleendunlap@Colleens-Air.lan</email>
</author>
<published>2025-05-15T19:41:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=787f3130f751283140fe2be8188eb5299552232d'/>
<id>urn:sha1:787f3130f751283140fe2be8188eb5299552232d</id>
<content type='text'>
Regression in 9cb8baa0c4fa2c10789c5c8b65f4465932d4d172.
Thank you to Antoine Humeau for the report and Simon Charette for the review.

Backport of 802baf5da5b8d8b44990a8214a43b951e7ab8b39 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36373 -- Fixed select_related() crash on foreign object for a composite pk.</title>
<updated>2025-05-12T11:34:45Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-05-08T18:02:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e23dd72880bf9975e928ef10ca4fdfa897665026'/>
<id>urn:sha1:e23dd72880bf9975e928ef10ca4fdfa897665026</id>
<content type='text'>
Thanks Jacob Walls for the report and Sarah for the in-depth review.

Backport of 8be0c0d6901669661fca578f474cd51cd284d35a from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36360 -- Fixed QuerySet.update() crash when referring annotations through values().</title>
<updated>2025-04-30T09:39:37Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-04-29T17:42:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7f6a5fbe2ef26d9970508d5a7236fe009ec274d0'/>
<id>urn:sha1:7f6a5fbe2ef26d9970508d5a7236fe009ec274d0</id>
<content type='text'>
The issue was only manifesting itself when also filtering againt a related
model as that forces the usage of a subquery because SQLUpdateCompiler doesn't
support the UPDATE FROM syntax yet.

Regression in 65ad4ade74dc9208b9d686a451cd6045df0c9c3a.

Refs #28900.

Thanks Gav O'Connor for the detailed report.

Backport of 8ef4e0bd423ac3764004c73c3d1098e7a51a2945 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36288 -- Addressed improper handling of duplicates in values_list().</title>
<updated>2025-04-11T07:06:53Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-04-02T22:53:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b97af5e696b235876c1a1c8d8a704580f2aeabc2'/>
<id>urn:sha1:b97af5e696b235876c1a1c8d8a704580f2aeabc2</id>
<content type='text'>
Now that selected aliases are stored in sql.Query.selected: dict[str, Any]
the values_list() method must ensures that duplicate field name references are
assigned unique aliases.

Refs #28900.

Regression in 65ad4ade74dc9208b9d686a451cd6045df0c9c3a.

Thanks Claude for the report.

Backport of 21f8be76d43aa1ee5ae41c1e0a428cfea1f231c1 from main.
</content>
</entry>
<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 #36155 -- Improved error handling when annotate arguments require an alias.</title>
<updated>2025-01-30T11:18:08Z</updated>
<author>
<name>Vinko Mlačić</name>
<email>vinkomlacic@outlook.com</email>
</author>
<published>2025-01-28T21:57:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d567e3a52e8b3ef0f830e07b602ae1382657eb07'/>
<id>urn:sha1:d567e3a52e8b3ef0f830e07b602ae1382657eb07</id>
<content type='text'>
Regression in ed0cbc8d8b314e3b4a0305d0be3cf366d8ee4a74.

Backport of c6ace896a2da73356f7c9a655bbe32a0e3ce0435 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36118 -- Accounted for multiple primary keys in bulk_update max_batch_size.</title>
<updated>2025-01-29T09:25:00Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-01-27T09:28:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=a469397dd36a8691d77539e20a5112b0761e116a'/>
<id>urn:sha1:a469397dd36a8691d77539e20a5112b0761e116a</id>
<content type='text'>
Co-authored-by: Simon Charette &lt;charette.s@gmail.com&gt;

Backport of 5a2c1bc07d126ce32efaa157e712a8f3a7457b74 from main.
</content>
</entry>
</feed>
