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

V2.1.0 #315

Merged
merged 2 commits into from
Jan 23, 2024
Merged

V2.1.0 #315

merged 2 commits into from
Jan 23, 2024

Conversation

tortmayr
Copy link
Contributor

No description provided.

Prepare the repository for the release iteration
@tortmayr tortmayr merged commit b90a740 into master Jan 23, 2024
4 of 5 checks passed
holkerveen pushed a commit to holkerveen/glsp-client that referenced this pull request Dec 21, 2024
Refactor the base communication protocol to support initializing and disposing a client session for a given language. The method parameters are encapsulated in dedicated parameter objects to provide a stable API. Refactor the existing `initializeServer` method to return an `InitializeResult` instead of a boolean and use a generic args map for custom arguments instead of a dedicated object. The `InitializeResult` also provides the information about which actionKinds are handled by the server. In addition, the protocol version that is implemented by the client is now passed as part of the `InitializeParameters`

Using the new initialize result  the server action handlers can be configured BEFORE the first action is dispatched in a diagram container, which means its no longer necessary to register certain early actions directly in the diagram server.

Refactor the standalone example to properly implement the new protocol.

Also:
- Remove no longer needs protocol actions for initializing/disposing a client session.
- Update webpack config of standalone example to properly support typescript source maps.


Part of eclipse-glsp/glsp/issues/315
holkerveen pushed a commit to holkerveen/glsp-client that referenced this pull request Dec 21, 2024
Refactor the base communication protocol to support initializing and disposing a client session for a given language. The method parameters are encapsulated in dedicated parameter objects to provide a stable API. Refactor the existing `initializeServer` method to return an `InitializeResult` instead of a boolean and use a generic args map for custom arguments instead of a dedicated object. The `InitializeResult` also provides the information about which actionKinds are handled by the server. In addition, the protocol version that is implemented by the client is now passed as part of the `InitializeParameters`

Using the new initialize result  the server action handlers can be configured BEFORE the first action is dispatched in a diagram container, which means its no longer necessary to register certain early actions directly in the diagram server.

Refactor the standalone example to properly implement the new protocol.

Also:
- Remove no longer needs protocol actions for initializing/disposing a client session.
- Update webpack config of standalone example to properly support typescript source maps.


Part of eclipse-glsp/glsp/issues/315
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant