Skip to content

Releases: MagicStack/uvloop

v0.12.0

21 Jan 20:11

Choose a tag to compare

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

  • 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()

    (by @1st1 in a3d8d40)

Bug Fixes

  • All bug fixes from 0.11.00.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 #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

01 Nov 00:09

Choose a tag to compare

v0.12.0rc1 Pre-release
Pre-release

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 #158, #176)

  • 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()

    (by @1st1 in a3d8d40)

Bug Fixes

  • All bug fixes from 0.11.00.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 #195, #199)

Build

  • Upgrade Cython 0.28.x -> 0.29.0.

  • Upgrade libuv v1.22.0 -> v1.23.0.

v0.11.3

31 Oct 05:37

Choose a tag to compare

Bug Fixes

  • Use new PyOS_BeforeFork and PyOS_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 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 (#204)
    (by @pax0r in 9fc3ca2 for #204)

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

Build

v0.11.2

07 Aug 21:00

Choose a tag to compare

Bug Fixes

v0.10.3

07 Aug 18:53

Choose a tag to compare

Note: this is a bugfix release for 0.10.x branch. It's recommended to upgrade to 0.11.x.

Bug Fixes

  • Fix a memory leak in contextvars support.
    (#192 for more details)

v0.11.1

02 Aug 15:30

Choose a tag to compare

Bug Fixes

v0.11.0

05 Jul 00:52

Choose a tag to compare

New Features

Bug Fixes

Build

  • setup.py: Detect if the libuv submodule has not been checked out.
    (by @1st1 in a190cdd)

  • Fix race between futures cancellation and loop.remove_reader() /
    loop.remove_writer().
    (by @andr-04 and @1st1 in cb0a65a for #169)

  • Enable 3.7 CI on Travis and build wheels for 3.7.
    (by @1st1 in 37f964b for #179)

v0.10.2

25 Jun 18:03

Choose a tag to compare

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() and loop.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

01 Jun 23:12

Choose a tag to compare

Bug Fixes

  • Bump Cython from 0.28.2 to 0.28.3.
    (by @1st1 in 5044d24)

  • Increase default SSL handshake timeout to 60 seconds.
    (by @1st1 in 70c332c, fixes #161)

  • Add ssl_handshake_timeout parameter to loop.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

30 May 20:54

Choose a tag to compare

New Features

Bug Fixes