Skip to content

Commit 433fae1

Browse files
committed
prep for 2.0.137 (stable)
1 parent 03fdcf2 commit 433fae1

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22

33
> NOTE: Clojars has introduced a [Verified Group Names policy](https://github.com/clojars/clojars-web/wiki/Verified-Group-Names) which means no new libraries can be pushed to the `expectations` group, and `doo` filters out JAR artifacts that begin `clojure-` for self-hosted ClojureScript environments (i.e., `planck`), so continuing to use `clojure-test` for the artifact name is not viable. Accordingly, the 2.x versions of this library are published as `com.github.seancorfield/expectations`.
44
5-
* 2.0.x in progress (alpha3?)
5+
## Stable Releases
6+
7+
Only accretive/fixative changes will be made from now on.
8+
9+
* 2.0.137 -- 2021-11-07
610
* Address #22 by adding `clj-kondo.exports` (this is just a first pass; the `:lint-as` mappings will probably be replaced by hooks in the future).
711
* Fix #19 by supporting regex/patterns dynamically inside `=?` (as well as the compile-time support already in `expect`).
812
* Update `build-clj` to v0.5.0.
913
* Switch to `build.clj`/`tools.build` for CI/deploy.
1014

15+
## 2.0.x Prereleases
16+
1117
* 2.0.0-alpha2 -- 2021-06-09
1218
* Mostly a documentation refresh, compared to Alpha 1.
1319

@@ -18,6 +24,11 @@
1824
* Add various macro-like constructs back into the source code to improve the documentation (`in`, `from-each`, `more-of`, `more->`, `more` are really only syntactic constructs inside `expect`).
1925
* Support (self-hosted) ClojureScript via `planck` -- see https://github.com/clojure-expectations/clojure-test/pull/16 for details (@kkinear).
2026

27+
## Previous Releases
28+
29+
These versions required users to also require `clojure.test` and were not as
30+
directly comparable to `clojure.test` behaviors.
31+
2132
* 1.2.1 -- 2019-12-09
2233
* Fix cljdoc.org index (Collections was missing).
2334

build.clj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@
99
For more information, run:
1010
1111
clojure -A:deps -T:build help/doc"
12-
(:require #_[clojure.tools.build.api :as b]
12+
(:require [clojure.tools.build.api :as b]
1313
[org.corfield.build :as bb]))
1414

1515
(def lib 'com.github.seancorfield/expectations)
16-
;; we're not gold yet!
17-
(def version "2.0.0-alpha3" #_(format "2.0.%s" (b/git-count-revs nil)))
16+
(def version (format "2.0.%s" (b/git-count-revs nil)))
1817

1918
(defn run-tests "Run the tests."
2019
[{:keys [aliases] :as opts}]

doc/getting-started-cljs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Your `deps.edn` should include this information:
2020

2121
```clojure
2222
{:aliases {:cljs-runner
23-
{:extra-deps {com.github.seancorfield/expectations {:mvn/version "2.0.0-alpha2"},
23+
{:extra-deps {com.github.seancorfield/expectations {:mvn/version "2.0.137"},
2424
olical/cljs-test-runner {:mvn/version "3.7.0"},
2525
pjstadig/humane-test-output {:mvn/version "0.10.0"}},
2626
:extra-paths ["src" "test" "cljs-test-runner-out/gen"],

doc/getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ You can add `expectations.clojure.test` to your project with either:
88

99
```clojure
1010
;; add this to :extra-deps under a :test alias:
11-
com.github.seancorfield/expectations {:mvn/version "2.0.0-alpha2"}
11+
com.github.seancorfield/expectations {:mvn/version "2.0.137"}
1212
```
1313
for `deps.edn` or:
1414

1515
```clojure
1616
;; add this to :dev-dependencies (Leiningen)
17-
[com.github.seancorfield/expectations "2.0.0-alpha2"]
17+
[com.github.seancorfield/expectations "2.0.137"]
1818
;; or add this to :dependencies (Boot)
19-
[com.github.seancorfield/expectations "2.0.0-alpha2" :scope "test"]
19+
[com.github.seancorfield/expectations "2.0.137" :scope "test"]
2020
```
2121
for `project.clj` or `build.boot`.
2222

@@ -186,7 +186,7 @@ Of course, you can also update the `:test` alias to add those new options into `
186186
{:test
187187
{:extra-paths ["test"]
188188
:extra-deps
189-
{com.github.seancorfield/expectations {:mvn/version "2.0.0-alpha2"}
189+
{com.github.seancorfield/expectations {:mvn/version "2.0.137"}
190190
;; assumes Clojure CLI 1.10.3.933 or later:
191191
io.github.cognitect-labs/test-runner
192192
{:git/tag "v0.5.0" :git/sha "48c3c67"}}

0 commit comments

Comments
 (0)