Skip to content

CIDER 0.22 (São Paulo)

Compare
Choose a tag to compare
@bbatsov bbatsov released this 04 Sep 21:06
· 1487 commits to master since this release

New features

  • #2656: Base64 encode clojure command and arguments on jack-in when cider-clojure-cli-command is "powershell" to avoid escaping issues. If no clojure command is found on Windows cider-clojure-cli-command defaults to "powershell".
  • Allow editing of jack in command with prefix or when cider-edit-jack-in-command is truthy.
  • New defcustom cider-repl-require-ns-on-set: Set it to make cider require the namespace before setting it, when calling cider-repl-set-ns.
  • #2611: Add eval-based classpath lookup fallback. It's used when cider-nrepl is not present.
  • #2611: Add eval-based var info lookup fallback. It's used when cider-nrepl is not present.
  • #1840: Add a command to find runtime function references (cider-xref-fn-refs).
  • Add a command to find runtime function dependencies (cider-xref-fn-deps).
  • Add a menu to the inspector.
  • Add completion of shadow-cljs build names in the minibuffer when connecting or jacking in.

Changes

  • cider-use-tooltips now also controls whether help-echo is used.
  • cider-print-options is now supported by the pr option for cider-print-fn. The options will now be also used by interactive eval commands that do not use pretty-printing.
  • spec-list and spec-form requests send the current namespace for alias resolution.
  • C-c , C-g and C-c C-t C-g cancel the key chord instead of rerunning the last test. The respective command has been moved to C-c , C-a, C-c , a, C-c C-t C-a and C-c C-t a.
  • #2643: (Breaking) Stop using the cider.tasks/nrepl-server custom task for cider-jack-in with Boot.
  • #2647 cider-repl-require-repl-utils now loads cljs specific repl utils in cljs buffers.
  • #2689 cider-load-buffer now takes an optional callback that will override the default cider-load-file-handler.
  • #2689 cider-load-file-handler now takes an optional done-handler lambda that is run once load is complete.

Bug fixes

  • #2685: Send exclude-regexps in apropos under correct key
  • Stop cursor moving when initialising the CIDER REPL, when cider-repl-pop-to-buffer-on-connect is nil. This fixes a bug introduced by commit e0aca78b.
  • #2577: Ensure user friendly error messages if a repl connection is expected but none was found in certain situations.
  • #2593: The REPL's initial namespace is now set correctly if configured in another tool (e.g. Leiningen's :init-ns).
  • #2607: Use markers for specifying insertion point for cider-eval-*-to-commentcommands. This fixes a bug where editing the buffer during a pending evaluation resulted in comments appearing in unintended locations.
  • #2308: Don't rely on the classpath in cider-library-present-p. Now it does a require instead to check if some library is present or not.
  • #2541: Hook properly CIDER's code completion machinery.
  • #2659: Handle #shadow/env reader tags in cider--shadow-get-builds.
  • #2676: Widen before cider--file-string, to allow cider-load-buffer to work on narrowed buffers.
  • Don't disable cider-mode until all CIDER sessions have been closed.