<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/django/db/models/sql/query.py, branch devmain</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=devmain</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=devmain'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2026-06-10T14:17:34Z</updated>
<entry>
<title>Fixed #37142 -- Moved django_file_prefixes() to django.utils.warnings.</title>
<updated>2026-06-10T14:17:34Z</updated>
<author>
<name>zhengkangyang</name>
<email>1872483761@qq.com</email>
</author>
<published>2026-06-06T08:17:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=f970a98e464320c09dde8d45009eadfb4d038a57'/>
<id>urn:sha1:f970a98e464320c09dde8d45009eadfb4d038a57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #37097 -- Removed compilation-time order clearing on combined queries on Oracle.</title>
<updated>2026-05-18T21:06:14Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2026-05-13T14:31:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=fbe902d4a4b8b9dcb371509b25ba8feff3852e64'/>
<id>urn:sha1:fbe902d4a4b8b9dcb371509b25ba8feff3852e64</id>
<content type='text'>
Thanks Simon Charette, JaeHyuck Sa, and Shai Berger for reviews.
</content>
</entry>
<entry>
<title>Fixed #37097 -- Made Query.clear_ordering() clear ordering on combined queries also.</title>
<updated>2026-05-18T21:06:14Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2026-05-12T21:00:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=0e1d950fbb44878f6972a0e5730f69f98caf468e'/>
<id>urn:sha1:0e1d950fbb44878f6972a0e5730f69f98caf468e</id>
<content type='text'>
Thanks Shai Berger for the report.

Regression in 087bb9e8f3478d53f12b1737af865992af17c5f2.

(That commit drove more traffic into an error that would have been
reachable only with an explicit order_by() after each union().)

Co-authored-by: Simon Charette &lt;charettes@gmail.com&gt;
Co-authored-by: siddus &lt;dcsid10@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #37047 -- Fixed crash in Query.orderby_issubset_groupby for descending and random order_by strings.</title>
<updated>2026-04-19T08:03:11Z</updated>
<author>
<name>Anže Pečar</name>
<email>anze@pecar.me</email>
</author>
<published>2026-04-18T11:54:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=a284a49153f005f2a7af087025e5112ba06cbd5f'/>
<id>urn:sha1:a284a49153f005f2a7af087025e5112ba06cbd5f</id>
<content type='text'>
Run this example:

```python
User.objects.values("is_staff").annotate(latest=Max("date_joined")).order_by("-latest").count()
```

You should see the following exception:

```
django.core.exceptions.FieldError: Cannot resolve keyword '-latest' into field.
```

Regression in 2ce5cb0f7a4618dfdc5f5c10e53e2e9b9543d298.
</content>
</entry>
<entry>
<title>Fixed #20024 -- Fixed handling of __in lookups with None in exclude().</title>
<updated>2026-04-02T15:24:26Z</updated>
<author>
<name>Eddy Adegnandjou</name>
<email>adegnandjoueddy12@gmail.com</email>
</author>
<published>2025-10-31T08:00:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=cec10f992be8eed5ed90506375ae5794cbb7069e'/>
<id>urn:sha1:cec10f992be8eed5ed90506375ae5794cbb7069e</id>
<content type='text'>
Thanks Simon Charette and Tim Graham for reviews, and Jason Hall for a
prior iteration.
</content>
</entry>
<entry>
<title>Refs CVE-2026-1312 -- Raised ValueError when FilteredRelation aliases contain periods.</title>
<updated>2026-02-03T12:56:04Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2026-01-21T23:00:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=005d60d97c4dfb117503bdb6f2facfcaf9315d84'/>
<id>urn:sha1:005d60d97c4dfb117503bdb6f2facfcaf9315d84</id>
<content type='text'>
This prevents failures at the database layer, given that aliases in the
ON clause are not quoted.

Systematically quoting aliases even in FilteredRelation is tracked in
https://code.djangoproject.com/ticket/36795.
</content>
</entry>
<entry>
<title>Fixed CVE-2026-1287 -- Protected against SQL injection in column aliases via control characters.</title>
<updated>2026-02-03T12:55:04Z</updated>
<author>
<name>Jake Howard</name>
<email>git@theorangeone.net</email>
</author>
<published>2026-01-21T11:14:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=e891a84c7ef9962bfcc3b4685690219542f86a22'/>
<id>urn:sha1:e891a84c7ef9962bfcc3b4685690219542f86a22</id>
<content type='text'>
Control characters in FilteredRelation column aliases could be used for
SQL injection attacks. This affected QuerySet.annotate(), aggregate(),
extra(), values(), values_list(), and alias() when using dictionary
expansion with **kwargs.

Thanks Solomon Kebede for the report, and Simon Charette, Jacob Walls,
and Natalia Bidart for reviews.
</content>
</entry>
<entry>
<title>Fixed #36352 -- Improved error message for fields excluded by prior values()/values_list() calls.</title>
<updated>2026-01-16T15:28:14Z</updated>
<author>
<name>JaeHyuck Sa</name>
<email>wogur981208@gmail.com</email>
</author>
<published>2026-01-15T15:29:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=0239e86f387127dace7273208c300b33a065e021'/>
<id>urn:sha1:0239e86f387127dace7273208c300b33a065e021</id>
<content type='text'>
Signed-off-by: JaeHyuck Sa &lt;wogur981208@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #36821 -- Treated empty strings as NULL for iexact lookups on Oracle.</title>
<updated>2026-01-14T18:31:15Z</updated>
<author>
<name>JaeHyuck Sa</name>
<email>wogur981208@gmail.com</email>
</author>
<published>2026-01-14T15:09:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=4ce4ed72a4ddc7d101df0fd31f1d0e449d8af501'/>
<id>urn:sha1:4ce4ed72a4ddc7d101df0fd31f1d0e449d8af501</id>
<content type='text'>
Signed-off-by: JaeHyuck Sa &lt;wogur981208@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #26434 -- Removed faulty clearing of ordering field when missing from explicit grouping.</title>
<updated>2025-12-15T20:23:51Z</updated>
<author>
<name>Michal Mládek</name>
<email>osvc.04923031@gmail.com</email>
</author>
<published>2025-05-26T16:37:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=2ce5cb0f7a4618dfdc5f5c10e53e2e9b9543d298'/>
<id>urn:sha1:2ce5cb0f7a4618dfdc5f5c10e53e2e9b9543d298</id>
<content type='text'>
Co-authored-by: Simon Charette &lt;charette.s@gmail.com&gt;
</content>
</entry>
</feed>
