Cider Versions Save

The Clojure Interactive Development Environment that Rocks for Emacs

v1.13.1

2 months ago

1.13.1 (2024-02-01)

Bugs fixed

  • #3605: avoid cider--error-phase-of-last-exception recursive loop.
  • #3613: adapt cider-completion-context.el to upstream changes in Compliment.
  • #3587: avoid overlays and messages on stderr that is unrelated to exception handling.

v1.13.0

3 months ago

Changes

  • #3588: Compatibility with pwsh 7.3 quoting rules.
  • Introduce the cider-log-show function.
  • Bump the injected enrich-classpath to 1.19.0.
  • Bump the parseedn required version to 1.2.1.
  • Bump the injected cider-nrepl to 0.45.0.
    • Introduces Timbre compatibility for CIDER Log Mode.
    • Fixes JS completions for nested objects.
    • Bundles other fixes and reliability improvements.

v1.12.0

5 months ago
  • #3576: CIDER Inspector: display Java class/method/field block tags (Returns/Throws/Params info) when available.
  • CIDER Inspector: introduce 1 keybinding which performs cider-inspector-tap-at-point.
  • CIDER Inspector: introduce o keybinding which performs cider-inspector-open-thing-at-point.
  • CIDER Inspector: introduce : keybinding which performs cider-inspect-expr-from-inspector.
  • CIDER Inspector: retain truncate-lines values across screens.
  • #3580: cider-test: make test vars in test results reports clickable.
    • As defined in the newly introduced cider-test-var-keymap var.
  • #3582: Handle cider-clojure-compilation-error-phases values that have been customized to t.
  • #3581: Bump the injected enrich-classpath to 1.18.6.
    • Handles Clojure CLI :paths directly defined as :aliases.
  • Bump the clojure-mode required version to 5.18.1.
  • Bump the injected cider-nrepl to 0.44.0.

v1.11.1

5 months ago

Changes

  • Bump the injected cider-nrepl to 0.43.3.
    • Improves performance for error-handling functionality.
  • Bump the injected enrich-classpath to 1.18.4.
    • Handles a Clojure CLI edge case.

v1.11.0

5 months ago

New features

Changes

  • CIDER Inspector: display Java class/method/field info when available.
  • #3495: possibly display error overlays on cider-load-buffer.
  • #3572: lein.sh: honor XDG_CACHE_HOME.
  • Bump the injected cider-nrepl to 0.43.1.
    • Improves performance for exception handling and other use cases.
    • Fixes cider-inspector-refresh.
    • Offers better completions related to :as-alias under ClojureScript.

v1.10.0

5 months ago

New features

  • #3555: Introduce cider-start-nrepl-server function which does the same as cider-jack-in but without connecting to the started nREPL server.
    • This can help setting up more complex workflows.

Changes

  • Bump the injected cider-nrepl to 0.42.1.
    • Improves performance for completions- and info-related functionality.
    • Updates Orchard
      • Improves various Inspector presentational aspects.
    • Updates Suitable
      • Improves keyword completion for ClojureScript.
  • #3553: cider-pprint-eval-last-sexp, cider-eval-last-sexp-to-repl, cider-pprint-eval-last-sexp-to-repl: use error overlays to indicate failure.
    • this also avoids showing an empty *cider-result* buffer.
  • #3554: CIDER macroexpand: handle errors more gracefully.

Bugs fixed

v1.9.0

6 months ago

New features

  • #3529: CIDER inspector: introduce cider-inspector-previous-sibling, cider-inspector-next-sibling commands (doc).
  • #3548: CIDER inspector: introduce cider-inspector-tap-current-val command (doc).

