Skip to content

Deprecate the legacy connection-named aliases#4033

Merged
bbatsov merged 1 commit into
masterfrom
deprecate-connection-aliases
Jun 26, 2026
Merged

Deprecate the legacy connection-named aliases#4033
bbatsov merged 1 commit into
masterfrom
deprecate-connection-aliases

Conversation

@bbatsov

@bbatsov bbatsov commented Jun 26, 2026

Copy link
Copy Markdown
Member

The four cider-*-connection* aliases are leftovers from before the connection -> REPL terminology change and have zero callers anywhere in lisp/, test/, or doc/. Mark them obsolete (pointing at the cider-repl names) so the byte-compiler nudges any external code off them:

  • cider-current-connection -> cider-current-repl
  • cider-connections -> cider-repls
  • cider-map-connections -> cider-map-repls
  • cider-connection-type-for-buffer -> cider-repl-type-for-buffer

The aliases still work; this just deprecates them (the graceful removal path) rather than hard-deleting public API. Surfaced by the session/connection deep dive. Clean --warnings-as-errors compile.

`cider-current-connection', `cider-connections', `cider-map-connections'
and `cider-connection-type-for-buffer' are leftovers from before the
connection->REPL terminology change and have no remaining callers in
CIDER.  Mark them obsolete in favor of the `cider-repl' names so the
byte-compiler steers any external code off them.
@bbatsov bbatsov merged commit aff1b02 into master Jun 26, 2026
13 checks passed
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