Skip to content

Commit

Permalink
Release 0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cichli committed Feb 11, 2019
1 parent bd8149b commit 7ff1ef2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## master (unreleased)

## 0.21.0 (2019-02-11)

### New features

* The `refresh` op is now interruptible.
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,21 @@ Use the convenient plugin for defaults, either in your project's
`~/.lein/profiles.clj`.

```clojure
:plugins [[cider/cider-nrepl "0.20.0"]]
:plugins [[cider/cider-nrepl "0.21.0"]]
```

A minimal `profiles.clj` for CIDER would be:

```clojure
{:user {:plugins [[cider/cider-nrepl "0.20.0"]]}}
{:user {:plugins [[cider/cider-nrepl "0.21.0"]]}}
```

Or (if you know what you're doing) add `cider-nrepl` to your `:dev
:dependencies` vector plus specific middleware to `:nrepl-middleware`
under `:repl-options`.

```clojure
:dependencies [[cider/cider-nrepl "0.20.0"]]
:dependencies [[cider/cider-nrepl "0.21.0"]]
:repl-options {:nrepl-middleware
[cider.nrepl/wrap-apropos
cider.nrepl/wrap-classpath
Expand Down Expand Up @@ -155,14 +155,14 @@ it on the command line through the `cider.tasks/add-middleware` task
functionality):

```
boot -d nrepl:0.5.3 -d cider/cider-nrepl:0.20.0 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version cider.tasks/nrepl-server wait
boot -d nrepl:0.6.0 -d cider/cider-nrepl:0.21.0 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version cider.tasks/nrepl-server wait
```

Or for all of their projects by adding a `~/.boot/profile.boot` file like so:

```clojure
(set-env! :dependencies '[[nrepl "0.6.0"]
[cider/cider-nrepl "0.20.0"]])
[cider/cider-nrepl "0.21.0"]])

(require '[cider.tasks :refer [add-middleware nrepl-server]])

Expand All @@ -182,7 +182,7 @@ You can easily boot an nREPL server with the CIDER middleware loaded
with the following "magic" incantation:

```
clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.20.0"} }}' -e '(require (quote cider-nrepl.main)) (cider-nrepl.main/init ["cider.nrepl/cider-middleware"])'
clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.21.0"} }}' -e '(require (quote cider-nrepl.main)) (cider-nrepl.main/init ["cider.nrepl/cider-middleware"])'
```

There are also two convenient aliases you can employ (see this project's `deps.edn`):
Expand All @@ -191,13 +191,13 @@ There are also two convenient aliases you can employ (see this project's `deps.e
{...
:aliases
{:cider-clj {:extra-deps {org.clojure/clojure {:mvn/version "1.9.0"}
cider/cider-nrepl {:mvn/version "0.20.0"}}
cider/cider-nrepl {:mvn/version "0.21.0"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}

:cider-cljs {:extra-deps {org.clojure/clojure {:mvn/version "1.9.0"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
cider/cider-nrepl {:mvn/version "0.20.0"}
cider/piggieback {:mvn/version "0.3.9"}}
cider/cider-nrepl {:mvn/version "0.21.0"}
cider/piggieback {:mvn/version "0.4.0"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware"
"[cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"]}}}
```
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject cider/cider-nrepl "0.21.0-SNAPSHOT"
(defproject cider/cider-nrepl "0.21.0"
:description "nREPL middlewares for CIDER"
:url "https://github.com/clojure-emacs/cider-nrepl"
:license {:name "Eclipse Public License"
Expand Down
2 changes: 1 addition & 1 deletion test/smoketest/project.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(defproject smoketest "0.1.0-SNAPSHOT"
:dependencies [[nrepl "0.6.0"]
[cider/cider-nrepl "0.21.0-SNAPSHOT"]]
[cider/cider-nrepl "0.21.0"]]
:exclusions [org.clojure/clojure]
:profiles {:1.7 {:dependencies [[org.clojure/clojure "1.7.0"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
Expand Down

0 comments on commit 7ff1ef2

Please sign in to comment.