@@ -52,7 +52,7 @@ Backwards-incompatible changes
52
52
async def handler(request, path):
53
53
...
54
54
55
- You should switch to the recommended pattern since 10.1::
55
+ You should switch to the pattern recommended since version 10.1::
56
56
57
57
async def handler(request):
58
58
path = request.path # only if handler() uses the path argument
@@ -61,6 +61,16 @@ Backwards-incompatible changes
61
61
New features
62
62
............
63
63
64
+ .. admonition :: websockets 11.0 introduces a new :mod:`asyncio` implementation.
65
+ :class: important
66
+
67
+ This new implementation is intended to be a drop-in replacement for the
68
+ current implementation. It will become the default in a future release.
69
+ Please try it and report any issue that you encounter!
70
+
71
+ See :func: `websockets.asyncio.client.connect ` and
72
+ :func: `websockets.asyncio.server.serve ` for details.
73
+
64
74
* Validated compatibility with Python 3.12.
65
75
66
76
12.0
@@ -175,7 +185,8 @@ New features
175
185
It is particularly suited to client applications that establish only one
176
186
connection. It may be used for servers handling few connections.
177
187
178
- See :func: `~sync.client.connect ` and :func: `~sync.server.serve ` for details.
188
+ See :func: `websockets.sync.client.connect ` and
189
+ :func: `websockets.sync.server.serve ` for details.
179
190
180
191
* Added ``open_timeout `` to :func: `~server.serve `.
181
192
0 commit comments