Releases: aio-libs/async-timeout
Releases · aio-libs/async-timeout
5.0.1
5.0.0
Features
- Make
asyncio_timeout
fully compatible with the standardasyncio.Timeout
but keep backward compatibility with existingasyncio_timeout.Timeout
API. (#422 <https://github.com/aio-libs/async-timeout/issues/422>
_)
Improved Documentation
- On the
CHANGES/README.rst <https://github.com/aio-libs/async-timeout/tree/master/CHANGES/README.rst>
_ page,
a link to theTowncrier philosophy
has been fixed. (#388 <https://github.com/aio-libs/async-timeout/issues/388>
_)
Deprecations and Removals
- Drop deprecated sync context manager support, use
async with timeout(...): ...
instead. (#421 <https://github.com/aio-libs/async-timeout/issues/421>
_)
4.0.3
- Fixed compatibility with asyncio.timeout() on Python 3.11+.
- Added support for Python 3.11.
- Dropped support for Python 3.6.
v4.0.2
v4.0.1
async-timeout 4.0.0
Changes
-
Implemented
timeout_at(deadline)
(#117) -
Supported
timeout.deadline
andtimeout.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 absolutetimeout.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
Changes
- More aggressive typing (#48)
async_timeout 3.0.0 release
CHANGES
-
Drop Python 3.4, the minimal supported version is Python 3.5.3
-
Provide type annotations
async-timeout 2.0.1 release
Changes
- Fix
PendingDeprecationWarning
on Python 3.7 (#33)
async-timeout 2.0 release
Changes
-
Changed
timeout <= 0
behaviour- Backward incompatibility change, prior this version
0
was
shortcut forNone
- when timeout <= 0
TimeoutError
raised faster
- Backward incompatibility change, prior this version