Skip to content

Commit e6c317a

Browse files
committed
Set version to 7.0.347
1 parent 2e115b9 commit e6c317a

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
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

514
Date: 2022-02-16

build.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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))

doc/user-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ A promise library for Clojure and ClojureScript.
99
Leiningen:
1010

1111
```clojure
12-
[funcool/promesa "6.1.436"]
12+
[funcool/promesa "7.0.437"]
1313
```
1414

1515
deps.edn:
1616

1717
```clojure
18-
funcool/promesa {:mvn/version "6.1.436"}
18+
funcool/promesa {:mvn/version "7.0.437"}
1919
```
2020

2121
On the JVM platform _promesa_ is built on top of *completable futures*

src/promesa/core.cljc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,10 @@
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

0 commit comments

Comments
 (0)