Uvloop

Latest version: v0.21.0

Safety actively analyzes 688674 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 12

0.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.

(by fantix in 9cba7493 for 158, 176)

* New `uvloop.install()` helper function.

Instead of

python
import asyncio
import uvloop
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())


it is now possible to simply write

python
import uvloop
uvloop.install()


(by 1st1 in a3d8d401)

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
the `Protocol.connection_lost()` anyways.
(by fantix in 848e4785 for 195, 199)

* Don't use non-existent `UDPTransport._address` attribute.
(by jlaine in f24c2c56 for 207)

Performance

* Improve `UDPTransport.sendto()` performance.
(by jlaine in d5ad2b86 for 214)

Build

* Upgrade Cython `0.28.x` -> `0.29.0`.

* Upgrade libuv `v1.22.0` -> `v1.23.0`.

0.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.

(by fantix in 9cba7493 for 158, 176)

* New `uvloop.install()` helper function.

Instead of

python
import asyncio
import uvloop
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())


it is now possible to simply write

python
import uvloop
uvloop.install()


(by 1st1 in a3d8d401)

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
the `Protocol.connection_lost()` anyways.
(by fantix in 848e4785 for 195, 199)

Build

* Upgrade Cython `0.28.x` -> `0.29.0`.

* Upgrade libuv `v1.22.0` -> `v1.23.0`.

0.11.3

Bug Fixes

* Use new `PyOS_BeforeFork` and `PyOS_AfterFork_*` 3.7 APIs when available
(by 1st1 in 75e7c32a)

* Fix async generators finalization to function correctly in debug mode
(by 1st1 in dcbb1f4f for 200)

* Pass `backlog` to `loop.create_unix_server()` when a server is created via
`loop.create_server(sock=unix_sock, backlog=backlog)`.
(by hikoz in 40ad257b)

* Don't raise "requires a DNS lookup" error on Unix Domain Socket (204)
(by pax0r in 9fc3ca2a for 204)

* Fix use of `PyContext*` APIs in 3.7.1
(by 1st1 in 74748005)

Build

* Bump Cython to 0.28.5
(by 1st1 in 1bbd6a82)

0.11.2

Bug Fixes

* Fix a memory leak related to contextvars support.
(by hellysmile and 1st1 in 2ddb4807 for 192)

0.11.1

Bug Fixes

* Fix server to shutdown when alive connections exist
(by ciscorn in 5f71e29f for 180 in PR 181)

* Fix a few bugs and crashes in UDP layer
(by 1st1 in e0b5ea03, 5eef2d5f for 190)

* Fix FD leakage if spawning a subprocess fails
(by 1st1 in 4f6621eb for 185, 186)

* Fix libuv process handles leak when `uv_spawn()` fails
(by 1st1 in 92ea5179 for 187)

0.11.0

New Features

* Implement support for `BufferedProtocol`.
(by 1st1 in a959f274, 76b34bef, f9c43937)

* Implement `loop.start_tls()`.
(by 1st1 in 622ed9c5)

* Add `Server.get_loop()`.
(by 1st1 in 6a42f841)


Bug Fixes

* Fix Server to wait in wait_closed() until all transports are done.
(by 1st1 in 124e981b)

* SSLTransport.abort() should mark the transport as closed.
(by 1st1 in 4d6621f7)

* Fix 3.7 32bit builds.
(by 1st1 in a68f3c9a, b5b4abb1 for 172)


Build

* `setup.py`: Detect if the libuv submodule has not been checked out.
(by 1st1 in a190cddb)

* Fix race between futures cancellation and `loop.remove_reader()` /
`loop.remove_writer()`.
(by andr-04 and 1st1 in cb0a65ae for 169)

* Enable 3.7 CI on Travis and build wheels for 3.7.
(by 1st1 in 37f964b7 for 179)

Page 4 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.