<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/docs/releases/5.0.8.txt, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2024-08-06T06:50:08Z</updated>
<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>Fixed CVE-2024-41991 -- Prevented potential ReDoS in django.utils.html.urlize() and AdminURLFieldWidget.</title>
<updated>2024-08-06T06:50:08Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-07-10T18:30:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=5f1757142febd95994caa1c0f64c1a0c161982c3'/>
<id>urn:sha1:5f1757142febd95994caa1c0f64c1a0c161982c3</id>
<content type='text'>
Thanks Seokchan Yoon for the report.

Co-authored-by: Sarah Boyce &lt;42296566+sarahboyce@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fixed CVE-2024-41990 -- Mitigated potential DoS in urlize and urlizetrunc template filters.</title>
<updated>2024-08-06T06:50:08Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2024-07-18T11:19:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ecf1f8fb900f94de08c945164633e9a28a2edadb'/>
<id>urn:sha1:ecf1f8fb900f94de08c945164633e9a28a2edadb</id>
<content type='text'>
Thanks to MProgrammer for the report.
</content>
</entry>
<entry>
<title>Fixed CVE-2024-41989 -- Prevented excessive memory consumption in floatformat.</title>
<updated>2024-08-06T06:50:08Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2024-07-12T09:38:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c19465ad87e33b6122c886b97a202ad54cd43672'/>
<id>urn:sha1:c19465ad87e33b6122c886b97a202ad54cd43672</id>
<content type='text'>
Thanks Elias Myllymäki for the report.

Co-authored-by: Shai Berger &lt;shai@platonix.com&gt;
</content>
</entry>
<entry>
<title>Fixed #35657 -- Made FileField handle db_default values.</title>
<updated>2024-08-05T19:36:49Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2024-08-05T19:36:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8deb6bb1fc427762d56646bf7306cbd11fb5bb68'/>
<id>urn:sha1:8deb6bb1fc427762d56646bf7306cbd11fb5bb68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35638 -- Updated validate_constraints to consider db_default.</title>
<updated>2024-08-05T15:33:12Z</updated>
<author>
<name>David Sanders</name>
<email>shang.xiao.sanders@gmail.com</email>
</author>
<published>2024-08-05T06:22:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=509763c79952cde02d9f5b584af4278bdbed77b2'/>
<id>urn:sha1:509763c79952cde02d9f5b584af4278bdbed77b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35628 -- Allowed compatible GeneratedFields for ModelAdmin.date_hierarchy.</title>
<updated>2024-08-05T13:27:20Z</updated>
<author>
<name>John Parton</name>
<email>john.parton.iv@gmail.com</email>
</author>
<published>2024-07-24T18:53:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7f8d839722b72aeb3ec5a4278ae57c18283acacd'/>
<id>urn:sha1:7f8d839722b72aeb3ec5a4278ae57c18283acacd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added stub release notes and release date for 5.0.8 and 4.2.15.</title>
<updated>2024-07-31T09:21:32Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2024-07-31T09:21:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3f880890699d4412cf23b59dba425111f62afb3a'/>
<id>urn:sha1:3f880890699d4412cf23b59dba425111f62afb3a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35627 -- Raised a LookupError rather than an unhandled ValueError in get_supported_language_variant().</title>
<updated>2024-07-25T07:38:46Z</updated>
<author>
<name>Lorenzo Peña</name>
<email>lorinkoz@gmail.com</email>
</author>
<published>2024-07-23T10:06:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0e94f292cda632153f2b3d9a9037eb0141ae9c2e'/>
<id>urn:sha1:0e94f292cda632153f2b3d9a9037eb0141ae9c2e</id>
<content type='text'>
LocaleMiddleware didn't handle the ValueError raised by
get_supported_language_variant() when language codes were
over 500 characters.

Regression in 9e9792228a6bb5d6402a5d645bc3be4cf364aefb.
</content>
</entry>
<entry>
<title>Fixed #35625 -- Fixed a crash when adding a field with db_default and check constraint.</title>
<updated>2024-07-25T05:48:53Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-07-23T04:33:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f359990e4909db8722820849d61a6f5724338723'/>
<id>urn:sha1:f359990e4909db8722820849d61a6f5724338723</id>
<content type='text'>
This is the exact same issue as refs #30408 but for creating a model with a
constraint containing % escapes instead of column addition. All of these issues
stem from a lack of SQL and parameters separation from the BaseConstraint DDL
generating methods preventing them from being mixed with other parts of the
schema alteration logic that do make use of parametrization on some backends
(e.g. Postgres, MySQL for DEFAULT).

Prior to the addition of Field.db_default and GeneratedField in 5.0
parametrization of DDL was never exercised on model creation so this is
effectively a bug with db_default as the GeneratedField case was addressed by
refs #35336.

Thanks Julien Chaumont for the report and Mariusz Felisiak for the review.
</content>
</entry>
</feed>
