Skip to content

Commit fc78426

Browse files
Bump org.eclipse.lsp4j:org.eclipse.lsp4j from 0.8.1 to 0.24.0 (wala#236)
Bumps [org.eclipse.lsp4j:org.eclipse.lsp4j](https://github.com/eclipse-lsp4j/lsp4j) from 0.8.1 to 0.24.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/eclipse-lsp4j/lsp4j/releases">org.eclipse.lsp4j:org.eclipse.lsp4j's releases</a>.</em></p> <blockquote> <h2>v0.24.0</h2> <p>LSP4J <a href="https://projects.eclipse.org/projects/technology.lsp4j/releases/0.24.0">0.24.0</a> has now been released and been contributed to simrel, tagged and uploaded to maven central.</p> <ul> <li><a href="https://search.maven.org/search?q=g:org.eclipse.lsp4j">maven search</a></li> <li><a href="https://repo1.maven.org/maven2/org/eclipse/lsp4j/org.eclipse.lsp4j/0.24.0/">maven url</a></li> <li><a href="https://download.eclipse.org/lsp4j/updates/releases/0.24.0/">p2 site</a> (<a href="https://download.eclipse.org/lsp4j/updates/releases/0.24.0/v0.24.0.zip">zipped</a>)</li> <li><a href="https://github.com/eclipse/lsp4j/releases/tag/v0.24.0">git tag</a></li> <li><a href="https://download.eclipse.org/lsp4j/updates/releases/0.24.0/japicmp-report">japicmp report</a></li> </ul> <h2><a href="https://github.com/eclipse/lsp4j/blob/master/CHANGELOG.md">Changelog</a> entry</h2> <h3><a href="https://github.com/eclipse-lsp4j/lsp4j/releases/tag/v0.24.0">v0.24.0 (Jan 2025)</a></h3> <ul> <li>Implemented DAP version 1.69.0</li> </ul> <p>Fixed issues: <a href="https://github.com/eclipse-lsp4j/lsp4j/milestone/35?closed=1">https://github.com/eclipse-lsp4j/lsp4j/milestone/35?closed=1</a></p> <p>Breaking API changes:</p> <p>japicmp report: <a href="https://download.eclipse.org/lsp4j/updates/releases/0.24.0/japicmp-report/">https://download.eclipse.org/lsp4j/updates/releases/0.24.0/japicmp-report/</a></p> <h2>What's Changed</h2> <ul> <li>Prepare repo for 0.24.0 development by <a href="https://github.com/jonahgraham"><code>@​jonahgraham</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/835">eclipse-lsp4j/lsp4j#835</a></li> <li>broaden gson range, bundle new gson and guava by <a href="https://github.com/cdietrich"><code>@​cdietrich</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/837">eclipse-lsp4j/lsp4j#837</a></li> <li>Add v0.23.1 to changelog by <a href="https://github.com/jonahgraham"><code>@​jonahgraham</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/839">eclipse-lsp4j/lsp4j#839</a></li> <li>Update to latest japicmp tool release by <a href="https://github.com/jonahgraham"><code>@​jonahgraham</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/841">eclipse-lsp4j/lsp4j#841</a></li> <li><a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/830">#830</a> Add module-info to the modules by <a href="https://github.com/Thihup"><code>@​Thihup</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/843">eclipse-lsp4j/lsp4j#843</a></li> <li>Unsupported Operation Exception in Language Servers - Fixes <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/853">#853</a> by <a href="https://github.com/gilbysunil14"><code>@​gilbysunil14</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/854">eclipse-lsp4j/lsp4j#854</a></li> <li>Update build settings for changes to JIPP as a result of recent LTS update by <a href="https://github.com/cdietrich"><code>@​cdietrich</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/860">eclipse-lsp4j/lsp4j#860</a></li> <li>Sync DAP interfaces and types with DAP 1.69.x spec by <a href="https://github.com/jansorg"><code>@​jansorg</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/863">eclipse-lsp4j/lsp4j#863</a></li> <li>fix: ClassCastException when handling &quot;textDocument/inlineValue&quot; event by <a href="https://github.com/sebthom"><code>@​sebthom</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/867">eclipse-lsp4j/lsp4j#867</a></li> <li>Revert &quot;Add module-info to the modules&quot; by <a href="https://github.com/jonahgraham"><code>@​jonahgraham</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/868">eclipse-lsp4j/lsp4j#868</a></li> <li>Update changelog + readme to close off 0.24.0 and prep 1.0.0 by <a href="https://github.com/jonahgraham"><code>@​jonahgraham</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/869">eclipse-lsp4j/lsp4j#869</a></li> <li>Prepare repo for 0.24.0 release by <a href="https://github.com/jonahgraham"><code>@​jonahgraham</code></a> in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/870">eclipse-lsp4j/lsp4j#870</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Thihup"><code>@​Thihup</code></a> made their first contribution in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/843">eclipse-lsp4j/lsp4j#843</a></li> <li><a href="https://github.com/gilbysunil14"><code>@​gilbysunil14</code></a> made their first contribution in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/854">eclipse-lsp4j/lsp4j#854</a></li> <li><a href="https://github.com/jansorg"><code>@​jansorg</code></a> made their first contribution in <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/pull/863">eclipse-lsp4j/lsp4j#863</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/eclipse-lsp4j/lsp4j/compare/v0.23.0...v0.24.0">https://github.com/eclipse-lsp4j/lsp4j/compare/v0.23.0...v0.24.0</a></p> <h2>v0.23.1</h2> <p>LSP4J <a href="https://projects.eclipse.org/projects/technology.lsp4j/releases/0.23.1">0.23.1</a> has now been released and been contributed to simrel, tagged and uploaded to maven central.</p> <ul> <li><a href="https://search.maven.org/search?q=g:org.eclipse.lsp4j">maven search</a></li> <li><a href="https://repo1.maven.org/maven2/org/eclipse/lsp4j/org.eclipse.lsp4j/0.23.1/">maven url</a></li> <li><a href="https://download.eclipse.org/lsp4j/updates/releases/0.23.1/">p2 site</a> (<a href="https://download.eclipse.org/lsp4j/updates/releases/0.23.1/v0.23.1.zip">zipped</a>)</li> <li><a href="https://github.com/eclipse/lsp4j/releases/tag/v0.23.1">git tag</a></li> <li><a href="https://download.eclipse.org/lsp4j/updates/releases/0.23.0/japicmp-report">japicmp report</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/eclipse-lsp4j/lsp4j/blob/main/CHANGELOG.md">org.eclipse.lsp4j:org.eclipse.lsp4j's changelog</a>.</em></p> <blockquote> <h3><a href="https://github.com/eclipse-lsp4j/lsp4j/releases/tag/v0.24.0">v0.24.0 (Jan 2025)</a></h3> <ul> <li>Implemented DAP version 1.69.0</li> </ul> <p>Fixed issues: <a href="https://github.com/eclipse-lsp4j/lsp4j/milestone/35?closed=1">https://github.com/eclipse-lsp4j/lsp4j/milestone/35?closed=1</a></p> <p>Breaking API changes:</p> <p>japicmp report: <a href="https://download.eclipse.org/lsp4j/updates/releases/0.24.0/japicmp-report/">https://download.eclipse.org/lsp4j/updates/releases/0.24.0/japicmp-report/</a></p> <h3><a href="https://github.com/eclipse-lsp4j/lsp4j/releases/tag/v0.23.1">v0.23.1 (May 2024)</a></h3> <p>Fixed issues: <a href="https://github.com/eclipse-lsp4j/lsp4j/milestone/36?closed=1">https://github.com/eclipse-lsp4j/lsp4j/milestone/36?closed=1</a></p> <p>Breaking API changes:</p> <p>japicmp report: <a href="https://download.eclipse.org/lsp4j/updates/releases/0.23.1/japicmp-report/">https://download.eclipse.org/lsp4j/updates/releases/0.23.1/japicmp-report/</a></p> <h3><a href="https://github.com/eclipse-lsp4j/lsp4j/releases/tag/v0.23.0">v0.23.0 (May 2024)</a></h3> <ul> <li>Implemented DAP version 1.65.0</li> </ul> <p>Fixed issues: <a href="https://github.com/eclipse-lsp4j/lsp4j/milestone/34?closed=1">https://github.com/eclipse-lsp4j/lsp4j/milestone/34?closed=1</a></p> <ul> <li>The exception handling around throwing <code>ResponseErrorException</code> has been improved to ensure that it is unwrapped to the expected <code>ResponseError</code> on the receiving side. In addition, <code>@JsonDelegate</code>s that throw exceptions have their checked exceptions wrapped in the more narrow <code>IllegalStateException</code> instead of a <code>RuntimeException</code>. <ul> <li>See <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/802">#802</a> for detailed discussion.</li> </ul> </li> </ul> <p>Breaking API changes:</p> <ul> <li>DAP version 1.61 removed unused <code>ModulesViewDescriptor</code></li> </ul> <p>japicmp report: <a href="https://download.eclipse.org/lsp4j/updates/releases/0.23.0/japicmp-report/">https://download.eclipse.org/lsp4j/updates/releases/0.23.0/japicmp-report/</a></p> <h3><a href="https://github.com/eclipse-lsp4j/lsp4j/releases/tag/v0.22.0">v0.22.0 (February 2024)</a></h3> <p>Fixed issues: <a href="https://github.com/eclipse-lsp4j/lsp4j/milestone/29?closed=1">https://github.com/eclipse-lsp4j/lsp4j/milestone/29?closed=1</a></p> <ul> <li>The <code>org.eclipse.lsp4j.websocket</code> bundle has been deprecated in preparation for removal in the future. <ul> <li>Please migrate to <code>org.eclipse.lsp4j.websocket.jakarta</code></li> <li>The <code>org.eclipse.lsp4j.websocket</code> bundle is no longer included in the SDK feature nor published to Eclipse SimRel</li> <li>See <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/647">#647</a> for detailed discussion.</li> </ul> </li> </ul> <p>Breaking API changes:</p> <ul> <li>The Message class now has a new transient field, <code>jsonHandler</code>, to enable the <code>toString</code> implementation to properly format messages when custom type adapters are used. <ul> <li>For consumers that have their own custom serializers or other reflective message processors they may need to be updated to ensure that transient fields are skipped, for example by using <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/reflect/Modifier.html#isTransient(int)"><code>Modifier.isTransient</code></a></li> <li>See <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/768">#768</a> for detailed discussion.</li> </ul> </li> <li>The name field in WorkspaceFolder is no longer optional according to the specification. <ul> <li>See <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/741">#741</a> for detailed discussion.</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/202c299f0b066e1c6048998bad917bc9fe988cab"><code>202c299</code></a> Prepare repo for 0.24.0 release (<a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/870">#870</a>)</li> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/513bd730e152f4fc40f2632c11ffc1bf94dface5"><code>513bd73</code></a> Update changelog + readme to close off 0.24.0 and prep 1.0.0 (<a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/869">#869</a>)</li> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/10515b13185f2932663ae11bd080e195cea7ef74"><code>10515b1</code></a> Revert &quot;Add module-info to the modules&quot; (<a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/868">#868</a>)</li> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/db85990e6f6618c8e54d6b43f7ece3d088b48a5f"><code>db85990</code></a> fix: ClassCastException when handling &quot;textDocument/inlineValue&quot; event</li> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/651eb49e1f4cd90439808885ddaad0862b330908"><code>651eb49</code></a> Merge pull request <a href="https://redirect.github.com/eclipse-lsp4j/lsp4j/issues/863">#863</a> from jansorg/dap-spec-sync</li> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/ac74e5ba57b1a6dcf119a8ba764a488f95240af1"><code>ac74e5b</code></a> Update DAP version to 1.69.0</li> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/6e7761810574ee42d7040cc8b3041400efb51a27"><code>6e77618</code></a> Fix inconsistency in &quot;evaluate&quot; description</li> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/39eb3f73892694619ad6bbd115fa3fddf9f7b5a3"><code>39eb3f7</code></a> Clarify of variableReference after setVariable</li> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/a3216f0b9826b9faf4f5ad4165a84caea50e58af"><code>a3216f0</code></a> Clarify meaning of &quot;system process&quot;</li> <li><a href="https://github.com/eclipse-lsp4j/lsp4j/commit/bf7a554dbb610efc6fd2176829d0a136eec954e6"><code>bf7a554</code></a> Add supportsANSIStyling capabilities to allow colorization of text from debug...</li> <li>Additional commits viewable in <a href="https://github.com/eclipse-lsp4j/lsp4j/compare/v0.8.1...v0.24.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.eclipse.lsp4j:org.eclipse.lsp4j&package-manager=maven&previous-version=0.8.1&new-version=0.24.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Raffi Khatchadourian <[email protected]>
1 parent ec7a1e5 commit fc78426

File tree

4 files changed

+23
-7
lines changed

4 files changed

+23
-7
lines changed

com.ibm.wala.cast.python.ml.test/source/com/ibm/wala/cast/python/ml/test/ServerTest.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@
3131
import org.eclipse.lsp4j.CodeLens;
3232
import org.eclipse.lsp4j.Command;
3333
import org.eclipse.lsp4j.Diagnostic;
34+
import org.eclipse.lsp4j.DocumentSymbol;
3435
import org.eclipse.lsp4j.PublishDiagnosticsParams;
3536
import org.eclipse.lsp4j.Range;
36-
import org.eclipse.lsp4j.SymbolInformation;
3737
import org.eclipse.lsp4j.TextEdit;
38+
import org.eclipse.lsp4j.WorkspaceSymbol;
3839
import org.junit.Ignore;
3940
import org.junit.Test;
4041

@@ -161,9 +162,13 @@ public void trivialClient(InputStream in, OutputStream out)
161162
}
162163
}
163164
}
164-
} else if (s instanceof SymbolInformation) {
165+
} else if (s instanceof DocumentSymbol) {
165166
synchronized (checks) {
166-
checks.add(((SymbolInformation) s).getName());
167+
checks.add(((DocumentSymbol) s).getName());
168+
}
169+
} else if (s instanceof WorkspaceSymbol) {
170+
synchronized (checks) {
171+
checks.add(((WorkspaceSymbol) s).getName());
167172
}
168173
} else if (s instanceof CodeLens) {
169174
synchronized (checks) {

com.ibm.wala.cast.python.ml/source/com/ibm/wala/cast/python/ml/driver/ClientDriver.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.eclipse.lsp4j.DocumentSymbolParams;
3333
import org.eclipse.lsp4j.ExecuteCommandParams;
3434
import org.eclipse.lsp4j.Hover;
35+
import org.eclipse.lsp4j.HoverParams;
3536
import org.eclipse.lsp4j.InitializeParams;
3637
import org.eclipse.lsp4j.InitializeResult;
3738
import org.eclipse.lsp4j.InitializedParams;
@@ -50,7 +51,6 @@
5051
import org.eclipse.lsp4j.TextDocumentClientCapabilities;
5152
import org.eclipse.lsp4j.TextDocumentIdentifier;
5253
import org.eclipse.lsp4j.TextDocumentItem;
53-
import org.eclipse.lsp4j.TextDocumentPositionParams;
5454
import org.eclipse.lsp4j.TextEdit;
5555
import org.eclipse.lsp4j.jsonrpc.Launcher;
5656
import org.eclipse.lsp4j.jsonrpc.messages.Either;
@@ -131,7 +131,7 @@ public void publishDiagnostics(PublishDiagnosticsParams diagnostics) {
131131

132132
TextDocumentIdentifier id = new TextDocumentIdentifier();
133133
id.setUri(args[0]);
134-
TextDocumentPositionParams a = new TextDocumentPositionParams();
134+
HoverParams a = new HoverParams();
135135
a.setTextDocument(id);
136136
for (int i = 1; i < args.length; i += 2) {
137137
Position p = new Position();
@@ -141,11 +141,13 @@ public void publishDiagnostics(PublishDiagnosticsParams diagnostics) {
141141
CompletableFuture<Hover> data = server.getTextDocumentService().hover(a);
142142
data.thenAccept(
143143
(Hover t) -> {
144+
@SuppressWarnings("deprecation")
144145
Either<List<Either<String, MarkedString>>, MarkupContent> contents = t.getContents();
145146
if (contents != null) {
146147
if (contents.isLeft()) {
147148
String xx = "";
148-
for (Either<String, MarkedString> hd : contents.getLeft()) {
149+
for (@SuppressWarnings("deprecation")
150+
Either<String, MarkedString> hd : contents.getLeft()) {
149151
xx += hd.getLeft();
150152
}
151153
process.accept(xx);

com.ibm.wala.cast.python/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
<groupId>org.json</groupId>
4141
<artifactId>json</artifactId>
4242
</dependency>
43+
<dependency>
44+
<groupId>com.google.guava</groupId>
45+
<artifactId>guava</artifactId>
46+
</dependency>
4347
</dependencies>
4448
<build>
4549
<resources>

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<dependency>
6868
<groupId>org.eclipse.lsp4j</groupId>
6969
<artifactId>org.eclipse.lsp4j</artifactId>
70-
<version>0.8.1</version>
70+
<version>0.24.0</version>
7171
</dependency>
7272
<dependency>
7373
<groupId>commons-cli</groupId>
@@ -119,6 +119,11 @@
119119
<artifactId>spotless-maven-plugin</artifactId>
120120
<version>${spotless.version}</version>
121121
</dependency>
122+
<dependency>
123+
<groupId>com.google.guava</groupId>
124+
<artifactId>guava</artifactId>
125+
<version>33.4.8-jre</version>
126+
</dependency>
122127
</dependencies>
123128
</dependencyManagement>
124129
<build>

0 commit comments

Comments
 (0)