@@ -35,6 +35,11 @@ notice.
35
35
Backwards-incompatible changes
36
36
..............................
37
37
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
+
38
43
.. admonition :: Receiving the request path in the second parameter of connection
39
44
handlers is deprecated.
40
45
:class: note
@@ -64,9 +69,8 @@ Backwards-incompatible changes
64
69
implementation is renamed to :class: `~sync.server.Server `.
65
70
:class: note
66
71
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.
70
74
71
75
Regardless, an alias provides backwards compatibility.
72
76
@@ -91,6 +95,22 @@ New features
91
95
If you were monkey-patching constants, be aware that they were renamed, which
92
96
will break your configuration. You must switch to the environment variables.
93
97
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
+
94
114
.. _12.0 :
95
115
96
116
12.0
0 commit comments