Skip to content

fix(lsp): report the installed citry-lsp version as SERVER_VERSION - #883

Merged
JuroOravec merged 1 commit into
mainfrom
fix/lsp-server-version
Nov 25, 2026
Merged

JuroOravec merged 1 commit into
mainfrom
fix/lsp-server-version

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

(Opus 5.5)

The citry-lsp 1.0.1 release bump (#882) left citry_lsp.SERVER_VERSION at the literal "1.0.0" in protocol.py. The release candidate's distribution check (scripts/verify_citry_lsp_distribution.py) caught it, so nothing was published.

SERVER_VERSION now reads the installed distribution's version with importlib.metadata.version("citry-lsp"), so it always matches pyproject.toml and a later release bump can't miss it. Editors read it from the status payload (server_version) to show the server's version; the value for an installed 1.0.1 is "1.0.1".

No changelog entry: 1.0.1 has not been published, and its entry already describes the release.

🤖 Generated with Claude Code

The 1.0.1 release bump left SERVER_VERSION at 1.0.0, which the release
candidate's distribution check caught. Reading the version from the
package metadata keeps the two from drifting again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JuroOravec
JuroOravec merged commit 90f9f3e into main Nov 25, 2026
28 checks passed
@JuroOravec
JuroOravec deleted the fix/lsp-server-version branch November 25, 2026 03:38
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