Hey everyone, Just wanted to let you know I've just released CIDER 0.18 (Saigon)! It's a massive release with a TON of changes and improvements and a MAJOR step on the road to CIDER 1.0! Here are some of the highlights:
New features - #2375 <https://github.com/clojure-emacs/cider/issues/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 <https://github.com/clojure-emacs/cider/issues/2305>: Make it possible to disable the REPL type auto-detection by customizing cider-repl-auto-detect-type. - #2373 <https://github.com/clojure-emacs/cider/issues/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 <https://github.com/clojure-emacs/cider/issues/1980>: Echo back missing namespace name on interactive eval (requires nREPL 0.4.3+). - #2397 <https://github.com/clojure-emacs/cider/pull/2397>: Add shadow-select CLJS REPL type. - #2314 <https://github.com/clojure-emacs/cider/pull/2314>: Add cider-ns-reload and cider-ns-reload-all interactive commands. Bugs fixed - #2317 <https://github.com/clojure-emacs/cider/issues/2317>: The stdin prompt can now be cancelled. - #2328 <https://github.com/clojure-emacs/cider/issues/2328>: Added cider-eval-sexp-to-point. - #2310 <https://github.com/clojure-emacs/cider/issues/2310>: cider-format-edn-last-sexp will format the last sexp. - #2294 <https://github.com/clojure-emacs/cider/issues/2294>: Fix setting default stacktrace filters. - #2286 <https://github.com/clojure-emacs/cider/issues/2286>: Fix eldoc issue with images in the REPL. - #2307 <https://github.com/clojure-emacs/cider/pull/2307>: Use a better error when a cljs repl form cannot be found. - Fix the broken test selector functionality. - #2291 <https://github.com/clojure-emacs/cider/issues/2291>: cider-use-tooltips custom variable works as expected. - #2424 <https://github.com/clojure-emacs/cider/issues/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 <https://github.com/clojure-emacs/cider/issues/2357>: Support both keywords and strings as test selectors (previously it was only strings). - #2378 <https://github.com/clojure-emacs/cider/pull/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. ======== Yeah, those are a TON of changes indeed! Pay close attention to everything marked with "Breaking", as some of those might surprise you! Generally you should know the following: * CIDER now supports nREPL 0.4 * We've revamped completely the connection management, so be sure to check http://www.cider.mx/en/latest/managing_connections/ * Now the canonical way to start CIDER is `C-c M-x` (M-x cider) or `C-c C-x ...`. The old jack-in and connect keybindings will be removed at some point for the sake of consistency. * CIDER will now auto-inject piggieback for ClojureScript REPLs. * Many keymaps were changed significantly in order to make them consistent, group related actions together and to free up keys on the top-level (C-c C/M-letter). * CIDER and cider-nrepl are now released independently (not really obvious now, but should become clear what I mean after a few releases). Thanks to everyone who helped with the current release! I love you all! Special thanks to the London Clojurians, Daniel Compton and Clojurists Together for their support! Now it's time for me to take a long break and enjoy a few mugs of cold cider! Cheers! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.