Date: unreleased
This is a breaking change release. Finally bluebird is gone in favour of using the ES6 builtin Promise object. This removes the overhead (in size) of the additional external library.
The reason of using bluebird initially was because native promises performed badly, but in new versions javascript engines the performance and memory usage is improved significantly. In any case you can still use the bluebird if you want, thanks to the new functions:
set-default-promise!
: enables the user setting up a custom promise
constructor as default one for promesa library.extend-promise!
: enables the user to use a custom promise
implementation with promesa library abstractions.Other (also probably breaking) changes:
timeout
is now implemented in terms of internal scheduler
facilities (bluebird impl was used previously) and it is now
available for clojure (jvm).any
is reimplemented in clj/cljs and now accepts an additional
argument for setting the default return value if promise is
resolved. If default value is not provided, an ExceptionInfo will be
throwed.Date: 2018-08-03
Date: 2017-04-20
_
character from internal assets directory. That fixes incompatibilities
with cordova/android build tools.Date: 2017-02-21
then
function on clj in respect to cljs.async
macro (on cljs).Date: 2016-12-18
finally
implementation.Date: 2016-11-02
async
macro that uses core.async
machinary in order to build go
like macro and allow to have fully async/await syntax.clj->js
and js->clj
functions.Date: 2016-08-18
Date: 2016-07-10
Date: 2016-06-08
Date: 2016-06-08
finally
combinator function.do*
promise constructor (analogous to Promise.attempt
).promise.monad
namespace.Date: 2016-05-20
Date: 2016-03-19
Date: 2016-03-18
err
and error
alias as catch
analougous function
that has the parameters inverted in the same way as map
and mapcat
.Date: 2016-03-17
map
function.mapcat
function.Date: 2016-02-13
Date: 2016-02-13
promesa.monad
ns.async/await
like syntax.Date: 2016-01-08
Date: 2015-12-03
Important changes:
Other changes:
Date: 2015-09-27
Date: 2015-09-18
then
combinator.-name
protocol naming convention.Date: 2015-08-18
Date: 2015-08-02
Date: 2015-07-18
Date: 2015-06-13
Date: 2015-05-16
Date: 2015-04-16
Date: 2015-03-28
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close