Releases: syrusakbary/promise
Releases · syrusakbary/promise
v2.3.0
v2.2.0
Changelog
- Fixed compatibility with Python 3.5+
- Fixed
iscoroutinereturningTruefor generators (by usingiscoroutinefrominspectinstead 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 aTaskinstead of aPromisecode 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.resolvenow acts the same asPromise.castPromise.rejectis now a static method (instead of a instance one, like in previous versions)- New
Promise.allfast implementation. promise.getraised exceptions now include traceback.- Custom schedulers for
Promiseresolution.
Deprecation
Promise.promisifyis now a function wrapper, that executes the function, but returning aPromise. CallingPromise.promisifyon a static value will be deprecated in next versions.promise.fulfillis renamed topromise.do_fulfillpromise.rejected/promise.rejectis 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.