Releases: MagicStack/uvloop
v0.12.0
New Features
-
New SSL implementation. The new implementation is faster and
and more complete, and might become the default SSL implementation
in asyncio 3.9.See the linked issue for more details.
-
New
uvloop.install()
helper function.Instead of
import asyncio import uvloop asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
it is now possible to simply write
import uvloop uvloop.install()
Bug Fixes
-
All bug fixes from
0.11.0
—0.11.3
are included in
this release. -
ssl.CertificateError
is no longer logged as it's delivered to
theProtocol.connection_lost()
anyways.
(by @fantix in 848e478 for #195, #199) -
Don't use non-existent
UDPTransport._address
attribute.
(by @jlaine in f24c2c5 for #207)
Performance
Build
-
Upgrade Cython
0.28.x
->0.29.0
. -
Upgrade libuv
v1.22.0
->v1.23.0
.
v0.12.0rc1
New Features
-
New SSL implementation. The new implementation is faster and
and more complete, and will become the default SSL implementation
in asyncio 3.8. This is a significant change that warrants a release
candidate to make sure it is tested properly.See the linked issue for more details.
-
New
uvloop.install()
helper function.Instead of
import asyncio import uvloop asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
it is now possible to simply write
import uvloop uvloop.install()
Bug Fixes
-
All bug fixes from
0.11.0
—0.11.3
are included in
this release. -
ssl.CertificateError
is no longer logged as it's delivered to
theProtocol.connection_lost()
anyways.
(by @fantix in 848e478 for #195, #199)
Build
-
Upgrade Cython
0.28.x
->0.29.0
. -
Upgrade libuv
v1.22.0
->v1.23.0
.
v0.11.3
Bug Fixes
-
Use new
PyOS_BeforeFork
andPyOS_AfterFork_*
3.7 APIs when available
(by @1st1 in 75e7c32) -
Fix async generators finalization to function correctly in debug mode
(by @1st1 in dcbb1f4 for #200) -
Pass
backlog
toloop.create_unix_server()
when a server is created via
loop.create_server(sock=unix_sock, backlog=backlog)
.
(by @hikoz in 40ad257) -
Don't raise "requires a DNS lookup" error on Unix Domain Socket (#204)
(by @pax0r in 9fc3ca2 for #204)
Build
v0.11.2
v0.10.3
v0.11.1
Bug Fixes
-
Fix server to shutdown when alive connections exist
(by @ciscorn in 5f71e29 for #180 in PR #181) -
Fix a few bugs and crashes in UDP layer
(by @1st1 in e0b5ea0, 5eef2d5 for #190) -
Fix FD leakage if spawning a subprocess fails
(by @1st1 in 4f6621e for #185, #186) -
Fix libuv process handles leak when
uv_spawn()
fails
(by @1st1 in 92ea517 for #187)
v0.11.0
New Features
Bug Fixes
-
Fix Server to wait in wait_closed() until all transports are done.
(by @1st1 in 124e981) -
SSLTransport.abort() should mark the transport as closed.
(by @1st1 in 4d6621f) -
Fix 3.7 32bit builds.
(by @1st1 in a68f3c9, b5b4abb for #172)
Build
v0.10.2
Bug Fixes
-
Use a proper type for the thread indent (fixes 32-bit build for 3.7.)
(by @1st1 in 700582a for #172) -
Fix cancellation race in
loop.sock_recv()
andloop.sock_recv_into()
methods. (by @andr-04 and @1st1 in 298851b for #169) -
Sync SSL error messages with CPython's SSL implementation.
(by @1st1 in c3aeff2) -
Fix
SSLTransport.abort()
to mark the transport as closed.
(by @1st1 in ba25d8b) -
Detect if libuv submodule has not been checked out in
setup.py
.
(by @1st1 in dd8060d)
v0.10.1
Bug Fixes
-
Increase default SSL handshake timeout to 60 seconds.
(by @1st1 in 70c332c, fixes #161) -
Add
ssl_handshake_timeout
parameter toloop.create_connection()
,
loop.create_server()
,loop.create_unix_connection()
,
loop.create_unix_server()
,loop.connect_accepted_socket()
.
(by @1st1 in 68dd733, addresses #161) -
Consistently close transports if create_server/create_connection/etc
timeout or cancelled.
(by @1st1 in ac90d8b and 77ee4f9)
v0.10.0
New Features
-
Initial support for Python 3.7.
(by @pfreixes in c3a5ec8 for #138) -
Implement PEP 567 support (contextvars module) for Python 3.7.
(by @1st1 in 2a4fab4, 878e416, and b2bdaae for #155) -
Add uvloop's own version of
asyncio/sslproto.py
. SSL is now ~50% faster.
(by @1st1 in 4d91264) -
Convert Future-returning loop methods to coroutines to match asyncio 3.7.
(by @1st1 in 7384b22) -
Allow file objects to be passed to
loop.subprocess*()
functions.
(by @1st1 in f083090 for #136) -
Make signals processing more reliable.
(by @1st1 in 6e03e51) -
Prohibit adding a signal handler for
SIGCHLD
.
(by @1st1 in cd53b7f for #156)
Bug Fixes
-
Make sure UDP handles are cleaned-up properly.
(by @1st1 in 13f63e0) -
Fix
subprocess.close()
to let its processes die gracefully.
(by @1st1 in a78e4d2 and a455af3 for #128) -
Fix
sock_connect()
to resolve addresses for correct socket family.
(by @1st1 in ce2bd4f for #139) -
Fix a race condition in SSL handshake.
(by @1st1 in 447e124)