Skip to content

Commit

Permalink
Release 0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Aug 29, 2019
1 parent 384502a commit 1ddd322
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 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.22.0 (2019-08-29)

### New features

* [#605](https://github.com/clojure-emacs/cider-nrepl/pull/605): Added a option for filtering vars to the ns-vars middleware.
Expand Down
22 changes: 11 additions & 11 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.21.1"]]
:plugins [[cider/cider-nrepl "0.22.0"]]
```

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

```clojure
{:user {:plugins [[cider/cider-nrepl "0.21.1"]]}}
{:user {:plugins [[cider/cider-nrepl "0.22.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.21.1"]]
:dependencies [[cider/cider-nrepl "0.22.0"]]
:repl-options {:nrepl-middleware
[cider.nrepl/wrap-apropos
cider.nrepl/wrap-classpath
Expand Down Expand Up @@ -157,14 +157,14 @@ it on the command line through the `cider.tasks/add-middleware` task
functionality):

```
boot -d nrepl:0.6.0 -d cider/cider-nrepl:0.21.1 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version repl --server wait
boot -d nrepl:0.6.0 -d cider/cider-nrepl:0.22.0 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version repl --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.21.1"]])
[cider/cider-nrepl "0.22.0"]])

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

Expand All @@ -184,22 +184,22 @@ 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.21.1"} }}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.22.0"} }}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
```

There are also two convenient aliases you can employ (see this project's `deps.edn`):

```clojure
{...
:aliases
{:cider-clj {:extra-deps {org.clojure/clojure {:mvn/version "1.9.0"}
cider/cider-nrepl {:mvn/version "0.21.1"}}
{:cider-clj {:extra-deps {org.clojure/clojure {:mvn/version "1.10.1"}
cider/cider-nrepl {:mvn/version "0.22.0"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}

:cider-cljs {:extra-deps {org.clojure/clojure {:mvn/version "1.9.0"}
:cider-cljs {:extra-deps {org.clojure/clojure {:mvn/version "1.10.1"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
cider/cider-nrepl {:mvn/version "0.21.1"}
cider/piggieback {:mvn/version "0.4.0"}}
cider/cider-nrepl {:mvn/version "0.22.0"}
cider/piggieback {:mvn/version "0.4.1"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware"
"[cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"]}}}
```
Expand Down
4 changes: 2 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
(defproject cider/cider-nrepl "0.22.0-beta13"
(defproject cider/cider-nrepl "0.22.0"
:description "A collection of nREPL middlewares designed to enhance Clojure editors."
:url "https://github.com/clojure-emacs/cider-nrepl"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:name "git" :url "https://github.com/clojure-emacs/cider-nrepl"}

:dependencies [[nrepl "0.6.0"]
^:inline-dep [cider/orchard "0.5.0-beta14"]
^:inline-dep [cider/orchard "0.5.0"]
^:inline-dep [thunknyc/profile "0.5.2"]
^:inline-dep [mvxcvi/puget "1.1.2"]
^:inline-dep [fipp "0.6.18"] ; can be removed in unresolved-tree mode
Expand Down

0 comments on commit 1ddd322

Please sign in to comment.