Skip to content
Success

Changes

Summary

  1. Wrap primitive and array parameter into an array as in JSON-RPC 2.0 (details)
  2. Add missing quotes around body in JSON (details)
  3. Fix typo in test name (details)
  4. Void return types need to always be null value (details)
  5. Update docs for 0.21.0 release (details)
  6. Prepare repo for 0.21.0 release (details)
Commit a526054d860f156bcb6dc72f0a49f59b07b189e1 by Jonah Graham
Wrap primitive and array parameter into an array as in JSON-RPC 2.0
The file was modified org.eclipse.lsp4j.jsonrpc/src/main/java/org/eclipse/lsp4j/jsonrpc/json/adapters/MessageTypeAdapter.java (diff)
The file was modified org.eclipse.lsp4j.jsonrpc/src/test/java/org/eclipse/lsp4j/jsonrpc/test/json/MessageJsonHandlerTest.java (diff)
Commit 7040d877b00a69324f964547485230d415bf6b4e by Jonah Graham
Add missing quotes around body in JSON

Gson was parsing this malformed JSON, but it wasn't actually correct
without this escaping.

Before the message would look like:

```json
{"seq":10,"type":"response","request_seq":4,"command":"foo","success":true,body:{"allThreadsContinued":false}}
```

Now it looks like:

```json
{"seq":10,"type":"response","request_seq":4,"command":"foo","success":true,"body":{"allThreadsContinued":false}}

```
The file was modified org.eclipse.lsp4j.jsonrpc.debug/src/test/java/org/eclipse/lsp4j/jsonrpc/debug/test/json/DebugMessageJsonHandlerTest.java (diff)
The file was modified org.eclipse.lsp4j.jsonrpc.debug/src/test/java/org/eclipse/lsp4j/jsonrpc/debug/test/json/DebugMessageJsonHandlerTest.java (diff)
Commit 79df5e2ac119e0238a95567bb4bc0f1741428343 by Jonah Graham
Void return types need to always be null value

Void type in Java cannot be instantiated, therefore if a
type is declared as Void the fromJson should always set that
value to null.

If you want to have a generic return type that allows non-null
and null results, use a type other than Void as the return type.

Fixes #721
The file was modified org.eclipse.lsp4j.jsonrpc.debug/src/test/java/org/eclipse/lsp4j/jsonrpc/debug/test/json/DebugMessageJsonHandlerTest.java (diff)
The file was modified org.eclipse.lsp4j.jsonrpc/src/test/java/org/eclipse/lsp4j/jsonrpc/test/IntegrationTest.java (diff)
The file was modified org.eclipse.lsp4j.jsonrpc.debug/src/test/java/org/eclipse/lsp4j/jsonrpc/debug/test/DebugIntegrationTest.java (diff)
The file was modified org.eclipse.lsp4j.jsonrpc/src/main/java/org/eclipse/lsp4j/jsonrpc/json/adapters/MessageTypeAdapter.java (diff)
Commit 87b6d76536931d5b8c6e971c611164e53cd656f2 by Jonah Graham
Update docs for 0.21.0 release
The file was modified README.md (diff)
The file was modified CHANGELOG.md (diff)
Commit 2540cd379ba31455c35d77b2761b84085c7fd4eb by Jonah Graham
Prepare repo for 0.21.0 release
The file was modified releng/build.Jenkinsfile (diff)
The file was modified gradle/versions.gradle (diff)
The file was modified releng/pom.xml (diff)