-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
OH 4.0: Bundles must use GSON 2.9.1 instead 2.8.x #14088
Comments
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/openhab-4-0-snapshot-discussion/142322/73 |
As soon as all the four updates have been merged I am happy to pull the latest snapshot and I will provide input for that at https://community.openhab.org/t/oh4-on-buster/142645/21 (or/and) here. |
Everything is merged now! |
Thank you, Wouter, and I did test it this morning already. Most likely, these dependencies are gone now but my 4.0 system with the restored database from 3.4 is still not starting up. I will follow up on that topic in the related thread. |
@wborn @jlaur I can finally confirm that the problem is now fixed. Also see https://community.openhab.org/t/oh4-on-buster/142645/30 |
@wborn : would it be possible to go to version 2.10 in regard of OH4 so we can take advantage of records ? |
lsp4j requires a 2.9.x version so it's only possible when multiple versions are provided:
|
Do you know if there really is an issue with 2.10? Looking through previous requests to increase the version range in their repo seems to indicate they are anxious that google might introduce breaking changes and use a very conservative range because of that. |
It usually works but if we only add 2.10.x, Karaf feature validation will fail and the lsp4j bundle will fail to get started because the version of the package it depends on is not there. So either both versions need to be deployed, a newer Xtext/LSP4J that has updated dependencies is used... or we create an OH version with updated manifest. |
Yes, that is what I was looking at. If it's really only the manifest, we could create an OH specific version with updated manifest. |
As discussed here https://community.openhab.org/t/openhab-4-0-snapshot-discussion/142322/69 there are several bundles that use the unsupported gson version but should use GSON 2.9.1 instead
The following bundles were currently identified to at least need to be updated (I added the code owners here)
Can the code owners please provide fixes as it currently breaks 4.0 (at least on my side ...)
The text was updated successfully, but these errors were encountered: