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 dependencies and jdk to 21 #157

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

milesziemer
Copy link
Contributor

A few minor code changes were made for the upgrade, including removing LspLog (which should have already been removed). I didn't make any larger changes to make use of java 21 features - that can be done later. The primary motivation of this commit is to update our dependency on lsp4j, which outdated and depended on a version of guava with two CVEs out: CVE-2023-2976, CVE-2020-8908. In order to do so, a jdk upgrade was required since newer versions of lsp4j are past jdk 8. We were going to upgrade the jdk soon anways.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

A few minor code changes were made for the upgrade, including removing
LspLog (which should have already been removed). I didn't make any larger
changes to make use of java 21 features - that can be done later. The
primary motivation of this commit is to update our dependency on lsp4j,
which outdated and depended on a version of guava with two CVEs out:
CVE-2023-2976, CVE-2020-8908. In order to do so, a jdk upgrade was
required since newer versions of lsp4j are past jdk 8. We were going
to upgrade the jdk soon anways.
@milesziemer milesziemer requested a review from a team as a code owner July 30, 2024 15:30
@milesziemer milesziemer requested a review from gosar July 30, 2024 15:30
build.gradle Outdated Show resolved Hide resolved
build.gradle Show resolved Hide resolved
Also got rid of an extra signing block in the publishing task, which
is taken care of by jreleaser.
@milesziemer milesziemer merged commit 1109260 into smithy-lang:main Jul 30, 2024
3 checks passed
milesziemer added a commit to milesziemer/smithy-language-server that referenced this pull request Jul 30, 2024
This version includes the same features as 0.3.0, but includes the
JDK upgrade and lsp4j dependency upgrade from smithy-lang#157.
milesziemer added a commit that referenced this pull request Jul 30, 2024
This version includes the same features as 0.3.0, but includes the
JDK upgrade and lsp4j dependency upgrade from #157.
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.

3 participants