Changes

  • #3546: Inspector: render Java items using java-mode syntax coloring.
  • #3521: Expand cider-clojure-compilation-regexp to also match e.g. Unexpected error (ExceptionInfo) macroexpanding defmulti at (src/ns.clj:1:1)..
  • Remove module info from the CIDER error overlay.
    • Example string that is now trimmed away: (java.lang.Long is in module java.base of loader 'bootstrap'; clojure.lang.IObj is in unnamed module of loader 'app')
  • #3522: Introduce a new possible value for cider-use-overlays: errors-only.
    • If specified, only errors will result in an overlay being shown.
  • #3527: Preserve the font size as one navigates through the CIDER inspector.
  • #3525: Introduce cider-inline-error-message-function customization option.
  • #3528: Bump the injected cider-nrepl to 0.41.0.
    • Updates Orchard, providing misc presentational improvements for the CIDER Inspector.

Bugs fixed

  • Inspector: avoid Symbol's value as variable is void: text-scale-mode-amount under certain Emacs clients.

v1.8.3

6 months ago

Changes

  • #3521: Expand cider-clojure-compilation-regexp to also match e.g. Unexpected error (ExceptionInfo) macroexpanding defmulti at (src/ns.clj:1:1)..
  • Remove module info from the CIDER error overlay.
    • Example string that is now trimmed away: (java.lang.Long is in module java.base of loader 'bootstrap'; clojure.lang.IObj is in unnamed module of loader 'app')
  • #3522: Introduce a new possible value for cider-use-overlays: errors-only.
    • If specified, only errors will result in an overlay being shown.
  • #3527: Preserve the font size as one navigates through the CIDER inspector.
  • #3525: Introduce cider-inline-error-message-function customization option.
  • #2903: Avoid No comment syntax is defined prompts.
  • Bump the clojure-mode required version to 5.18.0

Bugs fixed

  • #3533: Refine Sesman session linking to accurately work on *cider-test-report* buffers.
  • #3539: cider-jump-to-locref-at-point: don't jump to non-existing files.

v1.8.2

6 months ago

Changes

  • Bump the injected cider-nrepl to 0.40.0.
    • Improves the :style/indent, :arglist and other key metadata propagation for ClojureScript macros.

v1.8.0

6 months ago

New features

  • #3364: Update enrich-classpath, adding Clojure CLI compatibility, and reworking its integration into CIDER.
  • #3472: render Java doc comments and arglists with an improved format, and improve Java interop type inference.
    • Requires enrich-classpath to be enabled (see previous bullet point).
    • A related option has been introduced: cider-docstring-max-lines.
  • #3352: Add CIDER Log Mode, a major mode that allows you to capture, debug, inspect and view log events emitted by Java logging frameworks.
  • #3418: Introduce cider-clojure-compilation-error-phases (doc).
    • This prevents stacktraces from showing up whenever the :clojure.error/phase indicates that it's a compilation error.
  • Infer indentation specs when possible (doc).
  • #2958, #3279: cider-test-run-test: support arbitrary deftest-like forms, defns with :test metadata, and search for a -test counterpart for a given defn (following cider-test-infer-test-ns logic).
    • This also makes obsolete the cider-test-defining-forms customization variable.
  • cider-test: add timing information.
  • cider-test: fail-fast by default, as controlled by the new cider-test-fail-fast defcustom and cider-test-toggle-fail-fast keybinding.
  • #3352: Introduce cider-eval-dwim.
  • Add new customization variable cider-clojurec-eval-destination to allow specifying which REPL .cljc evals are sent to.
  • #3354: Add new customization variable cider-reuse-dead-repls to control how dead REPL buffers are reused on new connections.

