Skip to content

Commit

Permalink
Set version to 7.0.347
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz committed Feb 21, 2022
1 parent 2e115b9 commit e6c317a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog #

## Version 7.0.437

Date: 2022-02-21

- Make the `bind` function behave as it should behave (like bind and
not being `then` alias). **This is technically a breaking change**,
the `bind` function should have been implemented in terms of `bind`
operation and not be an alias for `then`.

## Version 6.1.436

Date: 2022-02-16
Expand Down
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[cljs.build.api :as api]))

(def lib 'funcool/promesa)
(def version (format "6.1.%s" (b/git-count-revs nil)))
(def version (format "7.0.%s" (b/git-count-revs nil)))
(def class-dir "target/classes")
(def basis (b/create-basis {:project "deps.edn"}))
(def jar-file (format "target/%s-%s.jar" (name lib) version))
Expand Down
4 changes: 2 additions & 2 deletions doc/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ A promise library for Clojure and ClojureScript.
Leiningen:

```clojure
[funcool/promesa "6.1.436"]
[funcool/promesa "7.0.437"]
```

deps.edn:

```clojure
funcool/promesa {:mvn/version "6.1.436"}
funcool/promesa {:mvn/version "7.0.437"}
```

On the JVM platform _promesa_ is built on top of *completable futures*
Expand Down
5 changes: 2 additions & 3 deletions src/promesa/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,10 @@
(pt/-then p f executor)))

(defn bind
"A convenient alias for `then`."
([p f]
(pt/-then p f))
(pt/-bind p f))
([p f executor]
(pt/-then p f executor)))
(pt/-bind p f executor)))

(defn then'
"Chains a computation `f` (function) to be executed when the promise
Expand Down

0 comments on commit e6c317a

Please sign in to comment.