Skip to content

Releases: BetterThanTomorrow/calva

v2.0.543

23 Dec 10:01
@PEZ PEZ

Choose a tag to compare

Changes

  • Add support for multiple concurrent nrepl connections

    image
    • Updates to Connect Sequences:
      • Custom REPL session names via replSessionNames: primary (defaults to clj) and secondary (defaults to cljs).
      • Route files to sessions with replSessionFilePatterns using primary/secondary keys. Patterns like *.clj are automatically scoped to the sequence's project root.
      • Pattern tier properties always-claim/is-fallback-for control routing priority. The always-claim tier takes precedence in file routing.
      • Rename afterCLJReplJackInCodeafterPrimaryReplConnectedCode (the old name still works).
    • Automatic session name conflict resolution: connecting multiple REPLs with the same session names (e.g., two deps.edn projects) "just works". Calva appends a suffix from the pool e.g., clj:2, cljs:2, to avoid conflicts, preserving names on reconnection.
    • Connecting an additional sequence no longer disconnects earlier ones unless they reuse the same replSessionNames (treated as a re-connect).
    • Jacking in to another connect sequence no longer closes the previous REPL; each jack-in keeps its own pseudo terminal unless the sessions share replSessionNames, in which case it becomes a restart.
    • Allows Session pinning—lock all evaluations to a specific session and override pattern-based routing.
    • New command: Calva: Repl Sessions, listing sessions, enabling pinning, toggling auto-route, and selecting the CLJC evaluation session (also available from the status bar session indicator).
    • Adds a REPL Sessions status bar menu for pinning sessions, toggling auto-route, and setting .cljc overrides.
    • Adds API function repl.listSessions()
    • Updates default connect sequences for Joyride, Babashka, nbb, and Basilisp, to use custom replSessionNames, and configured default routings with replSessionFilePatterns.
    • Removed deprecated calva.useLegacyReplWindowPath setting. The REPL window is now always located at .calva/repl.calva-repl.
    • Let the first session connected determine where the REPL Window file is created.
  • Adds a new connect sequence: Clojure projectless, for jack-in and connect without a deps.edn, etcetera needed.

  • Improve error messages around CLJS build configuration

  • Adds scittle connect sequence

  • Adds defaultPort to connect sequence settings.

  • The calva.copyJackInCommandToClipboard command now accepts a connect sequence argument.

  • Add some messaging when using the REPL Window, and when potentially attempting to use it from the wrong .calva-repl file.

v2.0.542

20 Dec 17:23
@PEZ PEZ

Choose a tag to compare

v2.0.541

08 Dec 09:47
@PEZ PEZ

Choose a tag to compare

v2.0.540

06 Nov 21:17
@PEZ PEZ

Choose a tag to compare

v2.0.539

28 Oct 13:51
@PEZ PEZ

Choose a tag to compare

v2.0.538

19 Oct 21:32
@PEZ PEZ

Choose a tag to compare

v2.0.537

15 Oct 21:33
@PEZ PEZ

Choose a tag to compare

v2.0.536

28 Sep 20:11
@PEZ PEZ

Choose a tag to compare

v2.0.535

28 Sep 13:00
@PEZ PEZ

Choose a tag to compare

v2.0.534

24 Sep 14:13
@PEZ PEZ

Choose a tag to compare

  • Re-enable shadow-cljs runtimes connection updates...