Releases: clojure-emacs/cider
CIDER 0.8.2
Bugs fixed
- #867: Update Grimoire URL to fix (cider-grimoire-lookup) regression due to HTTP 301 (Moved Permanently).
- #883: Encode properly the javadoc url.
- #824: Fix REPL font-locking.
- #888: Handle comments in
cider-repl-mode. - #830: Stop using
load-filefor most interactive evaluation commands. - #885: Translate nREPL-delivered map keys to symbols before adding as text properties.
- Fix tab completion in
cider-read-from-minibuffer. - #894: Make it possible to enter any symbol with
cider-read-symbol-name. - Report Clojure's version including its qualifier (e.g.
alpha4) if present.
CIDER 0.8
New features
cider-auto-jump-to-erroraccepts new option'errors-onlycider-connectnow asks for remote hosts defined in machine-widessh
configuration files and automatically detects running instances of lein
server, both on local and remote machines.- New defcustom
cider-stacktrace-print-level. Controls the*print-level*used when
pretty printing an exception cause's data. Defaults to 50. - New interactive command
cider-undef. - New interactive command
cider-clear-compilation-highlights. - First pass at a CIDER quick reference card.
completion-at-pointnow annotates functions, macros and special forms, thus making it
simpler to gain understanding of what you're using (disabled by default).- When invoked with a prefix argument
cider-quitdoesn't ask for confirmation. - Enhance stacktrace to definition navigation to work for interactively defined vars.
- New vars:
cider-to-nrepl-filename-functionandcider-from-nrepl-filename-function
are used to translate filenames from/to the nREPL server (default Cygwin implementation provided). - Java classpath browser (
M-x cider-classpath). - Clojure namespace browser (
M-x cider-browse-nsandM-x cider-browse-ns-all). - Added the ability to jump to a definition from a docview buffer.
- New interactive command
cider-close-nrepl-session. - New interactive command
cider-describe-nrepl-session. - New interactive command
cider-toggle-trace-ns(mapped to C-c M-t n) - New interactive command
cider-repl-require-repl-utils. - #784: Make it possible to run tests in
the current ns withC-u C-c ,.
Changes
- bencode decoder was rewritten:
- nREPL dicts are now plists and accessor api is given by
nrepl-dict-p,
nrepl-dict-getandnrepl-dict-put. - nested stack is used for decoded messages to avoid re-parsing of incomplete messages
- queues are used for incoming strings from the server and for the decoded responses
- nREPL dicts are now plists and accessor api is given by
- REPL buffers are now connection buffers for REPL client connections.
- Server and client cranking were isolated into
nrepl-start-server-processand
nrepl-start-client-process. - nrepl-client.el refactoring:
-
nrepl-send-request-syncwas renamed intonrepl-send-sync-requestto comply -
with the names of other 'sync' variables.
-
nREPL requests are now named with
nrepl-request:OPwhere "OP" stands for
the type of the request (eval, clone etc.). The following functions
were renamed:nrepl-send-string->nrepl-request:eval
nrepl-send-string-sync->nrepl-sync-request:eval
nrepl-send-interrupt->nrepl-request:interrupt
nrepl-send-stdin->nrepl-request:stdin
nrepl-describe-session->nrepl-request:describe
nrepl-create-client-session->nrepl-request:clone
-
- Renamed
cider-macroexpansion-suppress-namespacestocider-macroexpansion-display-namespaces. - #652: Suppress eldoc when
an error message is displayed in the minibuffer. - #719 The customization
variablecider-test-show-report-on-successcontrols now, whether to show the
*cider-test-report*buffer on passing tests. The default is to not show the
buffer. - Renamed
cider-toggle-tracetocider-toggle-trace-varand remapped it to C-c M-t v.
Bugs fixed
- #705: Fixed macroexpansion
bug fortidynamespace display. - Font-lock properly error messages in the REPL resulting from interactive evaluation.
- #671: Remove problematic code that was
setting the REPL's initial ns based on lein's:init-nsoption. - #695: Keep point at
original position when clearing or highlighting test results. - #744: Fix the ability to customize the
lein command invoked bycider-jack-in. - #752: Don't assume
clojure.core/letis always available aslet. - #772: Don't try to read Clojure results as
Emacs Lisp code. - #631: Set
fileandlinemetadata when
doing interactive evaluation. - nREPL sessions are now closed on
cider-quit. - Fix minibuffer history for
cider-read-and-eval.
CIDER 0.7.0
New features
- New
cider-auto-jump-to-errorcontrol variable for auto jumping to error
location. - #537: New support for
Java symbol lookup from cider-nrepl's info middleware. - #570: Enable toggling
of the 'all' filter on stacktraces. - #588: New
doc-mode
for presenting fontified documentation, including Javadoc. - New interactive command
cider-toggle-trace. cider-selectcan now switch to the*cider-error*buffer (bound tox).- #613: New
clojure.test
integration. - #22: New command
cider-jump-to-resource(bound to C-c M-.). - #664: New apropos support:
search function/var names (bound to C-c C-d a) or documentation
(bound to C-c C-d A). - You can view Grimoire's entry for a particular Clojure (built-in) symbol in
Emacs withcider-grimoire(C-c C-d g) or your default browser with
cider-grimoire-web(C-c C-d h). cider-modenow displays the namespace of the current buffer in the mode-line
(as SLIME does).
Changes
- #597: Don't process nREPL
messages unless the whole message has been received. - #603: New variable
cider-show-error-bufferto control the behavior of the error buffer. Obsoletes
cider-popup-on-error,cider-popup-stacktracesand
cider-repl-popup-stacktraces. cider-nreplis now required. Without it pretty much nothing will work.- Removed redundant command
cider-src. - Renamed
nrepl-log-eventsvariable tonrepl-log-messages. - Renamed
nrepl-log-eventscommand tonrepl-log-messages. - Remove redundant
cider-srccommand. - #582: Enable efficient
loading of jar/zip resources. - #589: Don't prefer local
paths over tramp by default. - #554:
cider-auto-select-error-bufferis set totby default. - #610: Present error and
stacktrace info for all exception causes. - Removed
cider-repl-print-lengthconfig option and
cider-repl-toggle-print-length-limitingcommand. - Remapped
cider-docto C-c C-d d. - Remapped
cider-javadocto C-c C-d j - cider's scratch is now more consistent with an Emacs Lisp scratch buffer.
Bugs fixed
CIDER 0.6.0
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 forcompany-modeincider-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-faceto make it
visually distinctive fromcider-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 usecompleting-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-jumpstill uses tramp filenames to find
definitions if used in a buffer associated with a tramp file. - Renamed
cidercommand tocider-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*1is set properly. - #439 Fix
race condition bug incider-restart. - #441 Fix timing bug in
cider-jack-in. - #482 Fix jump-to-def for cljx dependency jars.