Skip to content

Commit 09973d8

Browse files
Bump nrepl and cider-nrepl
1 parent 5d003b5 commit 09973d8

8 files changed

Lines changed: 19 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
### Bugs fixed
1111

1212
- [#3209](https://github.com/clojure-emacs/cider/issues/3209): Fix `cider-format` dropping non-map cljfmt options (e.g. `remove-consecutive-blank-lines?`).
13+
1314
### Changes
1415

16+
- Bump the injected `nrepl` to [1.7.0](https://github.com/nrepl/nrepl/blob/master/CHANGELOG.md#170-2026-04-14).
17+
- Bump the injected `cider-nrepl` to [0.59.0](https://github.com/clojure-emacs/cider-nrepl/blob/master/CHANGELOG.md#0590-2026-04-14).
1518
- [#3788](https://github.com/clojure-emacs/cider/issues/3788): Remove the `cider-info-form` eval fallback for `cider-var-info`. The `info` and `lookup` nREPL ops are now required.
1619
- Bump the injected nREPL version to 1.6.
1720
- Convert modern tuple-format indent specs (e.g. `[[:block 1] [:inner 0]]`) to legacy format for compatibility with older clojure-mode versions.

dev/docker-sample-project/project.clj

Lines changed: 1 addition & 1 deletion
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.58.0"]])
5+
:plugins [[cider/cider-nrepl "0.59.0"]])

dev/tramp-sample-project/project.clj

Lines changed: 1 addition & 1 deletion
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.58.0"]
5+
:plugins [[cider/cider-nrepl "0.59.0"]
66
[refactor-nrepl "3.9.0"]])

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ Use the convenient plugin for defaults, either in your project's
2020

2121
[source,clojure]
2222
----
23-
:plugins [[cider/cider-nrepl "0.58.0"]]
23+
:plugins [[cider/cider-nrepl "0.59.0"]]
2424
----
2525

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

2828
[source,clojure]
2929
----
30-
{:repl {:plugins [[cider/cider-nrepl "0.58.0"]]}}
30+
{:repl {:plugins [[cider/cider-nrepl "0.59.0"]]}}
3131
----
3232

3333
WARNING: Be careful not to place this in the `:user` profile, as this way CIDER's
@@ -43,11 +43,11 @@ run `cider-connect` or `cider-connect-cljs`.
4343

4444
[source,clojure]
4545
----
46-
:cider-clj {:extra-deps {cider/cider-nrepl {:mvn/version "0.58.0"}}
46+
:cider-clj {:extra-deps {cider/cider-nrepl {:mvn/version "0.59.0"}}
4747
:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}
4848
4949
:cider-cljs {:extra-deps {org.clojure/clojurescript {:mvn/version "1.10.339"}
50-
cider/cider-nrepl {:mvn/version "0.58.0"}
50+
cider/cider-nrepl {:mvn/version "0.59.0"}
5151
cider/piggieback {:mvn/version "0.6.1"}}
5252
:main-opts ["-m" "nrepl.cmdline" "--middleware"
5353
"[cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"]}
@@ -65,8 +65,8 @@ NOTE: Make sure you're using https://github.com/clojurephant/clojurephant[Clojur
6565
[source, groovy]
6666
----
6767
dependencies {
68-
devImplementation 'nrepl:nrepl:1.5.2'
69-
devImplementation 'cider:cider-nrepl:0.58.0'
68+
devImplementation 'nrepl:nrepl:1.7.0'
69+
devImplementation 'cider:cider-nrepl:0.59.0'
7070
}
7171
7272
tasks.named('clojureRepl') {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ simple - CIDER passes the extra dependencies and nREPL configuration to
7272
your build tool in the command it runs to start the nREPL server. Here's how
7373
this looks for `tools.deps`:
7474

75-
$ clojure -Sdeps '{:deps {nrepl {:mvn/version "1.5.2"} cider/cider-nrepl {:mvn/version "0.58.0"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'
75+
$ clojure -Sdeps '{:deps {nrepl {:mvn/version "1.7.0"} cider/cider-nrepl {:mvn/version "0.59.0"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'
7676

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

333333
[source,sh]
334334
----
335-
$ clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.58.0"}}}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
335+
$ clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.59.0"}}}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
336336
----
337337

338338
Alternatively, you can start nREPL either manually or using the facilities
@@ -466,7 +466,7 @@ The command tunnels as well the remote port 12345 to local machine on port 12345
466466
----
467467
ssh -t -L 12345:localhost:12345 MY_REMOTE_SERVER \
468468
devcontainer exec --workspace-folder /home/me/my-clj-code \
469-
"clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version \"1.5.2\"} cider/cider-nrepl {:mvn/version \"0.58.0\"}}}' -m nrepl.cmdline -p 12345 -b 0.0.0.0 --middleware '[\"cider.nrepl/cider-middleware\"]' "
469+
"clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version \"1.7.0\"} cider/cider-nrepl {:mvn/version \"0.59.0\"}}}' -m nrepl.cmdline -p 12345 -b 0.0.0.0 --middleware '[\"cider.nrepl/cider-middleware\"]' "
470470
----
471471

472472
For this to work, we need as well to configure `devcontainer.json` with a snippet that exposes port `12345` from the container to the (remote) host:

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

Lines changed: 1 addition & 1 deletion
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.58.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.59.0"] ;; 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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ or in `build.gradle`:
5151
[source, groovy]
5252
----
5353
dependencies {
54-
devImplementation 'nrepl:nrepl:1.5.2'
55-
devImplementation 'cider:cider-nrepl:0.58.0'
54+
devImplementation 'nrepl:nrepl:1.7.0'
55+
devImplementation 'cider:cider-nrepl:0.59.0'
5656
devImplementation 'cider:cider-piggieback:0.6.1'
5757
}
5858

lisp/cider.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ Throws an error if PROJECT-TYPE is unknown."
428428
"List of dependencies where elements are lists of artifact name and version.")
429429
(put 'cider-jack-in-dependencies 'risky-local-variable t)
430430

431-
(defcustom cider-injected-nrepl-version "1.6.0"
431+
(defcustom cider-injected-nrepl-version "1.7.0"
432432
"The version of nREPL injected on jack-in.
433433
We inject the newest known version of nREPL just in case
434434
your version of Leiningen is bundling an older one."
@@ -459,7 +459,7 @@ the artifact.")
459459
460460
Used when `cider-jack-in-auto-inject-clojure' is set to `latest'.")
461461

462-
(defconst cider-required-middleware-version "0.58.0"
462+
(defconst cider-required-middleware-version "0.59.0"
463463
"The CIDER nREPL version that's known to work properly with CIDER.")
464464

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

0 commit comments

Comments
 (0)