Releases: MagicStack/uvloop
v0.15.0
New Features
-
Add name keyword argument to
loop.create_task()
(by @fantix in d51ce36 for #309) -
Add typing support
(by @bryanforbes in 9426e2b, for #358)
Bug Fixes
-
SSL: many improvements
(by @fantix in 6476aad, 8beacd2, 98e113e, ae44ec2, @asvetlov in 9bc4a20) -
Fix
KeyboardInterrupt
handling logic
(by @1st1 in c32c703 for #295, @jack1142 in 8c471f8 for #337) -
Python 3.8/3.9 compatibility fixes, drop support for 3.5/3.6
(by @jack1142 in 2870219 for #314, @achimnol in 0d14ec6 for #328, @aeros in 6ef69a7 for #349, @shadchin in 1fd9066, @fantix in 465717f, 200e140, afc3ee8, cdd2218, b7048b9) -
UDP: multiple bug fixes
(by @fantix in 1d9267a for #319, 9e017e6 for #304, 506a2aa) -
Pipe: a critical crash fix that affects subprocess, pipe and socketpair
(by @fantix in 5d41af8 and @tardyp in c392972 for #311 #312 #317) -
Restore context on protocol callbacks
(by @versusvoid in 7b202cc for #305, @fantix in f691212) -
Subprocess: stdio bug fixes
(by @fantix in 8cdb300 for #136, @lovasoa in 68db1a2 for #363) -
Sock: fix issue in
sock_connect()
for large concurrency
(by @fantix in fe3d028 for #378) -
Misc fixes about docs URL, test typo, and CI compatibility
(by @asfaltboy in 3810530, @felixonmars in fcb3735, @fantix in 6596685)
Build
v0.14.0
New Features
Bug Fixes
-
Multiple fixes in the SSL/TLS layer.
(by @fantix in 82104fb for #263, 7fcbfed for #255, e6fd637) -
Restore
signal.wakeup_fd
after the event loop is closed.
(by @vladima in 48d376d, @1st1 in d76d982) -
Handle large timeouts in
loop.call_later()
.
(by @1st1 in 1a0d657 for #259) -
Fix possible feezing of uvloop on
os.fork
.
(by @grungy-ado in fde5d14) -
Better handle Unix sockets for datagram transports.
(by @mosquito and @1st1 in dd4cb7a for #269) -
Avoid double connecting to
remote_addr
for datagram transports.
(by @1st1 in bed926c for #276)
Build
v0.14.0rc2
v0.14.0rc1
New Features
Bug Fixes
-
Multiple fixes in the SSL/TLS layer.
(by @fantix in 82104fb for #263, 7fcbfed for #255) -
Restore
signal.wakeup_fd
after the event loop is closed.
(by @vladima in 48d376d) -
Handle large timeouts in
loop.call_later()
.
(by @1st1 in 1a0d657 for #259) -
Fix possible feezing of uvloop on
os.fork
.
(by @grungy-ado in fde5d14) -
Better handle Unix sockets for datagram transports.
(by @mosquito and @1st1 in dd4cb7a for #269) -
Avoid double connecting to
remote_addr
for datagram transports.
(by @1st1 in bed926c for #276)
Build
v0.13.0
New Features
-
Implement
Server.start_serving()
and related APIs.
(by @jlaine in 7a4f00a) -
Make
Server
an asynchronous context manager.
(by @jlaine in d6c67e7 for #221)
Performance
-
Start using high-performance
uv_udp_t
handle. This
should result in a significantly faster UDP support.
(by @1st1 in c2b65bc) -
Make address validation faster in
udp.sendto()
.
(by @1st1 in 46c5e9e)
Misc
OSError
is no longer logged by Transports.
This matches asyncio behaviour in 3.8.
(by @Tobotimus in ef29dab)
Build
v0.13.0rc1
New Features
-
Implement
Server.start_serving()
and related APIs.
(by @jlaine in 7a4f00a) -
Make
Server
an asynchronous context manager.
(by @jlaine in d6c67e7 for #221)
Performance
-
Start using high-performance
uv_udp_t
handle. This
should result in a significantly faster UDP support.
(by @1st1 in c2b65bc) -
Make address validation faster in
udp.sendto()
.
(by @1st1 in 46c5e9e)
Build
v0.12.2
Bug Fixes
-
Fix circular references in SSL implementation to reduce
the need for GC.
(by @fantix in 3070ec8) -
Fix a memory leak in
call_later()
andcall_at()
.
The leak occurred when a callback argument had a reference to
the event loop.
(by @1st1 in 1a5dbc2 for #239) -
Fix compilation warnings.
(by @JelleZijlstra in d9a111b) -
Round (instead of flooring) delay in
call_later()
.
This ensures that the callback is never called slightly before
the specified time.
(by @fantix in 8f037a6 for #233)
v0.12.1
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
.