Skip to content

Tags: sthagen/MagicStack-uvloop

Tags

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

v0.12.0rc1

Toggle v0.12.0rc1's commit message
v0.12.0rc1

New Features

* New SSL implementation. (MagicStack#176)
  (by @fantix in 9cba749 for MagicStack#158)

* New `uvloop.install()` helper function.
  (by @1st1 in a3d8d40)

Bug Fixes

* All bug fixes from `0.11.0`—`0.11.3` are included in
  this release.

* Don't log `ssl.CertificateError`.
  (by @fantix in 848e478 for MagicStack#195, MagicStack#199)

Build

* Use Cython `0.29`.

* Upgrade libuv to `v1.23.0`.

v0.11.3

Toggle v0.11.3's commit message
v0.11.3

Bug Fixes

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

* Fix async generators finalization to work correctly in debug mode
  (by @1st1 in dcbb1f4 for MagicStack#200)

* Pass `backlog` should be passed to `loop.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 (MagicStack#204)
  (by @pax0r in 9fc3ca2 for MagicStack#204)

* Fix use of PyContext* APIs in 3.7.1
  (by @1st1 in 7474800)

Build

* Bump Cython to 0.28.5
  (by @1st1 in 1bbd6a8)