Skip to content

Commit 3e96026

Browse files
committed
Bump the injected cider-nrepl to 0.62.0-alpha1
Ships the hardened content-type/slurp middleware to jack-in users, so the newly default-on rich content is backed by the scheme allowlist, size caps and graceful fetch errors. Also drop a duplicated CHANGELOG entry that survived a rebase.
1 parent 8eee7b0 commit 3e96026

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060

6161
### Changes
6262

63-
- Bump the default `cider-repl-history-size` from 500 to 5000.
63+
- Bump the injected `cider-nrepl` to 0.62.0-alpha1, which carries the hardened content-type/slurp middleware backing the rich-content revival below.
6464
- Enable rich content in the REPL by default (`cider-repl-use-content-types` is now t): image results render inline, and results naming external content (files, URLs) render a `[show content]` button that fetches and renders it on demand. The automatic fetching that got the feature disabled back in 0.25 ([#2825](https://github.com/clojure-emacs/cider/issues/2825)) is gone - nothing is transferred until the button is pressed - and the server side is hardened in `cider-nrepl` 0.62 (URL-scheme allowlist, size caps, graceful fetch errors).
65-
- Bump the default `cider-repl-history-size` from 500 to 5000 and the default `cider-print-buffer-size` from 4K to 16K (fewer, larger chunks when streaming big results).
65+
- Bump the default `cider-repl-history-size` from 500 to 5000.
6666
- Rename the REPL history browser from `cider-repl-history` to `cider-history` (command, mode and options), so its names no longer clash with the REPL's unrelated input-history settings (`cider-repl-history-file`, `cider-repl-history-size`); the old names keep working as obsolete aliases.
6767
- Color the nREPL messages buffer with theme-aware faces (`nrepl-message-faces`, eight faces inheriting from standard font-lock faces) instead of a hardcoded color list; `nrepl-message-colors` is now obsolete, but still takes precedence when customized.
6868
- Consolidate the per-buffer auto-select options into a single `cider-auto-select-buffer`, which can be `t`, `nil` or a list of the popup buffers to select (e.g. `'(error inspector)`); the old options (`cider-auto-select-error-buffer`, `cider-auto-select-test-report-buffer`, `cider-doc-auto-select-buffer`, `cider-inspector-auto-select-buffer`, `cider-cheatsheet-auto-select-buffer` and `cider-log-auto-select-frameworks-buffer`) are now obsolete, but still take precedence when customized.

lisp/cider-jack-in.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ the artifact.")
341341
342342
Used when `cider-jack-in-auto-inject-clojure' is set to `latest'.")
343343

344-
(defconst cider-required-middleware-version "0.61.0"
344+
(defconst cider-required-middleware-version "0.62.0-alpha1"
345345
"The CIDER nREPL version that's known to work properly with CIDER.")
346346

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

0 commit comments

Comments
 (0)