branch: elpa/cider
commit 8798de97724d34f649966922b6129731cf0f05ea
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    [Fix #3853] Bump nREPL to 1.5.2
---
 CHANGELOG.md                                        | 7 +++++++
 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, 12 insertions(+), 5 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9088359dd0f..b52725af37c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,13 @@
 
 ## master (unreleased)
 
+### Changes
+
+### Bugs fixed
+
+- [#3853](https://github.com/clojure-emacs/cider/issues/3853): Fix mangling of 
printed representations.
+  - This was caused by a bug in nREPL, that was addressed in nREPL 1.5.2
+
 ## 1.20.0 (2025-11-05)
 
 ### New features
diff --git a/cider.el b/cider.el
index cd88cb64334..70d4a237353 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.5.1"
+(defcustom cider-injected-nrepl-version "1.5.2"
   "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 2916a4f030c..29a9d3cb784 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.5.1'
+  devImplementation 'nrepl:nrepl:1.5.2'
   devImplementation 'cider:cider-nrepl:0.58.0'
 }
 
diff --git a/doc/modules/ROOT/pages/basics/up_and_running.adoc 
b/doc/modules/ROOT/pages/basics/up_and_running.adoc
index deb04192b1c..e32ff1d5f0b 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.5.1"} cider/cider-nrepl 
{:mvn/version "0.58.0"}}}' -m nrepl.cmdline --middleware 
'["cider.nrepl/cider-middleware"]'
+  $ 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"]'
 
 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.5.1\"} 
cider/cider-nrepl {:mvn/version \"0.58.0\"}}}' -m nrepl.cmdline -p 12345 -b 
0.0.0.0 --middleware '[\"cider.nrepl/cider-middleware\"]' "
+    "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\"]' "
 ----
 
 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 616f5441e1f..262320e8c12 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.5.1'
+  devImplementation 'nrepl:nrepl:1.5.2'
   devImplementation 'cider:cider-nrepl:0.58.0'
   devImplementation 'cider:cider-piggieback:0.6.1'
 }

Reply via email to