Skip to content

Leave the reload repairs to cider-nrepl 0.64.1 - #87

Merged
bbatsov merged 1 commit into
mainfrom
rely-on-cider-nrepl-reloads
Nov 7, 2026
Merged

bbatsov merged 1 commit into
mainfrom
rely-on-cider-nrepl-reloads

Conversation

@bbatsov

@bbatsov bbatsov commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

cider-nrepl 0.64.1 does after its reloads what neorepl did by hand. The session re-entry stays for an older cider-nrepl, behind describe's cider-version, since servers that CIDER jacks in or a project pins won't have 0.64.1 for a while. The alias relinking never shipped in a release, so it just goes.

cider-nrepl 0.64.1 points the aliases and refers on the namespaces its
reloads make anew at the new ones, for every client, and puts the
session that asked for the reload back in its namespace. Jack-in brings
it now, so neorepl's own relinking goes, and its re-entry only runs for
a cider-nrepl before 0.64.1, going by describe's cider-version, until
that's the oldest one supported.

,reload sends refresh in the REPL's session, so cider-nrepl puts that
one back, and sends it again without the session in a ClojureScript
one, where refresh answers clojure-only. The REPL's own follow-up, which
evaluated in-ns and left *1 holding the namespace, goes too.
@bbatsov
bbatsov merged commit de5ed27 into main Nov 7, 2026
39 of 40 checks passed
@bbatsov
bbatsov deleted the rely-on-cider-nrepl-reloads branch November 7, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant