Releases: aio-libs/async-timeout
Releases · aio-libs/async-timeout
4.0.3
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
async-timeout 1.4.0 release
Changes
-
Implement
remaining
property (#20)- If timeout is not started yet or started unconstrained:
remaining
isNone
- If timeout is expired:
remaining
is0.0
- All others: roughly amount of time before
TimeoutError
is triggered
- If timeout is not started yet or started unconstrained: