Skip to content

Commit

Permalink
v2.0.0 (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
tortmayr authored Oct 15, 2023
1 parent 93a9a18 commit 8de1d81
Show file tree
Hide file tree
Showing 23 changed files with 52 additions and 38 deletions.
27 changes: 21 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
- [graph] Updated the Graph model and add Layoutable interface [#175](https://github.com/eclipse-glsp/glsp-server/pull/175) - Contributed on behalf of STMicroelectronics
- [layout] Extend `ComputedBoundsAction` to also provide route data for client-side routed edges and store source/target point in the `args` map [#181](https://github.com/eclipse-glsp/glsp-server/pull/181)
- [websocket] Remove listing on `stdin` from `WebsocketServerLauncher` [#189](https://github.com/eclipse-glsp/glsp-server/pull/189)
- [diagram] Fixed a bug that prevented stable ids within one session when using the `IdKeeperAdapter` [#192](https://github.com/eclipse-glsp/glsp-server/pull/192) - Contributed on behalf of STMicroelectronics
- [diagram] Fix a bug that prevented stable ids within one session when using the `IdKeeperAdapter` [#192](https://github.com/eclipse-glsp/glsp-server/pull/192) - Contributed on behalf of STMicroelectronics
- [API] Introduce `deselectAll` flag for `SelectAction`s [#204](https://github.com/eclipse-glsp/glsp-server/pull/204)
- [API] Add support for progress reporting [#205](https://github.com/eclipse-glsp/glsp-server/pull/205)
- [diagram] Add support for handling reconnection requests to RequestModelActionHandler [#208](https://github.com/eclipse-glsp/glsp-server/pull/208)
- [diagram] Add support for dynamic edge type hints [#210](https://github.com/eclipse-glsp/glsp-server/pull/210)
- Provide EdgeCreationChecker API. Adopters can implement this to handle dynamic edge creation validation requests.
- [launch] Add `hostname` arg to `CLIParser` [#214](https://github.com/eclipse-glsp/glsp-server/pull/214)
- [deps] Remove upper bounds version constraints for Guice and Guava [#216](https://github.com/eclipse-glsp/glsp-server/pull/216)

### Breaking Changes

Expand All @@ -19,12 +26,20 @@
- [operation] Rework `OperationHandler` to provide an optional command instead of direct execution to allow more execution control [#187](https://github.com/eclipse-glsp/glsp-server/pull/187)
- `Abstract<XYZ>` base implementations were deprecated in favor of `GModelOperationHandler` and `EMFOperationHandler` base classes
- Long-term deprecated and unused `Basic<XYZ>` base classes were removed
- [modelstate] Use interface-injection for all subclasses of GModelState (EMFModelState, EMFNotationModelState)
- EMFModelState and EMFNotationModelState are now interfaces instead of classes
- EMFModelStateImpl and EMFNotationModelStateImpl classes have been added
- Related Modules have been updated to inject these GModelState sub-types as a Singleton
- [modelstate] Use interface-injection for all subclasses of GModelState (EMFModelState, EMFNotationModelState) [#199](https://github.com/eclipse-glsp/glsp-server/pull/199)
- `EMFModelState` and `EMFNotationModelState` are now interfaces instead of classes
- Add `EMFModelStateImpl` and `EMFNotationModelStateImpl` classes
- Update related modules to inject these GModelState sub-types as a Singleton
- [validation] Add explicit support and API for live and batch validation [#200](https://github.com/eclipse-glsp/glsp-server/pull/200)
- [server] Default ports have changed from 5007 (and 8081 for websockets) to 0, which implies autoassignment by the OS [#198](https://github.com/eclipse-glsp/glsp-server/pull/198)
- [server] Change default ports from 5007 (and 8081 for websockets) to 0, which implies autoassignment by the OS [#198](https://github.com/eclipse-glsp/glsp-server/pull/198)
- [API] Remove deprecated `GConstants.STACK` constant [#209](https://github.com/eclipse-glsp/glsp-server/pull/209)
- [API] Revise model loading and client action handling [#211](https://github.com/eclipse-glsp/glsp-server/pull/211)
- Refactor `ModelSubmissionHandler` to enable handling of `RequestModelAction` as proper request action
- Introduce a `submitInitialModel` method that is called by the `RequestModelActionHandler`
- Remove `configureClientActions` from `DiagramModule` as client actions are now implicitly configured via `InitializeClientSession` request
- Remove `ClientActionHandler` and replace with `ClientActionForwarder`
- Rename `ServerStatusAction` -> `StatusAction` and `ServerMessageAction` -> `MessageAction`
- [deps] Set Java compliance level to Java 17 as Java 11 is now EOL [#217](https://github.com/eclipse-glsp/glsp-server/pull/217)

## [v1.0.0 - 30/06/2022](https://github.com/eclipse-glsp/glsp-server/releases/tag/v1.0.0)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contains the code for the Java-based framework to create [GLSP](https://github.c

## Building

The GLSP server bundles are built with Java 11 or higher and maven.
The GLSP server bundles are built with Java 17 or higher and maven.
Execute `mvn clean verify -Pm2` (for maven) or `mvn clean verify -Pp2` (for p2).
The nightly builds are available as maven repository or p2 update site.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GLSP Workflow Example
Bundle-SymbolicName: org.eclipse.glsp.example.workflow;singleton:=true
Bundle-Version: 1.1.0.qualifier
Bundle-Version: 2.0.0
Bundle-ClassPath: .
Bundle-Vendor: Eclipse GLSP
Bundle-Localization: plugin
Expand All @@ -22,9 +22,9 @@ Export-Package: org.eclipse.glsp.example.workflow,
org.eclipse.glsp.example.workflow.wfgraph.util
Automatic-Module-Name: org.eclipse.glsp.example.workflow
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Bundle: org.eclipse.glsp.layout;bundle-version="[1.0.0,2.0.0)",
org.eclipse.glsp.server;bundle-version="[1.0.0,2.0.0)",
org.eclipse.glsp.server.websocket;bundle-version="[1.0.0,2.0.0)",
Require-Bundle: org.eclipse.glsp.layout;bundle-version="[2.0.0,3.0.0)",
org.eclipse.glsp.server;bundle-version="[2.0.0,3.0.0)",
org.eclipse.glsp.server.websocket;bundle-version="[2.0.0,3.0.0)",
org.eclipse.elk.core;bundle-version="0.8.1",
org.eclipse.elk.alg.layered;bundle-version="0.8.1",
org.eclipse.elk.graph;bundle-version="0.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/org.eclipse.glsp.example.workflow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion plugins/org.eclipse.glsp.graph/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GLSP Graph
Bundle-SymbolicName: org.eclipse.glsp.graph;singleton:=true
Bundle-Version: 1.1.0.qualifier
Bundle-Version: 2.0.0
Bundle-Vendor: Eclipse GLSP
Automatic-Module-Name: org.eclipse.glsp.graph
Bundle-RequiredExecutionEnvironment: JavaSE-17
Expand Down
2 changes: 1 addition & 1 deletion plugins/org.eclipse.glsp.graph/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions plugins/org.eclipse.glsp.layout/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GLSP Layout
Bundle-SymbolicName: org.eclipse.glsp.layout
Bundle-Version: 1.1.0.qualifier
Bundle-Version: 2.0.0
Bundle-Vendor: EclispeSource
Automatic-Module-Name: org.eclipse.glsp.layout
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Bundle: org.eclipse.glsp.server;bundle-version="[1.0.0,2.0.0)",
Require-Bundle: org.eclipse.glsp.server;bundle-version="[2.0.0,3.0.0)",
org.eclipse.elk.core;bundle-version="0.8.1",
org.eclipse.elk.graph;bundle-version="0.8.1",
com.google.guava;bundle-version="[30.1.0,33.0.0)"
Expand Down
2 changes: 1 addition & 1 deletion plugins/org.eclipse.glsp.layout/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions plugins/org.eclipse.glsp.server.emf/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GLSP Server EMF
Bundle-SymbolicName: org.eclipse.glsp.server.emf;singleton:=true
Bundle-Version: 1.1.0.qualifier
Bundle-Version: 2.0.0
Bundle-ClassPath: .
Bundle-Vendor: Eclipse GLSP
Bundle-Localization: plugin
Automatic-Module-Name: org.eclipse.glsp.example.emf
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Bundle: org.eclipse.glsp.server;bundle-version="[1.0.0,2.0.0)",
org.eclipse.glsp.graph;bundle-version="[1.0.0,2.0.0)",
Require-Bundle: org.eclipse.glsp.server;bundle-version="[2.0.0,3.0.0)",
org.eclipse.glsp.graph;bundle-version="[2.0.0,3.0.0)",
org.eclipse.emf.ecore;bundle-version="2.25.0",
org.eclipse.emf.ecore.edit;bundle-version="2.13.0",
org.eclipse.emf.ecore.xmi;bundle-version="2.16.0"
Expand Down
2 changes: 1 addition & 1 deletion plugins/org.eclipse.glsp.server.emf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GLSP Server Websocket
Bundle-SymbolicName: org.eclipse.glsp.server.websocket
Bundle-Version: 1.1.0.qualifier
Bundle-Version: 2.0.0
Bundle-Vendor: Eclipse GLSP
Automatic-Module-Name: com.eclipsesource.glps.server.websocket
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Bundle: com.google.gson;bundle-version="2.8.7",
org.eclipse.glsp.server;bundle-version="[1.0.0,2.0.0)",
org.eclipse.glsp.server;bundle-version="[2.0.0,3.0.0]",
org.eclipse.lsp4j;bundle-version="0.11.0",
org.eclipse.lsp4j.jsonrpc;bundle-version="0.11.0",
org.eclipse.lsp4j.websocket;bundle-version="0.11.0",
Expand Down
2 changes: 1 addition & 1 deletion plugins/org.eclipse.glsp.server.websocket/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions plugins/org.eclipse.glsp.server/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GLSP Server
Bundle-SymbolicName: org.eclipse.glsp.server
Bundle-Version: 1.1.0.qualifier
Bundle-Version: 2.0.0
Bundle-Vendor: Eclipse GLSP
Automatic-Module-Name: org.eclipse.glsp.server
Bundle-RequiredExecutionEnvironment: JavaSE-17
Expand All @@ -12,7 +12,7 @@ Require-Bundle: org.eclipse.emf.ecore.change;bundle-version="2.14.0",
org.eclipse.lsp4j.jsonrpc;bundle-version="0.11.0",
org.apache.commons.cli;bundle-version="1.4.0";visibility:=reexport,
com.google.inject;bundle-version="[5.0.1,8.0.0)";visibility:=reexport,
org.eclipse.glsp.graph;bundle-version="[1.0.0,2.0.0)";visibility:=reexport
org.eclipse.glsp.graph;bundle-version="[2.0.0,3.0.0)";visibility:=reexport
Export-Package: org.eclipse.glsp.server.actions,
org.eclipse.glsp.server.di,
org.eclipse.glsp.server.di.scope,
Expand Down
2 changes: 1 addition & 1 deletion plugins/org.eclipse.glsp.server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<description>GLSP Parent pom </description>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<packaging>pom</packaging>

<name>GLSP Parent</name>
Expand Down Expand Up @@ -64,7 +64,7 @@
<versions.maven.version>2.7</versions.maven.version>

<!-- Dependency Versions: Version of dependencies provided by the target
platform in p2. We try to match the p2-version if possible. -->
platform in ,2. We try to match the p2-version if possible. -->
<apache.logging.log4j.version>[2.19.0,)</apache.logging.log4j.version>
<commons.cli.version>[1.4,)</commons.cli.version>
<elk.version>[0.8.1,)</elk.version>
Expand Down
3 changes: 1 addition & 2 deletions releng/org.eclipse.glsp.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="org.eclipse.glsp.feature"
label="GLSP SDK"
version="1.1.0.qualifier"
version="2.0.0"
provider-name="Eclipse GLSP">

<description url="http://www.example.com/description">
Expand Down Expand Up @@ -318,7 +318,6 @@ version(s), and exceptions or additional permissions here}.&quot;
<import plugin="org.eclipse.lsp4j.jsonrpc" version="0.11.0" match="greaterOrEqual"/>
<import plugin="org.apache.commons.cli" version="1.4.0" match="greaterOrEqual"/>
<import plugin="com.google.inject" version="5.0.1" match="greaterOrEqual"/>
<import plugin="org.eclipse.glsp.graph" version="1.0.0" match="compatible"/>
<import plugin="javax.inject"/>
<import plugin="org.apache.logging.log4j.api"/>
<import plugin="org.apache.logging.log4j.core"/>
Expand Down
2 changes: 1 addition & 1 deletion releng/org.eclipse.glsp.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.releng</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../</relativePath>
</parent>
<packaging>eclipse-feature</packaging>
Expand Down
2 changes: 1 addition & 1 deletion releng/org.eclipse.glsp.repository/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.releng</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../</relativePath>
</parent>
<artifactId>org.eclipse.glsp.repository</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion releng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion targetplatforms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>org.eclipse.glsp</groupId>
<artifactId>targetplatforms</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>2.0.0</version>
<packaging>pom</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion tests/org.eclipse.glsp.graph.test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion tests/org.eclipse.glsp.server.test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit 8de1d81

Please sign in to comment.