Releases: aio-libs/async-timeout
Releases · aio-libs/async-timeout
5.0.1
5.0.0
Features
- Make
asyncio_timeoutfully compatible with the standardasyncio.Timeoutbut keep backward compatibility with existingasyncio_timeout.TimeoutAPI. (#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 philosophyhas 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.deadlineandtimeout.expiredproperties. -
Drooped
timeout.remainingproperty: it can be calculated as
timeout.deadline - loop.time() -
Dropped
timeout.timeoutproperty that returns a relative timeout based on the
timeout object creation time; the absolutetimeout.deadlineshould 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
PendingDeprecationWarningon Python 3.7 (#33)
async-timeout 2.0 release
Changes
-
Changed
timeout <= 0behaviour- Backward incompatibility change, prior this version
0was
shortcut forNone - when timeout <= 0
TimeoutErrorraised faster
- Backward incompatibility change, prior this version