Skip to content

Commit 356c2bd

Browse files
Bump nrepl to 1.3.1 and cider-nrepl to 0.51.0 (#3767)
1 parent f009efe commit 356c2bd

File tree

9 files changed

+39
-37
lines changed

9 files changed

+39
-37
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
### Changes
99

10+
- Bump the injected nREPL version to [1.3.1](https://github.com/nrepl/nrepl/blob/master/CHANGELOG.md#131-2025-01-01).
11+
- Bump the injected `cider-nrepl` to [0.51.0](https://github.com/clojure-emacs/cider-nrepl/blob/master/CHANGELOG.md#0510-2025-01-01).
1012
- [#3574](https://github.com/clojure-emacs/cider/issues/3574): New value `per-project` for `cider-repl-history-file` to save the history on a per-project basis.
1113

1214
### Bugs fixed

cider.el

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

545-
(defcustom cider-injected-nrepl-version "1.3.0"
545+
(defcustom cider-injected-nrepl-version "1.3.1"
546546
"The version of nREPL injected on jack-in.
547547
We inject the newest known version of nREPL just in case
548548
your version of Boot or Leiningen is bundling an older one."
@@ -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.50.3"
576+
(defconst cider-required-middleware-version "0.51.0"
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

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.50.3"]])
5+
:plugins [[cider/cider-nrepl "0.51.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.50.3"]
5+
:plugins [[cider/cider-nrepl "0.51.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
@@ -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.50.3"]]
35+
:plugins [[cider/cider-nrepl "0.51.0"]]
3636
----
3737

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

4040
[source,clojure]
4141
----
42-
{:repl {:plugins [[cider/cider-nrepl "0.50.3"]]}}
42+
{:repl {:plugins [[cider/cider-nrepl "0.51.0"]]}}
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.50.3"]])
62+
concat '[[cider/cider-nrepl "0.51.0"]])
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.50.3"}}
79+
:cider-clj {:extra-deps {cider/cider-nrepl {:mvn/version "0.51.0"}}
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.50.3"}
83+
cider/cider-nrepl {:mvn/version "0.51.0"}
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.50.3'
102+
devImplementation 'cider:cider-nrepl:0.51.0'
103103
}
104104
105105
tasks.named('clojureRepl') {

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

Lines changed: 2 additions & 2 deletions
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.3.0"} cider/cider-nrepl {:mvn/version "0.50.3"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'
76+
$ clojure -Sdeps '{:deps {nrepl {:mvn/version "1.3.1"} cider/cider-nrepl {:mvn/version "0.51.0"}}}' -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.50.3"}}}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
353+
$ clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.51.0"}}}' -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

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.50.3"] ;; 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.51.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
@@ -60,8 +60,8 @@ or in `build.gradle`:
6060
[source, groovy]
6161
----
6262
dependencies {
63-
devImplementation 'nrepl:nrepl:1.3.0'
64-
devImplementation 'cider:cider-nrepl:0.50.3'
63+
devImplementation 'nrepl:nrepl:1.3.1'
64+
devImplementation 'cider:cider-nrepl:0.51.0'
6565
devImplementation 'cider:cider-piggieback:0.5.3'
6666
}
6767

0 commit comments

Comments
 (0)