Skip to content

CIDER 0.18 (Saigon)

Compare
Choose a tag to compare
@bbatsov bbatsov released this 02 Sep 16:40
· 1869 commits to master since this release

New features

  • #2375: Move cider-eval-toplevel-inside-comment-form into clojure-mode as clojure-toplevel-inside-comment-form so beginning-of-defun is aware of comment forms.
  • Add new cider-session-name-template variable for flexible customization of cider session and REPL buffer names.
  • Bind C-c M-r to cider-restart.
  • Add new cider-start-map keymap (C-c C-x) for jack-in and connection commands.
  • Add new cider-ns-map keymap (C-c M-n) for namespace related functionality.
  • Allow evaling top level forms in a comment form rather than the entire comment form with cider-eval-toplevel-inside-comment-form.
  • Create keymap for inserting forms into the repl at C-c C-j.
  • Add new defcustom cider-invert-insert-eval-p: Set to cause insert-to-repl commands to eval the forms by default when inserted.
  • Add new defcustom cider-switch-to-repl-after-insert-p: Set to prevent cursor from going to the repl when inserting a form in the repl with the insert-to-repl commands.
  • Inject piggieback automatically on cider-jack-in-clojurescript.
  • Introduce a new command named cider (C-c M-x) that acts as a simple wrapper around all commands for starting/connecting to REPLs.
  • #2305: Make it possible to disable the REPL type auto-detection by customizing cider-repl-auto-detect-type.
  • #2373: Make it possible to configure the welcome message displayed in scratch buffers via cider-scratch-initial-message.
  • Add the ability to jump to the profiler buffer using cider-selector.
  • #1980: Echo back missing namespace name on interactive eval (requires nREPL 0.4.3+).
  • #2397: Add shadow-select CLJS REPL type.
  • #2314: Add cider-ns-reload and cider-ns-reload-all interactive commands.

Bugs fixed

  • #2317: The stdin prompt can now be cancelled.
  • #2328: Added cider-eval-sexp-to-point.
  • #2310: cider-format-edn-last-sexp will format the last sexp.
  • #2294: Fix setting default stacktrace filters.
  • #2286: Fix eldoc issue with images in the REPL.
  • #2307: Use a better error when a cljs repl form cannot be found.
  • Fix the broken test selector functionality.
  • #2291: cider-use-tooltips custom variable works as expected.
  • #2424: Fallback to lein as the default jack-in command when clojure is not present.

Changes

  • (Breaking) Move cider-repl-set-ns, previously on C-c M-n, on C-c M-n (M-)n in the cider-ns-map.
  • (Breaking) Move cider-ns-refresh, previously on C-c C-x, on C-c M-n (M-)r in the cider-ns-map.
  • (Breaking) Bump the minimum required Emacs version to 25.1.
  • (Breaking) Drop support for Java 7 and Clojure(Script) 1.7.
  • (Breaking) Use session name as part of CIDER buffers names (REPL, server, messages), and obsolete nrepl-buffer-name-separator and nrepl-buffer-name-show-port. See cider-session-name-template and cider-format-connection-params for how to customize CIDER buffer names.
  • Rename cider-eval-defun-to-point to cider-eval-defun-up-to-point.
  • Add support for printing to the current buffer to cider-eval-defun-up-to-point.
  • Remove cider-ping command.
  • Remove cider-visit-error-buffer in favour of using cider-selector.
  • Rename cider-refresh to cider-ns-refresh (and all the related defcustoms).
  • (Breaking) Rewrote connection management (see http://docs.cider.mx/en/latest/managing_connections/ for details).
  • (Breaking) cider-jack-in-clojurescript now creates only a ClojureScript REPL (use cider-jack-in-clj&cljs to create both REPLs).
  • #2357: Support both keywords and strings as test selectors (previously it was only strings).
  • #2378: Add autoloads target to Makefile.
  • Map cider-pprint-eval-last-sexp to C-c C-v (C-)f (C-)e in the cider-eval-commands-map.
  • Map cider-pprint-eval-defun-at-point to C-c C-v (C-)f (C-)d in the cider-eval-commands-map.
  • Accept bare figwheel-main build names (e.g., dev). Previously, a keyword (e.g., :dev) was required.
  • Stop releasing CIDER and cider-nrepl together. cider-nrepl now has its own release cycle and CIDER introduces cider-required-middleware-version to track it.