branch: elpa/cider commit af63db156a89fc77a35b0f8a3c1ccddcfbf9af84 Author: Oleksandr Yakushev <a...@bytopia.org> Commit: Oleksandr Yakushev <a...@bytopia.org>
Bump nrepl to 1.4.0 --- CHANGELOG.md | 1 + cider.el | 2 +- doc/modules/ROOT/pages/basics/middleware_setup.adoc | 2 +- doc/modules/ROOT/pages/basics/up_and_running.adoc | 4 ++-- doc/modules/ROOT/pages/cljs/up_and_running.adoc | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfbea35966e..5d772a97c2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Changes +- Bump the injected `nrepl` to [1.4.0](https://github.com/nrepl/nrepl/blob/master/CHANGELOG.md#140-2025-09-02). - Bump the injected `piggieback` to [0.6.1](https://github.com/nrepl/piggieback/blob/master/CHANGES.md#061-2025-12-31). ### Bugs fixed diff --git a/cider.el b/cider.el index 78563c1a243..07c0c10a52d 100644 --- a/cider.el +++ b/cider.el @@ -518,7 +518,7 @@ Throws an error if PROJECT-TYPE is unknown." "List of dependencies where elements are lists of artifact name and version.") (put 'cider-jack-in-dependencies 'risky-local-variable t) -(defcustom cider-injected-nrepl-version "1.3.1" +(defcustom cider-injected-nrepl-version "1.4.0" "The version of nREPL injected on jack-in. We inject the newest known version of nREPL just in case your version of Leiningen is bundling an older one." diff --git a/doc/modules/ROOT/pages/basics/middleware_setup.adoc b/doc/modules/ROOT/pages/basics/middleware_setup.adoc index 2ca6c13893d..d3d86474e57 100644 --- a/doc/modules/ROOT/pages/basics/middleware_setup.adoc +++ b/doc/modules/ROOT/pages/basics/middleware_setup.adoc @@ -65,7 +65,7 @@ NOTE: Make sure you're using https://github.com/clojurephant/clojurephant[Clojur [source, groovy] ---- dependencies { - devImplementation 'nrepl:nrepl:1.3.1' + devImplementation 'nrepl:nrepl:1.4.0' devImplementation 'cider:cider-nrepl:0.57.0' } diff --git a/doc/modules/ROOT/pages/basics/up_and_running.adoc b/doc/modules/ROOT/pages/basics/up_and_running.adoc index bae36f36c5c..2c079194b91 100644 --- a/doc/modules/ROOT/pages/basics/up_and_running.adoc +++ b/doc/modules/ROOT/pages/basics/up_and_running.adoc @@ -72,7 +72,7 @@ simple - CIDER passes the extra dependencies and nREPL configuration to your build tool in the command it runs to start the nREPL server. Here's how this looks for `tools.deps`: - $ clojure -Sdeps '{:deps {nrepl {:mvn/version "1.3.1"} cider/cider-nrepl {:mvn/version "0.57.0"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' + $ clojure -Sdeps '{:deps {nrepl {:mvn/version "1.4.0"} cider/cider-nrepl {:mvn/version "0.57.0"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' TIP: If you don't want `cider-jack-in` to inject dependencies automatically, set `cider-inject-dependencies-at-jack-in` to `nil`. Note that you'll have to setup @@ -466,7 +466,7 @@ The command tunnels as well the remote port 12345 to local machine on port 12345 ---- ssh -t -L 12345:localhost:12345 MY_REMOTE_SERVER \ devcontainer exec --workspace-folder /home/me/my-clj-code \ - "clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version \"1.3.1\"} cider/cider-nrepl {:mvn/version \"0.57.0\"}}}' -m nrepl.cmdline -p 12345 -b 0.0.0.0 --middleware '[\"cider.nrepl/cider-middleware\"]' " + "clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version \"1.4.0\"} cider/cider-nrepl {:mvn/version \"0.57.0\"}}}' -m nrepl.cmdline -p 12345 -b 0.0.0.0 --middleware '[\"cider.nrepl/cider-middleware\"]' " ---- 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: diff --git a/doc/modules/ROOT/pages/cljs/up_and_running.adoc b/doc/modules/ROOT/pages/cljs/up_and_running.adoc index 65795eeee75..3740e55a2fc 100644 --- a/doc/modules/ROOT/pages/cljs/up_and_running.adoc +++ b/doc/modules/ROOT/pages/cljs/up_and_running.adoc @@ -51,7 +51,7 @@ or in `build.gradle`: [source, groovy] ---- dependencies { - devImplementation 'nrepl:nrepl:1.3.1' + devImplementation 'nrepl:nrepl:1.4.0' devImplementation 'cider:cider-nrepl:0.57.0' devImplementation 'cider:cider-piggieback:0.6.1' }