Releases: BetterThanTomorrow/calva
Releases · BetterThanTomorrow/calva
v2.0.543
Changes
-
Add support for multiple concurrent nrepl connections
- Updates to Connect Sequences:
- Custom REPL session names via
replSessionNames:primary(defaults toclj) andsecondary(defaults tocljs). - Route files to sessions with
replSessionFilePatternsusingprimary/secondarykeys. Patterns like*.cljare automatically scoped to the sequence's project root. - Pattern tier properties
always-claim/is-fallback-forcontrol routing priority. Thealways-claimtier takes precedence in file routing. - Rename
afterCLJReplJackInCode→afterPrimaryReplConnectedCode(the old name still works).
- Custom REPL session names via
- 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
.cljcoverrides. - Adds API function
repl.listSessions() - Updates default connect sequences for Joyride, Babashka, nbb, and Basilisp, to use custom
replSessionNames, and configured default routings withreplSessionFilePatterns. - Removed deprecated
calva.useLegacyReplWindowPathsetting. 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.
- Updates to Connect Sequences:
-
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
defaultPortto connect sequence settings. -
The
calva.copyJackInCommandToClipboardcommand 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-replfile.
v2.0.542
- Bump default deps.clj to
v1.12.4.1582 - Fixed nRepl unknown-session
v2.0.541
- Enable editing of Jack In Dependency Versions in the Settings UI
- Jack In Dependency Versions: Use only configured settings or Calva defaults
Current Calva defaults:nrepl: 1.5.1cider-nrepl: 0.58.0cider/piggieback: 0.6.10
v2.0.540
v2.0.539
- Use latest version of libs for Jack-in, if no specific version was set by the user
Previous default versions:nrepl: 1.3.1cider-nrepl: 0.55.4cider/piggieback: 0.6.0
v2.0.538
v2.0.537
v2.0.536
v2.0.535
- Make API evaluations show in the Calva output destination
- Configure different keyboard shortcuts for different REPL connect sequences
- Bump deps.clj.jar to v1.12.3.1577
