Skip to content

Commit 3ba622f

Browse files
committed
Release notes and version bump for 6.5.9
1 parent 41eea68 commit 3ba622f

3 files changed

Lines changed: 46 additions & 2 deletions

File tree

‎docs/releases.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Release notes
44
.. toctree::
55
:maxdepth: 2
66

7+
releases/v6.5.9
78
releases/v6.5.8
89
releases/v6.5.7
910
releases/v6.5.6

‎docs/releases/v6.5.9.rst‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
What's new in Tornado 6.5.9
2+
===========================
3+
4+
Sep 14, 2026
5+
------------
6+
7+
Security fixes
8+
~~~~~~~~~~~~~~
9+
10+
- `.StaticFileHandler` no longer follows symlinks outside of the static root directory.
11+
Applications that wish to continue the previous behavior may set the new argument
12+
``allowed_symlink_directory`` to the directory (an ancestor of the static root) that
13+
should be used for symlink validation. Thanks to `afldl <https://github.com/afldl>`_ and
14+
`iaokhut-from-NightWolf-Team <https://github.com/iaokhut-from-NightWolf-Team>`_ for
15+
reporting this issue.
16+
- ``curl_httpclient`` has a new ``max_body_size`` argument (default 100MB, same as
17+
for ``simple_httpclient``). This limit is enforced on all requests, whether or not
18+
``streaming_callback`` is used. ``curl_httpclient`` now also controls its memory usage
19+
when decompressing response bodies. Thanks to `afldl <https://github.com/afldl>`_,
20+
`iaohkut-from-NightWolf-Team <https://github.com/iaohkut-from-NightWolf-Team>`_, and
21+
`aoto-tech <https://github.com/aoto-tech>`_ for reporting this issue.
22+
- ``simple_httpclient`` now correctly applies the ``max_body_size`` limit to responses
23+
using HTTP/1.0 format (no ``Content-Length`` or ``Transfer-Encoding``). Previously it
24+
silently truncated such responses at ``max_buffer_size`` instead. Thanks to
25+
`afldl <https://github.com/afldl>`_ for reporting this issue.
26+
- ``simple_httpclient`` now rejects responses that use more than 10 ``100 Continue`` responses,
27+
which could previously cause stack overflow errors. Thanks to `afldl <https://github.com/afldl>`_
28+
for reporting this issue.
29+
- The limit ``ParseBodyConfig.urlencoded.max_argument`` is now applied to URL arguments
30+
in addition to ``POST`` bodies. Thanks to
31+
`iaohkut-from-NightWolf-Team <https://github.com/iaohkut-from-NightWolf-Team>`_,
32+
`afldl <https://github.com/afldl>`_, and `manus-pi <https://github.com/manus-pi>`_
33+
for reporting this issue.
34+
35+
Bug fixes
36+
~~~~~~~~~
37+
38+
`tornado.iostream`
39+
~~~~~~~~~~~~~~~~~~
40+
41+
- ``.IOStream.read_until_close`` now reports errors correctly when a stream closes uncleanly
42+
or exceeds a memory limit. Previously it would report a successful read of whatever was in the
43+
buffer.

‎tornado/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
# is zero for an official release, positive for a development branch,
2323
# or negative for a release candidate or beta (after the base version
2424
# number has been incremented)
25-
version = "6.5.8"
26-
version_info = (6, 5, 8, 0)
25+
version = "6.5.9"
26+
version_info = (6, 5, 9, 0)
2727

2828
import importlib
2929
import typing

0 commit comments

Comments
 (0)