Releases: syrusakbary/promise
Releases · syrusakbary/promise
v2.3.0
v2.2.0
Changelog
- Fixed compatibility with Python 3.5
- Fixed
iscoroutine
returningTrue
for generators (by usingiscoroutine
frominspect
instead ofasyncio
)
2.2.0rc1
2.2.0 - Release candidate 1
(changelog to come soon)
v2.0.1
Changelog
- Fixed await blocked by context exit 26488d5 (thanks to @schrockn for the feedback!)
- Fixed
Promise.resolve(coroutine)
returning aTask
instead of aPromise
code sample
v2.0.0
Changelog
This is a completely rewritten version of Promise
in python, based in the ultra-performant and low-memory bluebird.js promise implementation.
- New dataloader implementation
Promise.resolve
now acts the same asPromise.cast
Promise.reject
is now a static method (instead of a instance one, like in previous versions)- New
Promise.all
fast implementation. promise.get
raised exceptions now include traceback.- Custom schedulers for
Promise
resolution.
Deprecation
Promise.promisify
is now a function wrapper, that executes the function, but returning aPromise
. CallingPromise.promisify
on a static value will be deprecated in next versions.promise.fulfill
is renamed topromise.do_fulfill
promise.rejected
/promise.reject
is renamed topromise.do_reject
v1.0.1
v1.0 - Static type Promises
Added static type checking (using mypy) tests and increased coverage to 100%.
v0.4.0
First version of promise.