eclipse-lsp4j / lsp4j

A Java implementation of the language server protocol intended to be consumed by tools and language servers implemented in Java.
https://eclipse.org/lsp4j
Other
599 stars 143 forks source link

LSP4J 0.22.0 #732

Closed jonahgraham closed 6 months ago

jonahgraham commented 1 year ago

This is the Release plan and TODO list for LSP4J release v0.22.0.

Steps for Release

Items at the beginning of development

Items in the days ahead of Release day:

Items on Release day:

jonahgraham commented 1 year ago

Because of fixes to handling 3rd party libs we need to do a release (or pre-release) of LSP4J so that we can see the effects in SimRel and resolve what Ed raised in https://www.eclipse.org/lists/cross-project-issues-dev/msg19709.html

I can do a release now, but because of the current dep on a milestone of xtend I don't know if that is a good idea (#751)

@cdietrich thoughts?

cdietrich commented 1 year ago

The problem is I changed jobs on 1st so I won’t be really able to contribute much (specially on Xtext side )

jonahgraham commented 1 year ago

OK - I guess we'll have to figure that out as a community!

All the changes to LSP4J since 0.21.0 release have been third-party dep changes, so maybe best to simply do a 0.21.x release on 15 August with these changes backported:

pisv commented 1 year ago

Hmmm... Is it even allowed to use yet-to-be-released content of other Eclipse projects in a release? IIRC, it was not allowed in the past...

cdietrich commented 1 year ago

Xtext has to my knowledge no dep to the generator so we might be able to live with a broader range von Xtext side And thus consume an older maven dependency. and in p2 include the newer on (doing the 2nd release after the Xtext release

@szarnekow @tivervac any comments from your side

jonahgraham commented 1 year ago

Hmmm... Is it even allowed to use yet-to-be-released content of other Eclipse projects in a release? IIRC, it was not allowed in the past...

It still is not - we are not going to release that content and #751 needs resolving to make sure that is handled.

tivervac commented 1 year ago

Xtext has to my knowledge no dep to the generator so we might be able to live with a broader range von Xtext side And thus consume an older maven dependency. and in p2 include the newer on (doing the 2nd release after the Xtext release

@szarnekow @tivervac any comments from your side

@cdietrich Is your question whether we use the org.eclipse.lsp4j.generator plugin? If so, we do not. Regarding LSP4J, we can make our range wider, but only if backward compatibility is ensured of course

cdietrich commented 1 year ago

Yes this is what I meant: use current lsp4j in xtext release, but allow newer release in manifest so that simrel can pull newer lsp4j

szarnekow commented 1 year ago

I don't think LSP4J does semantic versioning (same as Xtext). This will make it a bit harder. I can see that it'd work to depend on LSP4J[current, current+2) instead of LSP4J[current, current+1) but this would also only reduce the probability of allowing inconsistent OSGI resolution.

jonahgraham commented 1 year ago

Can I release lsp4j 0.21.1 with guava dependency range increased to: '[30.1.0,33)'?

jonahgraham commented 1 year ago

Can I release lsp4j 0.21.1 with guava dependency range increased to: '[30.1.0,33)'?

This is what I mean explicitly: https://github.com/eclipse-lsp4j/lsp4j/pull/759

jonahgraham commented 1 year ago

Can I release lsp4j 0.21.1 with guava dependency range increased to: '[30.1.0,33)'?

I did this - see all details in #761 and #759

bastiandoetsch commented 9 months ago

Hey there, any idea when 0.22.0 is gonna land?

jonahgraham commented 8 months ago

I think we should schedule this to release, well in time for 2024-03 M3? That would mean around or before 13 Feb.

cc: @cdietrich @mickaelistria @pisv for input on dates and coordination with your consumption of LSP4J. In particular, it would be nice if we all had 2024-03 using the same version of LSP4J.

cdietrich commented 8 months ago

we wont have a new xtend release though. otherwise ok. do we already know if there will be any api changes upstream in the protocol?

jonahgraham commented 8 months ago

We currently implement DAP 1.60, latest is 1.64. But no one has scheduled time (AFAIK) to do the work to bring us up to date.

For LSP I think we are up to date already (3.17 is documented as latest upstream and that is what appears in our README)

jonahgraham commented 6 months ago

Because of https://status.eclipsestatus.io/maintenance/315201 I may have trouble getting 0.22.0 done today. Builds are not running on Jenkins with errors like "forbidden: exceeded quota: jenkins-instance-quota"

jonahgraham commented 6 months ago

I raised https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4283

jonahgraham commented 6 months ago

I'm part way through the release steps but I have to step away for a meeting. I'll resume later today.

jonahgraham commented 6 months ago

The release is now complete. The maven should update once their scripts run and I am now preparing the repo for 0.23.0 development (And can prepare for 0.22.1 if needed)