Skip to content

Tags: graingert/uvloop

Tags

v0.15.1

Toggle v0.15.1's commit message

Verified

This tag was signed with the committer’s verified signature.
edgedb-ci EdgeDB CI and Release Bot
v0.15.1

Bug Fixes

* Fix a reference issue when used in Cython
  (by @fantix in 70cafc8)

v0.15.0

Toggle v0.15.0's commit message

Verified

This tag was signed with the committer’s verified signature.
edgedb-ci EdgeDB CI and Release Bot
v0.15.0

New Features

* Add name keyword argument to `loop.create_task()`
  (by @fantix in d51ce36 for MagicStack#309)

* Add typing support
  (by @bryanforbes in 9426e2b, for MagicStack#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 MagicStack#295, @jack1142 in 8c471f8 for MagicStack#337)

* Python 3.8/3.9 compatibility fixes, drop support for 3.5/3.6
  (by @jack1142 in 2870219 for MagicStack#314, @achimnol in 0d14ec6 for MagicStack#328, @aeros in 6ef69a7 for MagicStack#349, @shadchin in 1fd9066, @fantix in 465717f, 200e140, afc3ee8, cdd2218, b7048b9)

* UDP: multiple bug fixes
  (by @fantix in 1d9267a for MagicStack#319, 9e017e6 for MagicStack#304, 506a2aa)

* Pipe: a critical crash fix that affects subprocess, pipe and socketpair
  (by @fantix in 5d41af8 and @tardyp in c392972 for MagicStack#311 MagicStack#312 MagicStack#317)

* Restore context on protocol callbacks
  (by @versusvoid in 7b202cc for MagicStack#305, @fantix in f691212)

* Subprocess: stdio bug fixes
  (by @fantix in 8cdb300 for MagicStack#136, @lovasoa in 68db1a2 for MagicStack#363)

* Sock: fix issue in `sock_connect()` for large concurrency
  (by @fantix in fe3d028 for MagicStack#378)

* Misc fixes about docs URL, test typo, and CI compatibility
  (by @asfaltboy in 3810530, @felixonmars in fcb3735, @fantix in 6596685)

Build

* Check Cython version semantically
  (by @YoSTEALTH in 5dc299b)

* Add `.flake8` to distribution tarball
  (by @jlaine in e8eb502 for MagicStack#330)

* Switch to Github actions
  (by @elprans in 3be8967, e21ceea, @fantix in 311997e)

* Bump libuv to v1.40.0
  (by @fantix in 998c19e)

v0.14.0

Toggle v0.14.0's commit message
v0.14.0

New Features

* Add support for Python 3.8.
  (by @1st1 in 5f48dab, 51636f7)

Bug Fixes

* Multiple fixes in the SSL/TLS layer.
  (by @fantix in 82104fb for MagicStack#263, 7fcbfed for MagicStack#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 MagicStack#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 MagicStack#269)

* Avoid double connecting to `remote_addr` for datagram transports.
  (by @1st1 in bed926c for MagicStack#276)

Build

* Bump Cython to 0.29.13.
  (by @1st1 in 65c1a04)

* Bump libuv to v1.33.1.
  (by @1st1 in 34fd827)

v0.14.0rc2

Toggle v0.14.0rc2's commit message
v0.14.0rc2

Bug Fixes

* Fix libuv not waking up on SIGINT.
  (by @1st1 in c32c703 for MagicStack#295)

* Fix SSL proto to better handle EOF.
  (by @fantix in 6476aad)

v0.14.0rc1

Toggle v0.14.0rc1's commit message
New Features

* Add support for Python 3.8.
  (by @1st1 in 5f48dab, 51636f7)

Bug Fixes

* Multiple fixes in the SSL/TLS layer.
  (by @fantix in 82104fb for MagicStack#263, 7fcbfed for MagicStack#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 MagicStack#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 MagicStack#269)

* Avoid double connecting to `remote_addr` for datagram transports.
  (by @1st1 in bed926c for MagicStack#276)

Build

* Bump Cython to 0.29.13.
  (by @1st1 in 65c1a04)

* Bump libuv to v1.33.1.
  (by @1st1 in 34fd827)

v0.13.0

Toggle v0.13.0's commit message
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 MagicStack#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

* Upgrade to libuv `v1.31.0`.
  (by @1st1 in c2b65bc)

* Use `manylinux-2010`.  This means we no longer provide
  32bit builds for Linux.
  (by @1st1 in 3174b7d)

v0.13.0rc1

Toggle v0.13.0rc1's commit message
New Features

* Implement `Server.start_serving()` and related APIs.
  (by @jlaine in 7a4f00a)

* Make `Server` an asynchronous context manager.
  (by @jlaine in d6c67e7 for MagicStack#221)

Performance

* Start using high-performance uv_udp_t handle again.
  (by @1st1 in c2b65bc)

* Make address validation faster in `udp.sendto()`.
  (by @1st1 in 46c5e9e)

Build

* Upgrade to libuv v1.28.0.
  (by @1st1 in c2b65bc)

* Use `manylinux-2010`.  This means we no longer provide
  32bit builds for Linux.
  (by @1st1 in 3174b7d)

v0.12.2

Toggle v0.12.2's commit message
v0.12.2

* Fix circular references in SSL implementation to reduce
  the need for GC.
  (by @fantix in 3070ec8)

* Fix a memory leak in `call_later()` and `call_at()`.
  The leak occurred when a callback argument had a reference to
  the event loop.
  (by @1st1 in 1a5dbc2 for MagicStack#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 MagicStack#233)

v0.12.1

Toggle v0.12.1's commit message
v0.12.1

* Fix circular references case in SSL implementation.
  (by @fantix in a2e0dd8 for MagicStack#220)

* Cleanup refs to canceled callback handles.

  This removes potential reference cycles between bound methods
  and cancelled `Handle` / `TimerHandle` objects.

  (by @1st1 in f0a945d)

v0.12.0

Toggle v0.12.0's commit message
v0.12.0

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 9cba749 for MagicStack#158, MagicStack#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 a3d8d40)

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 848e478 for MagicStack#195, MagicStack#199)

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

Performance

* Improve `UDPTransport.sendto()` performance.
  (by @jlaine in d5ad2b8 for MagicStack#214)

Build

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

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