Release notes for 2.13.4. (#7144)

* Release notes for 2.13.4.

* Formatting.
This commit is contained in:
Andrey Rakhmatullin 2025-11-17 16:30:04 +05:00 committed by GitHub
parent c44b8df6c7
commit 31a9c03c24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 50 additions and 0 deletions

View File

@ -3,6 +3,56 @@
Release notes
=============
.. _release-2.13.4:
Scrapy 2.13.4 (unreleased)
--------------------------
Security bug fixes
~~~~~~~~~~~~~~~~~~
- Improved protection against decompression bombs in
:class:`~scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware`
for responses compressed using the ``br`` and ``deflate`` methods: if a
single compressed chunk would be larger than the response size limit (see
:setting:`DOWNLOAD_MAXSIZE`) when decompressed, decompression is no longer
carried out. This is especially important for the ``br`` (Brotli) method
that can provide a very high compression ratio. Please, see the
`CVE-2025-6176`_ and `GHSA-2qfp-q593-8484`_ security advisories for more
information.
(:issue:`7134`)
.. _CVE-2025-6176: https://nvd.nist.gov/vuln/detail/CVE-2025-6176
.. _GHSA-2qfp-q593-8484: https://github.com/advisories/GHSA-2qfp-q593-8484
Modified requirements
~~~~~~~~~~~~~~~~~~~~~
- The minimum supported version of the optional ``brotli`` package is now
``1.2.0``.
(:issue:`7134`)
- The ``brotlicffi`` and ``brotlipy`` packages can no longer be used to
decompress Brotli-compressed responses. Please install the ``brotli``
package instead.
(:issue:`7134`)
Other changes
~~~~~~~~~~~~~
- Restricted the maximum supported Twisted version to ``25.5.0``, as Scrapy
currently uses some private APIs changed in later Twisted versions.
(:issue:`7142`)
- Stopped setting the ``COVERAGE_CORE`` environment variable in tests, it
didn't have an effect but caused the ``coverage`` module to produce a
warning or an error.
(:issue:`7137`)
- Removed the documentation build dependency on the deprecated
``sphinx-hoverxref`` module.
(:issue:`6786`, :issue:`6922`)
.. _release-2.13.3:
Scrapy 2.13.3 (2025-07-02)