lsp4j icon indicating copy to clipboard operation
lsp4j copied to clipboard

LSP4J 0.23.0

Open jonahgraham opened this issue 1 year ago • 5 comments

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

Steps for Release

Items at the beginning of development

  • [x] Create an Endgame Issue to track the release. As a starting point use documentation/releasing.md.
  • [x] Ensure all previous Endgame issues are done.
  • [x] Create a New milestone for the release
  • [x] Check CHANGELOG.md is up to date. The changelog should have a version entry, release date, API Breakages and other information consistent with current entries in the changelog.
  • [x] Check README.md is up to date. In particular that the planned release and which versions of DAP and LSP are support is listed.
  • [x] Increment version of all feature.xml, pom.xml and any other place full version is used. (Easiest way is global find and replace, e.g. s/0.22.0/0.23.0/g, s/0.21.0/0.22.0/g and review changes.) Ensure that -SNAPSHOT is restored in the gradle/versions.gradle and releng/pom.xml
  • [x] Enable sh './releng/deploy-build.sh' in releng/build.Jenkinsfile
  • [x] Ensure the CI build is stable - it is always better to release a "Green Dot" build

Items in the days ahead of Release day:

  • [ ] Create release on PMI
  • [ ] Schedule the release and if needed schedule a release review on the PMI. A release review is needed every 12 months, not with each release.
  • [ ] Check CHANGELOG.md is up to date. The changelog should have a version entry, release date, API Breakages and other information consistent with current entries in the changelog.
  • [ ] Check README.md is up to date. In particular that the planned release and which versions of DAP and LSP are support is listed.
  • [ ] Check all closed PRs and Issues to make sure their milestone is set. (Note: this was not until after 0.10.0 release so many old PRs and Issues have no milestone, therefore only consider items back to approx 5 Nov 2020). This search may be useful to identify such closed issues
  • [ ] Create and analyse a japicmp report and publish it as part of the build. Ensure that the API versions are incremented accurately based on the report. The reports are part of the build in japicmp-report and generated by releng/runjapicmp.sh
  • [ ] Update links in changelog for japicmp from the nightly to the final location

Items on Release day:

  • [ ] Prepare the repo for release by:
    • [ ] removing -SNAPSHOT from gradle/versions.gradle
    • [ ] removing -SNAPSHOT from releng/pom.xml entries in <dependencies> section.
    • [ ] disabling sh './releng/deploy-build.sh' in releng/build.Jenkinsfile
    • see commit https://github.com/eclipse-lsp4j/lsp4j/commit/328ce8a4c89b0cd84fb62118f459b6cf79b09e90 for a past example
  • [ ] Push the above change
  • [ ] Run the CI build
  • [ ] Mark the build as Keep Forever and add to the description v0.23.0
  • [ ] Deploy the release by running the Release CI job with parameters:
    • LSP4J_PUBLISH_LOCATION -> updates/releases/0.23.0 ( <-- check version number)
    • PROJECT -> lsp4j-multi-build/job/main
    • LSP4J_BUILD_NUMBER -> the build that was just run above
    • DRY_RUN -> false
  • [ ] Add to the deploy job description v0.23.0
  • [ ] Promote the staged repository to maven central
    • Login to Nexus
    • go to Staging Repositories, after a short delay the staged LSP4J release should appear (you may need to press Refresh)
    • click the staged LSP4J repo
    • press the Close button located in the toolbar. This runs activities, including checking various rules
    • once the rules are done (if successful), press the Release button (you may need to press Refresh to enable the Release button)
    • check https://search.maven.org/search?q=g:org.eclipse.lsp4j to make sure the latest release has arrived - this takes a while, 15 minutes for the files to be on the server and even longer for the search indexes to update
  • [ ] Update the meta-data on PMI downloads page
  • [ ] Tag the release. Example: git tag -a v0.23.0 HEAD -m"LSP4J 0.23.0" && git push origin v0.23.0
  • [ ] Contribute to Simrel. See Simrel contribution example
  • [ ] Create a release page on github
  • [ ] Link the Changelog to the release page
  • [ ] Make an announcement on lsp4j-dev based on the release page on github. Example on lsp4j-dev archives
  • [ ] Update documentation/releasing.md with any changes that may have been made to the release process.
  • [ ] Create the endgame for the next release right away, especially as version numbers and restoring -SNAPSHOT need to be done right away.

jonahgraham avatar Feb 13 '24 20:02 jonahgraham

We are up and running for 0.23.0 development. No particular schedule to release it, so if you have something you need releasing please just ask!

jonahgraham avatar Feb 13 '24 21:02 jonahgraham

@jonahgraham what is our current strategy regarding older deps (gson/guava/xtend)?

cdietrich avatar Feb 27 '24 18:02 cdietrich

As long as it works with latest SimRel contents (i.e. Orbit/Maven content) then we can leave old versions. I assume you are referring to lower bounds on (and others):

https://github.com/eclipse-lsp4j/lsp4j/blob/88868d3506d317b12cf0bfd1e82a254489f8c47b/gradle/versions.gradle#L17-L18

jonahgraham avatar Feb 27 '24 19:02 jonahgraham

yes i mean the lower bounds. e.g. who in simrel is still on old gson

cdietrich avatar Feb 27 '24 19:02 cdietrich

We don't need to keep running old version for other SimRel projects. We can (and should) update when ready.

jonahgraham avatar Feb 27 '24 22:02 jonahgraham

With #827 there are a few updates for LSP4J's Debug Adapter Protocol (DAP) support. I suspect we should try to do a release for 2024-06 cycle. Thoughts?

jonahgraham avatar Apr 14 '24 19:04 jonahgraham

It would be great if the release could be sometime in May

Soarex16 avatar Apr 15 '24 10:04 Soarex16

Lets aim for May 14th, which should give all consumers in SimRel plenty of time to adjust.

jonahgraham avatar Apr 15 '24 14:04 jonahgraham

I am working on completing this checklist now. If there are no blockers the 0.23.0 should be out in a few hours.

jonahgraham avatar May 14 '24 13:05 jonahgraham

nice and thx

cdietrich avatar May 14 '24 14:05 cdietrich

  • release done - on to #834

jonahgraham avatar May 14 '24 14:05 jonahgraham