Skip to content

Adapt LSP4E to LSP4J vers. 1.0.0#1421

Merged
rubenporras merged 3 commits intoeclipse-lsp4e:mainfrom
travkin79:feature/lsp4j-1
Feb 10, 2026
Merged

Adapt LSP4E to LSP4J vers. 1.0.0#1421
rubenporras merged 3 commits intoeclipse-lsp4e:mainfrom
travkin79:feature/lsp4j-1

Conversation

@travkin79
Copy link
Copy Markdown
Contributor

Adapt LSP4E to LSP4J API changes as suggested by @jonahgraham. Other PRs requiring LSP4J vers. 1.0.0 like PR #1149 will base upon changes from this PR.

@sebthom
Copy link
Copy Markdown
Member

sebthom commented Nov 25, 2025

We should hold merging this back until LSP4J 1.0 is actually released otherwise we are blocked from cutting LSP4E releases ourselves from now on.

@travkin79
Copy link
Copy Markdown
Contributor Author

Hi @sebthom,

We should hold merging this back until LSP4J 1.0 is actually released...

I expected that. Would you prefer to change this PR's status to draft?

@sebthom
Copy link
Copy Markdown
Member

sebthom commented Nov 25, 2025

I think that is appropriate for now.

@travkin79 travkin79 marked this pull request as draft November 25, 2025 15:29
Copy link
Copy Markdown
Contributor

@jonahgraham jonahgraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM - I have done code inspection, but not run it up in LSP4E.

@travkin79 travkin79 force-pushed the feature/lsp4j-1 branch 2 times, most recently from d227f85 to ee645ca Compare November 27, 2025 13:26
@travkin79 travkin79 force-pushed the feature/lsp4j-1 branch 2 times, most recently from e584f6b to 9239d88 Compare December 10, 2025 13:06
@travkin79 travkin79 mentioned this pull request Jan 21, 2026
37 tasks
@travkin79 travkin79 marked this pull request as ready for review February 10, 2026 09:20
org.eclipse.lsp4j.jsonrpc;bundle-version="[0.24.0,0.25.0)",
org.eclipse.lsp4j.jsonrpc.debug;bundle-version="[0.24.0,0.25.0)",
org.eclipse.lsp4j.debug;bundle-version="[0.24.0,0.25.0)",
org.eclipse.lsp4j.jsonrpc;bundle-version="[1.0.0,2.0.0)",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should all these not use 1.1.0 instead of 2.0.0?

Copy link
Copy Markdown
Contributor Author

@travkin79 travkin79 Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it is intentionally set to 1.0.0. There was no LSP4E release yet based on the latest LSP4J release vers. 1.0.0 and LSP4J vers. 1.1.0 is still under development. see #1421 (comment)

Should LSP4E not always depend on a released LSP4J version?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not mean to change 1.0.0, I meant change 2.0.0 to 1.1.0, which would be the next minor version bump, equivalent to what we have been doing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I should have read your comment more properly. Sorry for that.

But I'm still not sure if an upper range limit of 1.1.0 instead of 2.0.0 is what we want. Starting with LSP4J 1.0.0, semantic versioning is used. Doesn't that mean that increasing the minor version of LSP4J would not introduce any breaking change and we can leave the upper range limit being 2.0.0?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your point. Let's go for this. I have rerun one failing build and if it passes, I will merge it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@travkin79 , actually I cannot merge. Can you do the rebase?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its already merged, but here is a +1 review as requested.

Doesn't that mean that increasing the minor version of LSP4J would not introduce any breaking change and we can leave the upper range limit being 2.0.0?

I hope so! Assuming LSP4J doesn't screw up.

It may not mean any less updates needed to version ranges, but at least those updates will be semantic version compliant. i.e the next version LSP4J releases may well be 2.0.0, it is still TBD depending on what patches/improvements the project gets.

org.eclipse.ui.navigator;bundle-version="3.6.100",
org.eclipse.lsp4j;bundle-version="[0.24.0,0.25.0)",
org.eclipse.lsp4j.jsonrpc;bundle-version="[0.24.0,0.25.0)",
org.eclipse.lsp4j;bundle-version="[1.0.0,2.0.0)",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

Copy link
Copy Markdown
Contributor

@rubenporras rubenporras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please adapt the version ranges?

travkin79 and others added 3 commits February 10, 2026 12:06
For the sake of simplicity, for now, we only use the left argument in
Either tuples, i.e. the types that we used in earlier versions.
Thanks @jonahgraham

Co-authored-by: Jonah Graham <jonah@kichwacoders.com>
@rubenporras rubenporras merged commit 36f8935 into eclipse-lsp4e:main Feb 10, 2026
12 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.

4 participants