Skip to content

Commit 12fa8bc

Browse files
committed
Complete changelog with changes since 12.0.
1 parent 9d355bf commit 12fa8bc

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

docs/project/changelog.rst

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ notice.
3535
Backwards-incompatible changes
3636
..............................
3737

38+
.. admonition:: websockets 13.0 requires Python ≥ 3.8.
39+
:class: tip
40+
41+
websockets 12.0 is the last version supporting Python 3.7.
42+
3843
.. admonition:: Receiving the request path in the second parameter of connection
3944
handlers is deprecated.
4045
:class: note
@@ -64,9 +69,8 @@ Backwards-incompatible changes
6469
implementation is renamed to :class:`~sync.server.Server`.
6570
:class: note
6671

67-
This class isn't designed to be imported or instantiated directly.
68-
:func:`~sync.server.serve` returns an instance. For this reason,
69-
the change should be transparent.
72+
This change should be transparent because this class shouldn't be
73+
instantiated directly; :func:`~sync.server.serve` returns an instance.
7074

7175
Regardless, an alias provides backwards compatibility.
7276

@@ -91,6 +95,22 @@ New features
9195
If you were monkey-patching constants, be aware that they were renamed, which
9296
will break your configuration. You must switch to the environment variables.
9397

98+
Improvements
99+
............
100+
101+
* The error message in server logs when a header is too long is more explicit.
102+
103+
Bug fixes
104+
.........
105+
106+
* Fixed a bug in the :mod:`threading` implementation that could prevent the
107+
program from exiting when a connection wasn't closed properly.
108+
109+
* Redirecting from a ``ws://`` URI to a ``wss://`` URI now works.
110+
111+
* ``broadcast(raise_exceptions=True)`` no longer crashes when there isn't any
112+
exception.
113+
94114
.. _12.0:
95115

96116
12.0

0 commit comments

Comments
 (0)