Skip to content

CIDER 0.6.0

Compare
Choose a tag to compare
@bbatsov bbatsov released this 24 Apr 18:51
· 5010 commits to master since this release

CIDER 0.6 is probably the biggest release in the history of the project. It comes with many new features and improvements - most notably proper ClojureScript support via the cider-nrepl middleware. It also brings much improved completion logic and stacktrace display (also via cider-nrepl) + a brand new inspector.

CIDER 0.6 signifies both the maturing of the project and the end of an era. It will be the very last release that will work without the cider-nrepl middleware. Inlining Clojure code is problematic on many levels and I decided that I'm done with it. I'd rather us offload as much logic as we can into middleware. So in CIDER 0.7 cider-nrepl will be a hard dependency, which makes installation a bit more complex, but the extra benefits are well worth a slight inconvenience.

One last thing - support for Emacs 23 was officially dropped and all the source code now uses the lexical scoping introduced in Emacs 24.1. I guess this will affect pretty few users, but it has to be mentioned.

Below are all the gory details. Enjoy!

P.S. I'm having problems uploading the package to Marmalade for the millionth time. Not sure when (if ever) CIDER 0.6 will land there.

New features

  • New interactive command cider-change-buffers-designation.
  • Cider command uses cider-known-endpoints.
  • #490 Dedicated
    support for company-mode in cider-complete-at-point.
  • #489 Enable
    cider-jack-in on tramp source buffers.
  • #460 Support for
    cider-nrepl's complete middleware for CLJ/CLJS autocomplete.
  • #465 Support for
    cider-nrepl's info middleware for jump-to-definition.
  • #469 Add option
    cider-prompt-save-file-on-load.
  • New interactive command cider-insert-defun-in-repl.
  • New interactive command cider-insert-ns-form-in-repl.
  • New inspector inspired by SLIME's inspector
  • STDERR ouput is now font-locked with cider-repl-err-output-face to make it
    visually distinctive from cider-repl-output-face (used for STDOUT output).
  • New interactive command cider-scratch.
  • #521 New interactive
    stacktrace filtering/navigation using cider-nrepl's stacktrace middleware.

Changes

  • #513
    Remove hardcoded use of IDO mode and use completing-read.
  • Required Emacs version is now 24.1.
  • #486 Improve
    support for tramp, so tramp paths do not get used in compiled debug
    information. cider-jump still uses tramp filenames to find
    definitions if used in a buffer associated with a tramp file.
  • Renamed cider command to cider-connect.

Bugs fixed

  • #515 Fix
    inconsistent prompt used for load symbol functions.
  • #501 Fix
    nil appearing in nrepl-server buffer name when no project directory.
  • #493 Fix rotate connection to handle no
    nREPL connection.
  • #468 Fix
    pretty-printing of evaluation results so that *1 is set properly.
  • #439 Fix
    race condition bug in cider-restart.
  • #441 Fix timing bug in cider-jack-in.
  • #482 Fix jump-to-def for cljx dependency jars.