Skip to content

Commit

Permalink
v1.0.0 (#173)
Browse files Browse the repository at this point in the history
- Update Changelog
- Update Security.MD

Co-authored-by: Philip Langer <[email protected]>
  • Loading branch information
tortmayr and planger authored Jul 1, 2022
1 parent 132e66d commit fb07a83
Show file tree
Hide file tree
Showing 24 changed files with 87 additions and 85 deletions.
6 changes: 6 additions & 0 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
Expand All @@ -13,5 +18,6 @@
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
58 changes: 30 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Eclipse GLSP Server Changelog

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

### Changes

Expand All @@ -12,6 +12,8 @@
- [build] Remove dependency to `org.apache.commons.io` [#157](https://github.com/eclipse-glsp/glsp-server/pull/157)
- [emf] Inception of new `org.eclipse.glsp.server.emf` package + example models
- Provides reusable base classes for EMF-based source models [#159](https://github.com/eclipse-glsp/glsp-server/pull/159)
- [graph] Introduced `GShapePrerenderedElementBuilder` to enable easy construction of shaped prerendered elements eg. foreign object elements. [#168](https://github.com/eclipse-glsp/glsp-server/pull/168)
- [diagram] Fixed a bug that could occur during saving by ensuring that all pending actions are dispatched before a client session is disposed. [#172](https://github.com/eclipse-glsp/glsp-server/pull/172)

### Breaking Changes

Expand All @@ -35,37 +37,37 @@

### Changes

- [websocket] Fixed issue that was caused by reusing a shared injector for each client connection [#149](https://github.com/eclipse-glsp/glsp-server/pull/91)
- [navigation] Added a utility class for 'JsonOpenerOptions' [#153](https://github.com/eclipse-glsp/glsp-server/pulls?q=92+93)
- [diagram] Merged the `ServerLayoutConfiguration` API into the `DiagramConfiguration` API. [#123](https://github.com/eclipse-glsp/glsp-server/pull/95)
- [websocket] Fixed issue that was caused by reusing a shared injector for each client connection [#91](https://github.com/eclipse-glsp/glsp-server/pull/91)
- [navigation] Added a utility class for 'JsonOpenerOptions' [#92](https://github.com/eclipse-glsp/glsp-server/pull/92)
- [diagram] Merged the `ServerLayoutConfiguration` API into the `DiagramConfiguration` API. [#95](https://github.com/eclipse-glsp/glsp-server/pull/95)
- [model] Reworked model update flow. All aspects of the update process are now handled by the `ModelSubmissionHandler` [#122](https://github.com/eclipse-glsp/glsp-server/pull/95)
- [model] Reworked and split `ModelFactory` API into a dedicated component responsible for loading the model source (`ModelSourceLoader`) and a component responsible for transforming the current modelstate into its GModel-representation (`GModelFactory`) [#119](https://github.com/eclipse-glsp/glsp-server/pull/96)
- [protocol] Added implementation for `SetViewportAction` [#179](https://github.com/eclipse-glsp/glsp-server/pull/99)
- [model] Introduced `GArgumentable` interface which is implemented by all `GModelElement`s. This can be used to provide additional information in form of an `args` map without having to extend the `GModel` type [#194](https://github.com/eclipse-glsp/glsp-server/pull/100)
- [model] Extended default type mapping and added builder for `GArgumentable` elements and corresponding utility classes [#180](https://github.com/eclipse-glsp/glsp-server/pull/105)
- [protocol] Added `fileUri` property to `SaveModelAction` and updated `SaveModelActionHandler` accordingly [#208](https://github.com/eclipse-glsp/glsp-server/pull/103/)
- [protocol] Added optional `reason` string property to `SetDirtyStateAction`. This property indicates the reason that caused to dirty state change and enables more fine granular handling of dirty state changes [#197](https://github.com/eclipse-glsp/glsp-server/pull/101)
- [build] Update dependencies of Google Guava (>= 30.1) and Google Guice (>= 5.0.0). [#260](https://github.com/eclipse-glsp/glsp-server/pull/119)
- [protocol] Refactor the base communication protocol to support initializing and disposing a client session. [#315](https://github.com/eclipse-glsp/glsp-server/pull/123)
- [server] The `org.apache.log4j` dependency is not reexported any more when consumed as p2 artifact. [#430](https://github.com/eclipse-glsp/glsp-eclipse-integration/pull/43)
- [di] Complete rework of DI architecture. Move away from one global injector per application. Instead use one global server injector and dedicated child injectors for each diagram session. [#150](https://github.com/eclipse-glsp/glsp-server/pull/127)
- [launch] Improve customizability of `DefaultGLSPServerLauncher`. [#385](https://github.com/eclipse-glsp/glsp-server/pull/128)
- [model] Add properties map in model state to store arbitrary properties that are persistent between handler calls. [#401](https://github.com/eclipse-glsp/glsp-server/pull/132)
- [server] Refactor json-rpc protocol and `DefaultGLSPServerImplementation`. [#421](https://github.com/eclipse-glsp/glsp-server/pull/133)
- [action] Rework `ActionHandler` & `OperationHandler` API. [#425](https://github.com/eclipse-glsp/glsp-server/pull/135)
- [action] Introduce `dispatchAfterNextUpdate` functionality for the `ActionDispatcher`. This enables queuing of actions until the next model updates has been processed. [#448](https://github.com/eclipse-glsp/glsp-server/pull/141/)
- [protocol] Align server-side action definitions with [protocol definition](https://github.com/eclipse-glsp/glsp/blob/master/PROTOCOL.md). [#432](https://github.com/eclipse-glsp/glsp-server/pull/142)
- [model] Reworked and split `ModelFactory` API into a dedicated component responsible for loading the model source (`ModelSourceLoader`) and a component responsible for transforming the current modelstate into its GModel-representation (`GModelFactory`) [#96](https://github.com/eclipse-glsp/glsp-server/pull/96)
- [protocol] Added implementation for `SetViewportAction` [#99](https://github.com/eclipse-glsp/glsp-server/pull/99)
- [model] Introduced `GArgumentable` interface which is implemented by all `GModelElement`s. This can be used to provide additional information in form of an `args` map without having to extend the `GModel` type [#100](https://github.com/eclipse-glsp/glsp-server/pull/100)
- [model] Extended default type mapping and added builder for `GArgumentable` elements and corresponding utility classes [#105](https://github.com/eclipse-glsp/glsp-server/pull/105)
- [protocol] Added `fileUri` property to `SaveModelAction` and updated `SaveModelActionHandler` accordingly [#103](https://github.com/eclipse-glsp/glsp-server/pull/103/)
- [protocol] Added optional `reason` string property to `SetDirtyStateAction`. This property indicates the reason that caused to dirty state change and enables more fine granular handling of dirty state changes [#101](https://github.com/eclipse-glsp/glsp-server/pull/101)
- [build] Update dependencies of Google Guava (>= 30.1) and Google Guice (>= 5.0.0). [#119](https://github.com/eclipse-glsp/glsp-server/pull/119)
- [protocol] Refactor the base communication protocol to support initializing and disposing a client session. [#123](https://github.com/eclipse-glsp/glsp-server/pull/123)
- [server] The `org.apache.log4j` dependency is not reexported any more when consumed as p2 artifact. [#43](https://github.com/eclipse-glsp/glsp-eclipse-integration/pull/43)
- [di] Complete rework of DI architecture. Move away from one global injector per application. Instead use one global server injector and dedicated child injectors for each diagram session. [#127](https://github.com/eclipse-glsp/glsp-server/pull/127)
- [launch] Improve customizability of `DefaultGLSPServerLauncher`. [#128](https://github.com/eclipse-glsp/glsp-server/pull/128)
- [model] Add properties map in model state to store arbitrary properties that are persistent between handler calls. [#132](https://github.com/eclipse-glsp/glsp-server/pull/132)
- [server] Refactor json-rpc protocol and `DefaultGLSPServerImplementation`. [#133](https://github.com/eclipse-glsp/glsp-server/pull/133)
- [action] Rework `ActionHandler` & `OperationHandler` API. [#135](https://github.com/eclipse-glsp/glsp-server/pull/135)
- [action] Introduce `dispatchAfterNextUpdate` functionality for the `ActionDispatcher`. This enables queuing of actions until the next model update has been processed. [#141](https://github.com/eclipse-glsp/glsp-server/pull/141/)
- [protocol] Align server-side action definitions with [protocol definition](https://github.com/eclipse-glsp/glsp/blob/master/PROTOCOL.md). [#142](https://github.com/eclipse-glsp/glsp-server/pull/142)

### Breaking Changes

- [diagram] Merged the `ServerLayoutConfiguration` API into the `DiagramConfiguration` API. The standalone `ServerLayoutConfiguration` is now deprecated and no longer supported [#123](https://github.com/eclipse-glsp/glsp-server/pull/95)
- [model] Renamed `ModelFactory` to `ModelSourceLoader` and adapted interface method. This also affects implementing classes like the `JsonFileModelFactory` [#119](https://github.com/eclipse-glsp/glsp-server/pull/96)
- [model] Reworked `ModelSubmissionHandler` API. This includes changes of method names and parameters [#119](https://github.com/eclipse-glsp/glsp-server/pull/96) [#197](https://github.com/eclipse-glsp/glsp-server/pull/101)
- [build] Update dependencies of Google Guava (>= 30.1) and Google Guice (>= 5.0.0). [#260](https://github.com/eclipse-glsp/glsp-server/pull/119)
- [build] The `org.apache.log4j` dependency is not reexported any more when consumed as p2 artifact. You need to import `org.apache.log4j` in your own plugins if you use the log4j API there. [#430](https://github.com/eclipse-glsp/glsp-eclipse-integration/pull/43)
- [protocol] Refactor the base communication protocol to support initializing and disposing a client session. Remove now obsolete `InitializeClientSessionAction` and `DisposeClientSessionAction`. [#315](https://github.com/eclipse-glsp/glsp-server/pull/123)
- [di] Complete rework of DI architecture. Your main module now has to extend `DiagramModule` instead of `GLSPModule`. Includes restructurings,cleanups and refactorings that affect most of the API components. [#150](https://github.com/eclipse-glsp/glsp-server/pull/127)
- [server] Refactor json-rpc protocol and `DefaultGLSPServerImplementation`. This includes changes of method names and parameters [#421](https://github.com/eclipse-glsp/glsp-server/pull/133)
- [diagram] Merged the `ServerLayoutConfiguration` API into the `DiagramConfiguration` API. The standalone `ServerLayoutConfiguration` is now deprecated and no longer supported [#95](https://github.com/eclipse-glsp/glsp-server/pull/95)
- [model] Renamed `ModelFactory` to `ModelSourceLoader` and adapted interface method. This also affects implementing classes like the `JsonFileModelFactory` [#96](https://github.com/eclipse-glsp/glsp-server/pull/96)
- [model] Reworked `ModelSubmissionHandler` API. This includes changes of method names and parameters [#101](https://github.com/eclipse-glsp/glsp-server/pull/96) [#197](https://github.com/eclipse-glsp/glsp-server/pull/101)
- [build] Update dependencies of Google Guava (>= 30.1) and Google Guice (>= 5.0.0). [#119](https://github.com/eclipse-glsp/glsp-server/pull/119)
- [build] The `org.apache.log4j` dependency is not reexported any more when consumed as p2 artifact. You need to import `org.apache.log4j` in your own plugins if you use the log4j API there. [#43](https://github.com/eclipse-glsp/glsp-eclipse-integration/pull/43)
- [protocol] Refactor the base communication protocol to support initializing and disposing a client session. Remove now obsolete `InitializeClientSessionAction` and `DisposeClientSessionAction`. [#123](https://github.com/eclipse-glsp/glsp-server/pull/123)
- [di] Complete rework of DI architecture. Your main module now has to extend `DiagramModule` instead of `GLSPModule`. Includes restructurings,cleanups and refactorings that affect most of the API components. [#127](https://github.com/eclipse-glsp/glsp-server/pull/127)
- [server] Refactor json-rpc protocol and `DefaultGLSPServerImplementation`. This includes changes of method names and parameters [#133](https://github.com/eclipse-glsp/glsp-server/pull/133)

## [v0.8.0 - 20/10/2020](https://github.com/eclipse-glsp/glsp/releases/tag/0.8.0)

Expand Down
22 changes: 8 additions & 14 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
# Security Policy
# Eclipse GLSP Vulnerability Reporting Policy

Eclipse GLSP follows the [Eclipse Vulnerability Reporting Policy](https://www.eclipse.org/security/policy.php).
Vulnerabilities are tracked by the Eclipse security team, in cooperation with the GLSP project leads.
Fixing vulnerabilities is taken care of by the GLSP project committers, with assistance and guidance of the security team.
If you think or suspect that you have discovered a new security vulnerability
in this project, please __do not__ disclose it on GitHub, e.g. in an issue, a
PR, or a discussion. Any such disclosure will be removed/deleted on sight, to
promote orderly disclosure, as per the Eclipse Foundation Security Policy (1).

## Supported Versions
Eclipse GLSP is still in the incubation phase.
During this phase only the most current release is supported with security updates.
Instead, please report any potential vulnerability to the Eclipse Foundation [Security Team](https://www.eclipse.org/security/). Make sure to provide a concise description of the issue, a CWE, and other supporting information.

| Version | Supported |
| ------- | ------------------ |
| 0.9.0 | :white_check_mark: |
| < 0.9.0 | :x:|

## Reporting a Vulnerability
We recommend that in case of suspected vulnerabilities you do not use the GLSP public issue tracker, but instead contact the Eclipse Security Team directly via [email protected].
(1) _Eclipse Foundation Vulnerability Reporting Policy_:
[https://www.eclipse.org/security/policy.php](https://www.eclipse.org/security/policy.php)
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: 0.10.0.qualifier
Bundle-Version: 1.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-11
Require-Bundle: org.eclipse.glsp.layout;bundle-version="[0.10.0,1.0.0)",
org.eclipse.glsp.server;bundle-version="[0.10.0,1.0.0)",
org.eclipse.glsp.server.websocket;bundle-version="[0.10.0,1.0.0)",
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)",
org.eclipse.elk.core;bundle-version="0.6.0",
org.eclipse.elk.alg.layered;bundle-version="0.6.0",
org.eclipse.elk.graph;bundle-version="0.6.0"
Expand Down
8 changes: 4 additions & 4 deletions 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>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -51,17 +51,17 @@
<dependency>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.server</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.server.websocket</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.layout</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.elk</groupId>
Expand Down
4 changes: 2 additions & 2 deletions plugins/org.eclipse.glsp.graph/META-INF/MANIFEST.MF
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 Graph
Bundle-SymbolicName: org.eclipse.glsp.graph;singleton:=true
Bundle-Version: 0.10.0.qualifier
Bundle-Version: 1.0.0
Bundle-Vendor: Eclipse GLSP
Automatic-Module-Name: org.eclipse.glsp.graph
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.emf.common;bundle-version="2.15.0",
com.google.gson,
com.google.gson;bundle-version="2.8.9",
org.eclipse.emf.ecore;bundle-version="2.15.0";visibility:=reexport,
com.google.guava;bundle-version="30.1.0";visibility:=reexport
Export-Package: org.eclipse.glsp.graph,
Expand Down
4 changes: 2 additions & 2 deletions 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>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -60,7 +60,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.2</version>
<version>2.8.9</version>
</dependency>
</dependencies>

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: 0.10.0.qualifier
Bundle-Version: 1.0.0
Bundle-Vendor: EclispeSource
Automatic-Module-Name: org.eclipse.glsp.layout
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.glsp.server;bundle-version="[0.10.0,1.0.0)",
Require-Bundle: org.eclipse.glsp.server;bundle-version="[1.0.0,2.0.0)",
org.eclipse.elk.core;bundle-version="0.7.1",
org.eclipse.elk.graph;bundle-version="0.7.1",
com.google.guava;bundle-version="30.1.0"
Expand Down
4 changes: 2 additions & 2 deletions 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>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.server</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.elk</groupId>
Expand Down
4 changes: 2 additions & 2 deletions plugins/org.eclipse.glsp.server.emf/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GLSP Server EMF
Bundle-SymbolicName: org.eclipse.glsp.server.emf;singleton:=true
Bundle-Version: 0.10.0.qualifier
Bundle-Version: 1.0.0
Bundle-ClassPath: .
Bundle-Vendor: Eclipse GLSP
Bundle-Localization: plugin
Automatic-Module-Name: org.eclipse.glsp.example.emf
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.glsp.server;bundle-version="0.10.0",
Require-Bundle: org.eclipse.glsp.server;bundle-version="[1.0.0,2.0.0)",
org.eclipse.glsp.graph;bundle-version="0.10.0",
org.eclipse.emf.ecore;bundle-version="2.23.0",
org.eclipse.emf.ecore.edit;bundle-version="2.13.0",
Expand Down
6 changes: 3 additions & 3 deletions 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>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -46,12 +46,12 @@
<dependency>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.server</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.graph</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
Expand Down
Loading

0 comments on commit fb07a83

Please sign in to comment.