File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed
Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 11# Changelog #
22
3+ ## Version 7.0.437
4+
5+ Date: 2022-02-21
6+
7+ - Make the ` bind ` function behave as it should behave (like bind and
8+ not being ` then ` alias). ** This is technically a breaking change** ,
9+ the ` bind ` function should have been implemented in terms of ` bind `
10+ operation and not be an alias for ` then ` .
11+
312## Version 6.1.436
413
514Date: 2022-02-16
Original file line number Diff line number Diff line change 55 [cljs.build.api :as api]))
66
77(def lib 'funcool /promesa )
8- (def version (format " 6.1 .%s" (b/git-count-revs nil )))
8+ (def version (format " 7.0 .%s" (b/git-count-revs nil )))
99(def class-dir " target/classes" )
1010(def basis (b/create-basis {:project " deps.edn" }))
1111(def jar-file (format " target/%s-%s.jar" (name lib) version))
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ A promise library for Clojure and ClojureScript.
99Leiningen:
1010
1111``` clojure
12- [funcool/promesa " 6.1.436 " ]
12+ [funcool/promesa " 7.0.437 " ]
1313```
1414
1515deps.edn:
1616
1717``` clojure
18- funcool/promesa {:mvn/version " 6.1.436 " }
18+ funcool/promesa {:mvn/version " 7.0.437 " }
1919```
2020
2121On the JVM platform _ promesa_ is built on top of * completable futures*
Original file line number Diff line number Diff line change 156156 (pt/-then p f executor)))
157157
158158(defn bind
159- " A convenient alias for `then`."
160159 ([p f]
161- (pt/-then p f))
160+ (pt/-bind p f))
162161 ([p f executor]
163- (pt/-then p f executor)))
162+ (pt/-bind p f executor)))
164163
165164(defn then '
166165 " Chains a computation `f` (function) to be executed when the promise
You can’t perform that action at this time.
0 commit comments