<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/models/sql/query.py, branch 5.1.10</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=5.1.10</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=5.1.10'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2024-08-06T06:51:22Z</updated>
<entry>
<title>[5.1.x] Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL injection attacks against JSON fields.</title>
<updated>2024-08-06T06:51:22Z</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=e2583fbc2ebffce11b4444a7cec6336513e81f8b'/>
<id>urn:sha1:e2583fbc2ebffce11b4444a7cec6336513e81f8b</id>
<content type='text'>
Thanks Eyal (eyalgabay) for the report.
</content>
</entry>
<entry>
<title>Refs #35356 -- Clarified select related with masked field logic.</title>
<updated>2024-04-23T16:17:17Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-04-06T03:20:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=195d885ca01b14e3ce9a1881c3b8f7074f953736'/>
<id>urn:sha1:195d885ca01b14e3ce9a1881c3b8f7074f953736</id>
<content type='text'>
By always including related objects in the select mask via adjusting the
defer logic (_get_defer_select_mask()), it becomes possible for
select_related_descend() to treat forward and reverse relationships
indistinctively.

This work also simplifies and adds comments to
select_related_descend() to make it easier to understand.
</content>
</entry>
<entry>
<title>Fixed #35356 -- Deferred self-referential foreign key fields adequately.</title>
<updated>2024-04-23T16:17:17Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-04-06T03:08:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=83f5478225588f31e7cbbfed63a4a2b936abc03f'/>
<id>urn:sha1:83f5478225588f31e7cbbfed63a4a2b936abc03f</id>
<content type='text'>
While refs #34612 surfaced issues with reverse one-to-one fields
deferrals, it missed that switching to storing remote fields would break
self-referential relationships.

This change switches to storing related objects in the select mask
instead of remote fields to prevent collisions when dealing with
self-referential relationships that might have a different directional
mask.

Despite fixing #21204 introduced a crash under some self-referential
deferral conditions, it was simply not working even before that as it
aggregated the sets of deferred fields by model.

Thanks Joshua van Besouw for the report and Mariusz Felisiak for the
review.
</content>
</entry>
<entry>
<title>Fixed #35099 -- Prevented mutating queryset when combining with &amp; and | operators.</title>
<updated>2024-02-07T11:36:30Z</updated>
<author>
<name>Hisham Mahmood</name>
<email>hishammahmood41@gmail.com</email>
</author>
<published>2024-02-06T14:40:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d79fba7d8e7bbcdf53535a14d57ead5a6863cd8d'/>
<id>urn:sha1:d79fba7d8e7bbcdf53535a14d57ead5a6863cd8d</id>
<content type='text'>
Thanks Alan for the report.

Co-authored-by: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.</title>
<updated>2024-01-29T19:29:49Z</updated>
<author>
<name>Nicolas Delaby</name>
<email>nicolas.delaby@infarm.com</email>
</author>
<published>2024-01-23T10:51:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=820c5f1bacd41713bd30d8b5fefb66752ff15c4c'/>
<id>urn:sha1:820c5f1bacd41713bd30d8b5fefb66752ff15c4c</id>
<content type='text'>
Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
</content>
</entry>
<entry>
<title>Applied Black's 2024 stable style.</title>
<updated>2024-01-26T11:45:07Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-01-26T11:45:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=305757aec19c9d5111e4d76095ae0acd66163e4b'/>
<id>urn:sha1:305757aec19c9d5111e4d76095ae0acd66163e4b</id>
<content type='text'>
https://github.com/psf/black/releases/tag/24.1.0</content>
</entry>
<entry>
<title>Refs #35102 -- Optimized replace_expressions()/relabelling aliases by adding early return.</title>
<updated>2024-01-15T04:56:38Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-01-13T19:33:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f3d10546a850df4fe3796f972d5b7e16adf52f54'/>
<id>urn:sha1:f3d10546a850df4fe3796f972d5b7e16adf52f54</id>
<content type='text'>
This avoids costly hashing.

Thanks Anthony Shaw for the report.

Co-Authored-By: Simon Charette &lt;charette.s@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #35050 -- Fixed prefixing field names in FilteredRelation().</title>
<updated>2023-12-23T16:35:13Z</updated>
<author>
<name>David Wobrock</name>
<email>david.wobrock@gmail.com</email>
</author>
<published>2023-12-21T22:20:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=14917c9ae272f47d23401100faa6cefa8e1728bf'/>
<id>urn:sha1:14917c9ae272f47d23401100faa6cefa8e1728bf</id>
<content type='text'>
Thanks Mark Zorn for the report.

Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
</content>
</entry>
<entry>
<title>Fixed #35042 -- Fixed a count() crash on combined queries.</title>
<updated>2023-12-16T19:19:24Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-12-16T02:00:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=77278929c86168f075600d9d8c8e76a4792e672b'/>
<id>urn:sha1:77278929c86168f075600d9d8c8e76a4792e672b</id>
<content type='text'>
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7.

Thanks Marcin for the report.
</content>
</entry>
<entry>
<title>Refs #34717 -- Avoided computing aggregate refs twice.</title>
<updated>2023-11-18T14:41:25Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-11-18T00:55:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d7a9f006ed6d6323d3d66e75354202f4d1174ea0'/>
<id>urn:sha1:d7a9f006ed6d6323d3d66e75354202f4d1174ea0</id>
<content type='text'>
</content>
</entry>
</feed>
