Skip to content

Commit d2c87b7

Browse files
alexander-yakushevbbatsov
authored andcommitted
Use cider-nrepl 0.49.1
1 parent 20f9a8f commit d2c87b7

File tree

9 files changed

+38
-36
lines changed

9 files changed

+38
-36
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
- [#3714](https://github.com/clojure-emacs/cider/pull/3714): Show progress when evaluating files using `cider-load-all-files`.
1010
- [#3713](https://github.com/clojure-emacs/cider/pull/3713): Optimize `nrepl-dict-get` and deprecate its 3-argument arity.
1111
- [#3719](https://github.com/clojure-emacs/cider/pull/3719): Clean duplicate define-key
12+
- Bump the injected `cider-nrepl` to [0.49.1](https://github.com/clojure-emacs/cider-nrepl/blob/master/CHANGELOG.md#0491-2024-06-30).
13+
- Reduces the minimal supported Clojure version to 1.10.0 (from 1.10.3).
1214

1315
### Bugs fixed
1416

cider.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ the artifact.")
573573
574574
Used when `cider-jack-in-auto-inject-clojure' is set to `latest'.")
575575

576-
(defconst cider-required-middleware-version "0.49.0"
576+
(defconst cider-required-middleware-version "0.49.1"
577577
"The CIDER nREPL version that's known to work properly with CIDER.")
578578

579579
(defcustom cider-injected-middleware-version cider-required-middleware-version

dev/docker-sample-project/project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
:dependencies [[org.clojure/clojure "1.11.1"]
33
[clj-http "3.12.3"]]
44
:source-paths ["src"]
5-
:plugins [[cider/cider-nrepl "0.49.0"]])
5+
:plugins [[cider/cider-nrepl "0.49.1"]])

dev/tramp-sample-project/project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
:dependencies [[org.clojure/clojure "1.11.1"]
33
[clj-http "3.12.3"]]
44
:source-paths ["src"]
5-
:plugins [[cider/cider-nrepl "0.49.0"]
5+
:plugins [[cider/cider-nrepl "0.49.1"]
66
[refactor-nrepl "3.9.0"]])

doc/modules/ROOT/pages/basics/middleware_setup.adoc

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ Use the convenient plugin for defaults, either in your project's
3232

3333
[source,clojure]
3434
----
35-
:plugins [[cider/cider-nrepl "0.49.0"]]
35+
:plugins [[cider/cider-nrepl "0.49.1"]]
3636
----
3737

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

4040
[source,clojure]
4141
----
42-
{:repl {:plugins [[cider/cider-nrepl "0.49.0"]]}}
42+
{:repl {:plugins [[cider/cider-nrepl "0.49.1"]]}}
4343
----
4444

4545
WARNING: Be careful not to place this in the `:user` profile, as this way CIDER's
@@ -59,7 +59,7 @@ all of their projects using a `~/.boot/profile.boot` file like so:
5959
(require 'boot.repl)
6060
6161
(swap! boot.repl/*default-dependencies*
62-
concat '[[cider/cider-nrepl "0.49.0"]])
62+
concat '[[cider/cider-nrepl "0.49.1"]])
6363
6464
(swap! boot.repl/*default-middleware*
6565
conj 'cider.nrepl/cider-middleware)
@@ -76,11 +76,11 @@ run `cider-connect` or `cider-connect-cljs`.
7676

7777
[source,clojure]
7878
----
79-
:cider-clj {:extra-deps {cider/cider-nrepl {:mvn/version "0.49.0"}}
79+
:cider-clj {:extra-deps {cider/cider-nrepl {:mvn/version "0.49.1"}}
8080
:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}
8181
8282
:cider-cljs {:extra-deps {org.clojure/clojurescript {:mvn/version "1.10.339"}
83-
cider/cider-nrepl {:mvn/version "0.49.0"}
83+
cider/cider-nrepl {:mvn/version "0.49.1"}
8484
cider/piggieback {:mvn/version "0.5.3"}}
8585
:main-opts ["-m" "nrepl.cmdline" "--middleware"
8686
"[cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"]}
@@ -99,7 +99,7 @@ NOTE: Make sure you're using https://github.com/clojurephant/clojurephant[Clojur
9999
----
100100
dependencies {
101101
devImplementation 'nrepl:nrepl:0.9.0'
102-
devImplementation 'cider:cider-nrepl:0.49.0'
102+
devImplementation 'cider:cider-nrepl:0.49.1'
103103
}
104104
105105
tasks.named('clojureRepl') {

doc/modules/ROOT/pages/basics/up_and_running.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ simple - CIDER simply passes the extra dependencies and nREPL configuration to
7373
your build tool in the command it runs to start the nREPL server. Here's how
7474
this looks for `tools.deps`:
7575

76-
$ clojure -Sdeps '{:deps {nrepl {:mvn/version "1.1.2"} cider/cider-nrepl {:mvn/version "0.49.0"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'
76+
$ clojure -Sdeps '{:deps {nrepl {:mvn/version "1.2.0"} cider/cider-nrepl {:mvn/version "0.49.1"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'
7777

7878
TIP: If you don't want `cider-jack-in` to inject dependencies automatically, set
7979
`cider-inject-dependencies-at-jack-in` to `nil`. Note that you'll have to setup
@@ -350,7 +350,7 @@ It is also possible for plain `clj`, although the command is somewhat longer:
350350

351351
[source,sh]
352352
----
353-
$ clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.49.0"}}}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
353+
$ clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.49.1"}}}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
354354
----
355355

356356
Alternatively, you can start nREPL either manually or using the facilities

doc/modules/ROOT/pages/cljs/shadow-cljs.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ And connect to it with `cider-connect`.
6262
...For that to work, `shadow-cljs.edn` contents like the following are assumed:
6363

6464
```clj
65-
:dependencies [[cider/cider-nrepl "0.49.0"] ;; mandatory (unless it's inherited from deps.edn or otherwise present in the classpath of shadow-cljs's JVM process)
65+
:dependencies [[cider/cider-nrepl "0.49.1"] ;; mandatory (unless it's inherited from deps.edn or otherwise present in the classpath of shadow-cljs's JVM process)
6666
[refactor-nrepl/refactor-nrepl "3.9.0"]] ;; refactor-nrepl is optional
6767

6868
:nrepl {:middleware [cider.nrepl/cider-middleware ;; it's advisable to explicitly add this middleware. It's automatically added by shadow-cljs (if available in the classpath), unless `:nrepl {:cider false}`

doc/modules/ROOT/pages/cljs/up_and_running.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ or in `build.gradle`:
6060
[source, groovy]
6161
----
6262
dependencies {
63-
devImplementation 'nrepl:nrepl:1.1.2'
64-
devImplementation 'cider:cider-nrepl:0.49.0'
63+
devImplementation 'nrepl:nrepl:1.2.0'
64+
devImplementation 'cider:cider-nrepl:0.49.1'
6565
devImplementation 'cider:cider-piggieback:0.5.3'
6666
}
6767

0 commit comments

Comments
 (0)