Skip to content

CIDER 2.0.1

Latest

Choose a tag to compare

@bbatsov bbatsov released this 23 Jul 15:25

Changes

  • #4116: Bump the injected cider-nrepl to 0.62.2, so a dead trace/tap subscriber no longer breaks every traced evaluation, and the debugger no longer shadows the enlighten middleware's evaluator.
  • #4037: Stop calling the private sesman--linked-sessions, using the public sesman-sessions API instead, so REPL font-locking doesn't break if that internal changes across sesman versions.

Bugs fixed

  • #4128: Fix cider-load-buffer/cider-load-file potentially freezing Emacs on a huge last-form result, by honoring the print settings (notably cider-print-quota) for load-file requests, as eval requests already do.
  • #4124: Fix evaluation failing with "No linked CIDER sessions" after jumping to a dependency's source via xref-find-references (M-?): out-of-project reference buffers are now pinned to the originating REPL, like xref-find-definitions already was.
  • #4126: Fix the "No REPLs in current session" errors showing an empty session name when raised in a buffer pinned to a session (e.g. a dependency's source).
  • #4120: Fix evaluation, debugging and inspecting in a dependency's source buffer still erroring with "No linked CIDER sessions": cider-ensure-session now honors the pinned REPL (and cider-default-session) like the rest of the REPL resolution does, instead of only checking sesman's linked sessions.
  • #4118: Fix xref-find-definitions (M-.) onto a dependency's source breaking session linking: the opened buffer is now pinned to the REPL it was navigated from, so evaluation there no longer errors with "No linked CIDER sessions".
  • #4115: Fix inline macro stepping (cider-macrostep): pressing e/RET right after n/p now expands the operator you jumped to, instead of erroring with "No sexp before point to expand".
  • #4114: Fix cider-enlighten-mode never lighting anything up: the enlighten flag was dropped from eval requests built in source buffers (a 1.22 regression), and the value overlays were discarded because enlighten events carry no source text to verify against.
  • #4111: Fix the macroexpansion commands refusing to expand let, fn, loop and letfn (macros that double as special forms), restore the no-op expansion of non-macro forms (useful for normalizing reader syntax like ::auto/kw and #(...)), and stop gating cider-macroexpand-all on the top-level operator (a fully-recursive expansion can reach macros in nested sub-forms).