Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Xtext/Xtend to 2.32.0, LSP4J to 0.21.0 #3817

Merged
merged 1 commit into from
Oct 1, 2023

Conversation

wborn
Copy link
Member

@wborn wborn commented Oct 1, 2023

Upgrades Xtext and its dependencies to:

  • Xtext/Xtend 2.32.0
  • LSP4J 0.21.0
  • GSON 2.10.1
  • Guava 32.1.2
  • Guice 7.0.0

For release notes, see:

https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2023/08/27/version-2-32-0

Fixes #3321


Because LSP4J imports com.google.gson.internal this Eclipse Orbit bundle should be added to the openHAB Maven repo:

https://download.eclipse.org/tools/orbit/downloads/drops/R20230531010532/repository/plugins/com.google.gson_2.10.1.v20230109-0753.jar

Upgrades Xtext and its dependencies to:

* Xtext/Xtend 2.32.0
* LSP4J 0.21.0
* GSON 2.10.1
* Guava 32.1.2
* Guice 7.0.0

For release notes, see:

https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2023/08/27/version-2-32-0

Fixes openhab#3321

Signed-off-by: Wouter Born <[email protected]>
@wborn wborn requested a review from a team as a code owner October 1, 2023 09:40
@wborn wborn added enhancement An enhancement or new feature of the Core dependencies Pull requests that update a dependency file labels Oct 1, 2023
@kaikreuzer kaikreuzer added rebuild Triggers the Jenkins PR build and removed rebuild Triggers the Jenkins PR build labels Oct 1, 2023
@kaikreuzer
Copy link
Member

I've uploaded the new GSON library to artifactory.

@kaikreuzer kaikreuzer added rebuild Triggers the Jenkins PR build and removed rebuild Triggers the Jenkins PR build labels Oct 1, 2023
Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@kaikreuzer kaikreuzer merged commit fffa968 into openhab:main Oct 1, 2023
2 checks passed
@kaikreuzer kaikreuzer added this to the 4.1 milestone Oct 1, 2023
@wborn wborn deleted the xtext-2.32.0 branch October 1, 2023 20:30
@jlaur
Copy link
Contributor

jlaur commented Oct 3, 2023

@wborn - thanks for this upgrade!

wborn added a commit to wborn/openhab-core that referenced this pull request Oct 4, 2023
AFAIK these annotations are not used when using declaritive services.

I stubled upon these annotations when feature validation failed while creating openhab#3817.
Xtext now uses Guice 7 which is using jakarta.inject imports.

Only si.uom:si-units:2.1 still imports javax.inject but it will also switch to jakarta.inject when 2.2 gets released.

Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-core that referenced this pull request Oct 4, 2023
AFAIK these annotations are not used when using declarative services.

I stubled upon these annotations when feature validation failed while creating openhab#3817.
Xtext now uses Guice 7 which is using jakarta.inject imports.

Only si.uom:si-units:2.1 still imports javax.inject but it will also switch to jakarta.inject when 2.2 gets released.

Signed-off-by: Wouter Born <[email protected]>
kaikreuzer pushed a commit that referenced this pull request Oct 4, 2023
AFAIK these annotations are not used when using declarative services.

I stubled upon these annotations when feature validation failed while creating #3817.
Xtext now uses Guice 7 which is using jakarta.inject imports.

Only si.uom:si-units:2.1 still imports javax.inject but it will also switch to jakarta.inject when 2.2 gets released.

Signed-off-by: Wouter Born <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement An enhancement or new feature of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Gson to 2.10
3 participants