Skip to content

Releases: aio-libs/async-timeout

4.0.3

10 Aug 16:35
a489744
Compare
Choose a tag to compare
  • Fixed compatibility with asyncio.timeout() on Python 3.11+.
  • Added support for Python 3.11.
  • Dropped support for Python 3.6.

v4.0.2

20 Dec 09:14
5128f7f
Compare
Choose a tag to compare

Misc

v4.0.1

10 Nov 21:11
Compare
Choose a tag to compare
  • Fix regression:

    1. Don't raise TimeoutError from timeout object that doesn't enter into async context
      manager

    2. Use call_soon() for raising TimeoutError if deadline is reached on entering into
      async context manager

    (#258)

  • Make Timeout class available in __all__.

async-timeout 4.0.0

01 Nov 10:54
Compare
Choose a tag to compare

Changes

  • Implemented timeout_at(deadline) (#117)

  • Supported timeout.deadline and timeout.expired properties.

  • Drooped timeout.remaining property: it can be calculated as
    timeout.deadline - loop.time()

  • Dropped timeout.timeout property that returns a relative timeout based on the
    timeout object creation time; the absolute timeout.deadline should be used
    instead.

  • Added the deadline modification methods: timeout.reject(),
    timeout.shift(delay), timeout.update(deadline).

  • Deprecated synchronous context manager usage

async_timeout 3.0.1 release

09 Oct 07:16
Compare
Choose a tag to compare

Changes

  • More aggressive typing (#48)

async_timeout 3.0.0 release

09 Oct 07:05
28f96b7
Compare
Choose a tag to compare

CHANGES

  • Drop Python 3.4, the minimal supported version is Python 3.5.3

  • Provide type annotations

async-timeout 2.0.1 release

13 Mar 09:57
Compare
Choose a tag to compare

Changes

  • Fix PendingDeprecationWarning on Python 3.7 (#33)

async-timeout 2.0 release

13 Mar 09:57
Compare
Choose a tag to compare

Changes

  • Changed timeout <= 0 behaviour

    • Backward incompatibility change, prior this version 0 was
      shortcut for None
    • when timeout <= 0 TimeoutError raised faster

async-timeout 1.4.0 release

13 Mar 09:56
Compare
Choose a tag to compare

Changes

  • Implement remaining property (#20)

    • If timeout is not started yet or started unconstrained:
      remaining is None
    • If timeout is expired: remaining is 0.0
    • All others: roughly amount of time before TimeoutError is triggered

async-timeout 1.3.0 release

23 Aug 08:40
Compare
Choose a tag to compare

Changes

  • Don't suppress nested exception on timeout. Exception context points
    on cancelled line with suspended await (#13)

  • Introduce .timeout property (#16)

  • Add methods for using as async context manager (#9)