From 1ddd3222579cf145a11918adab23f234bb8e327f Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 29 Aug 2019 08:04:47 +0300 Subject: [PATCH] Release 0.22 --- CHANGELOG.md | 2 ++ README.md | 22 +++++++++++----------- project.clj | 4 ++-- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cad769083..2e0df17fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index 6a0b06e83..a8511e5a6 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,13 @@ 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 @@ -118,7 +118,7 @@ Or (if you know what you're doing) add `cider-nrepl` to your `:dev 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 @@ -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]]) @@ -184,7 +184,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.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`): @@ -192,14 +192,14 @@ There are also two convenient aliases you can employ (see this project's `deps.e ```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]"]}}} ``` diff --git a/project.clj b/project.clj index 41cc92be6..7106bff03 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(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" @@ -6,7 +6,7 @@ :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