Bugs fixed

  • #3341: Escape clojure-cli args on MS-Windows on non powershell invocations.
  • #3353: Fix regression which caused new connections to prompt for reusing dead REPLs.
  • #3355: Fix cider-mode disabling itself after a disconnect when cider-auto-mode is set to nil.
  • #3362: Fix sesman-restart regression issue.
  • #3236: cider-repl-set-ns no longer changes the repl session type from cljs:shadow to clj.
  • #3383: cider-connect-clj&cljs: don't render "ClojureScript REPL type:" for JVM repls.
  • #3331: cider-eval: never jump to spurious locations, as sometimes conveyed by nREPL.
  • #3112: Fix the CIDER xref-find-references backend to return correct filenames.
  • #3393: recompute namespace info on each shadow-cljs recompilation or evaluation.
  • #3402: Fix cider-format-connection-params edge case for Emacs 29.
  • Recompute namespace info on each fighweel-main recompilation.
  • #3250: Don't lose the CIDER session over TRAMP files.
  • #3413: Make jump-to-definition work in projects needing cider-path-translations (i.e. Dockerized projects).
  • #2436: Prevent malformed cider-repl-history-files from failing cider-jack-in.
  • #3456: Restore xref-based jump-to-definition in Babashka (and any nREPL clients not having cider-nrepl).
  • #3466: Restore usual cider--connected-handler performance for JVM Clojure repls.
  • #3503: Make cider-repl-set-ns more reliable on Piggieback connections.
  • Fix the xref-find-definitions CIDER backend to return correct filenames.
  • Fix the cider-xref-fn-deps buttons to direct to the right file.
  • Fix the cider-find-keyword overall reliability and correctness, particularly for ClojureScript.
  • Make TRAMP functionality work when using non-standard ports.
  • Fix the cider-insert-commands-map variable initialization.

Changes

  • Ensure that cider completion isn't used with completion styles that are currently unsupported (initials, partial-completion, orderless, etc).
    • This restores completions for users that favor those styles - otherwise the would see bad or no completions.
    • Relatedly, cider-company-enable-fuzzy-completion is now deprecated in favor of cider-enable-flex-completion.
  • Improve support for multiple forms in the same line by replacing beginning-of-defun fn.
  • #3390: Enhance cider-connect to show all nREPLs available ports, instead of only Leiningen ones.
  • #3408: cider-connect: check .nrepl-port-like files for liveness, hiding them if they don't reflect an active port.
  • Introduce cider-stacktrace-navigate-to-other-window defcustom.
  • Preserve the :cljs-repl-type more reliably.
  • Improve the presentation of xref data.
  • #3419: Also match friendly sessions based on the buffer's ns form.
  • Always match friendly sessions for cider-ancillary-buffers (like *cider-error*, *cider-result*, etc).
  • cider-test: only show diffs for collections.
  • cider-inspector-def-current-val now can suggest a var name (default none), which can be customized via cider-inspector-preferred-var-names.
  • The "Member in class: " prompt can now be optionally skipped in ido-mode by pressing <up> or <down> (doc).
  • #3375: cider-test: don't render a newline between expected and actual, most times.
  • Interactive evaluation: show a shorter overlay when rendering compilation errors.
    • e.g., the Syntax error compiling clojure.core/let at (foo/bar.clj:10:1) prefix is now removed.
  • Ensure there's a leading : when using cider-clojure-cli-aliases.
  • Improve nrepl-dict error reporting.
  • Bump the injected piggieback to 0.5.3.
  • Bump the clojure-mode required version to 5.17.1, and use clojure-find-ns more safely, which fixes issues such as #2849.
  • Bump the parseedn require version, and wrap its usage with a more informative user-error.
  • Bump the injected cider-nrepl to 0.39.1.
    • Improves indentation, font-locking and other metadata support for ClojureScript.
    • Updates Orchard
      • introduces support for displaying the docstring and arglists of 'indirect' vars (e.g. (def foo bar)) for Clojure/Script.
      • fixes xref support across deftest vars.
    • Updates Compliment
      • Improves type hint propagation.
      • Supports better completions for doto, ->, ->>, some->, and some->>.
      • Supports better completions for var-quote (#'some/var).
      • Supports better completions for deftype field names.
    • Updates Haystack.
      • Now, in *cider-error*, more internal stackframes will be hidden under the tooling category.
    • Updates Suitable
      • avoiding side-effecting -> evaluation for pure-ClojureScript chains.