# Changelog

## master (unreleased)

## 1.21.0 (2026-02-07)

### Changes

- [#3854](https://github.com/clojure-emacs/cider/pull/3854): Use buttons for items in `cider-ns-browser` to allow clicking and evil's `RET` to navigate.
- Drop support for Emacs 27.
  - This was prompted by upstream deps dropping support for it.
- Remove deprecated `cider-*-global-opts`.

### 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

- [#3847](https://github.com/clojure-emacs/cider/issues/3847): Inspector: tidy up namespaced-qualified keywords.

### Changes

- Bump the injected `nrepl` to [1.5.1](https://github.com/nrepl/nrepl/blob/master/CHANGELOG.md#151-2025-10-18).
  - * [nrepl#385](https://github.com/nrepl/nrepl/pull/385): Preserve filename in functions compiled during regular eval.
- Bump the injected `piggieback` to [0.6.1](https://github.com/nrepl/piggieback/blob/master/CHANGES.md#061-2025-12-31).
- Bump the injected `cider-nrepl` to [0.58.0](https://github.com/clojure-emacs/cider-nrepl/blob/master/CHANGELOG.md#0580-2025-10-16).
  - * [cider-nrepl#951](https://github.com/clojure-emacs/cider-nrepl/pull/951): Debug: correctly process `#dbg` tag during `load-file`.
- [#3834](https://github.com/clojure-emacs/cider/issues/3834): Change `cider-ns-refresh` to always use Clojure REPL.

### Bugs fixed

- [#3832](https://github.com/clojure-emacs/cider/issues/3832): Fix `nrepl--eval-request` sending duplicate info.
- [#3837](https://github.com/clojure-emacs/cider/issues/3837): Fix broken stacktrace response when `C-c C-p` throws an exception.
- [orchard#353](https://github.com/clojure-emacs/orchard/pull/353): Stacktrace: flag Clojure functions as duplicate.
- [orchard#355](https://github.com/clojure-emacs/orchard/pull/355): Java: resolve source files for non-base JDK classes.
- [#3834](https://github.com/clojure-emacs/cider/issues/3834): Fix `cider-ns-refresh` throwing an error when a Clojure REPL exists, but `cider-current-repl` does not support the required operations.
- [#3848](https://github.com/clojure-emacs/cider/issues/3848): Format: fix `cider-format` crashing when format options are set.

## 1.19.0 (2025-07-10)

### New features

- [#3359](https://github.com/clojure-emacs/cider/pull/3359): Add customizable default connection params (see `cider-connect-default-params` and `cider-connect-default-cljs-params`).
- [#3828](https://github.com/clojure-emacs/cider/issues/3828): Inspector: diff mode.
- [#3828](https://github.com/clojure-emacs/cider/issues/3828): Inspector: sorting maps by keys.

### Changes

- Bump the injected `cider-nrepl` to [0.57.0](https://github.com/clojure-emacs/cider-nrepl/blob/master/CHANGELOG.md#0570-2025-06-29).
  - [cider-nrepl#941](https://github.com/clojure-emacs/cider-nrepl/pull/941): Stop vendoring Fipp dependency.
  - [cider-nrepl#943](https://github.com/clojure-emacs/cider-nrepl/pull/943): Reduce debugger instrumentation bytecode footprint.
  - [orchard#342](https://github.com/clojure-emacs/orchard/pull/342): Inspector: add hexdump view mode.
  - [orchard#349](https://github.com/clojure-emacs/orchard/pull/349): Inspector: add ability to sort maps by key.
  - [orchard#350](https://github.com/clojure-emacs/orchard/pull/350): Inspector: add diff mode and `orchard.inspect/diff`.
- [#3816](https://github.com/clojure-emacs/cider/issues/3816): **(Breaking)** Remove enrich-classpath support from cider-jack-in.
- [#3817](https://github.com/clojure-emacs/cider/issues/3817): Enable `cider-download-java-sources` by default.

## 1.18.0 (2025-04-30)

### New features

- [#3802](https://github.com/clojure-emacs/cider/issues/3802): Inspector analytics.
- [#3802](https://github.com/clojure-emacs/cider/issues/3802): Inspector table view-mode.
- [#3813](https://github.com/clojure-emacs/cider/issues/3813): Inspector pretty-printing mode.
- [#3810](https://github.com/clojure-emacs/cider/pull/3810): Inspector: `C-c C-p` to pretty-print the currently inspected value.
...
...
