From ca1758788eff5c6f3dafc8f4ca96b0d3bf8adc10 Mon Sep 17 00:00:00 2001 From: Tobias Ortmayr Date: Thu, 9 Dec 2021 11:30:45 +0100 Subject: [PATCH] v0.9.0 --- .vscode/extensions.json | 6 +++- .vscode/settings.json | 9 +++++ CHANGELOG.md | 43 +++++++++++++++++++++++ examples/workflow-glsp/package.json | 4 +-- examples/workflow-standalone/package.json | 6 ++-- lerna.json | 2 +- packages/client/package.json | 4 +-- packages/protocol/package.json | 8 ++--- 8 files changed, 69 insertions(+), 13 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 943048c7..f8bdf5da 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,7 +2,11 @@ // See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp // List of extensions which should be recommended for users of this workspace. - "recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"], + "recommendations": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "DavidAnson.vscode-markdownlint" + ], // List of extensions recommended by VS Code that should not be recommended for users of this workspace. "unwantedRecommendations": [] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 7c01e18c..bcf7143f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -42,5 +42,14 @@ }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "markdownlint.config": { + "MD007": { + "indent": 4 + }, + "MD030": { + "ul_single": 3, + "ul_multi": 3 + } } } diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..d9107882 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,43 @@ +# Eclipse GLSP Client Changelog + +## [v0.9.0- 09/12/2021](https://github.com/eclipse-glsp/glsp-client/releases/tag/v0.9.0) + +### Changes + +- [feature] Improve external navigation support through dedicated action. [#153](https://github.com/eclipse-glsp/glsp-client/pull/95) +- [build] Added a download script to download the latest workflow-glsp-server JAR from maven artifactory [#171](https://github.com/eclipse-glsp/glsp-client/pull/99) +- [diagram] Fixed a bug that kept the hover feedback visible after the diagram widget becomes inactive [#184](https://github.com/eclipse-glsp/glsp-client/pull/102) +- [diagram] Extended the `ModifyCssFeedbackAction` to support both `string[]` and `SModelElement[]` as input [#103](https://github.com/eclipse-glsp/glsp-client/pull/103) +- [diagram] Improved extensibility of `AutoCompleteWidget` by enabling changing of settings without having to re-instantiate the entire widget [#104](https://github.com/eclipse-glsp/glsp-client/pull/104) +- [model] Added `SArgumentable` interface for denoting `SModelElement`s that contain an arbitrary arguments map [#194](https://github.com/eclipse-glsp/glsp-client/pull/106) +- [diagram] Implemented a marquee selection tool to select multiple elements at once by drawing a rectangle. [#199](https://github.com/eclipse-glsp/glsp-client/pull/108) [#213](https://github.com/eclipse-glsp/glsp-client/pull/120) +- [protocol] Added `fileUri` property to `SaveModelAction`. This can be used to implement save-as functionality [#208](https://github.com/eclipse-glsp/glsp-client/pull/109) +- [protocol] Implemented missing typeguard functions for all protocol operations [#212](https://github.com/eclipse-glsp/glsp-client/pull/110) +- [diagram] Implemented a reusable utility function (`configureDefaultModelElements`) that handles configuration of default model elements and views. + Introduced reusable view for rounded corner nodes and and improved edge view that supports custom padding for easer mouse handling. Adapted the workflow example to make use of these new views [#180](https://github.com/eclipse-glsp/glsp-client/pull/113) +- [example] Cleaned up and reworked the workflow example. Additional css classes are now applied directly to the `SModelElement` instead of using custom views. Removed now obsolete classes `TaskNodeView` and `WeightedEdgeView` [#220](https://github.com/eclipse-glsp/glsp-client/pull/116) +- [diagram] Fixed a bug in the connection tool regarding the feedback edge snapping computation for nested elements. [#224](https://github.com/eclipse-glsp/glsp-client/pull/123) +- [diagram] Fixed a bug in the copy& paste behavior. [#249](https://github.com/eclipse-glsp/glsp-client/pull/124) +- [glsp-client] Fixed the definition of `ChangeContainerOperation`. [#253](eclipse-glsp/glsp-server#115) +- [glsp-client] Remove the `name` property from `GLSPClient`. [#258](https://github.com/eclipse-glsp/glsp-client/pull/130/files) +- [diagram] Fixed a bug in Firefox that required elements to be selected before they can be moved. [#376](https://github.com/eclipse-glsp/glsp-client/pull/134) +- [build] Upgrade to Snabbdom3 and ES2017 [#137](https://github.com/eclipse-glsp/glsp-client/pull/137) +- [protocol] Extract action message protocol and action definitions from `@eclipse-glsp/client` and move to `@eclipse-glsp/protocol` [#256](https://github.com/eclipse-glsp/glsp-client/pull/141) - Contributed on behalf of STMicroelectronics +- [diagram] Fixed a bug that occurred when moving nested elements. [#225](https://github.com/eclipse-glsp/glsp-client/pull/135) +- [example] Added support for structured nodes (categories) in workflow-example. [#392](https://github.com/eclipse-glsp/glsp-client/pull/136) +- [diagram] Fixed a bug related to the mouse cursor position on resize. [#400](https://github.com/eclipse-glsp/glsp-client/pull/144) +- [model] Add a convenience method to create a container with default modules. [#419](https://github.com/eclipse-glsp/glsp-client/pull/145) + +### Breaking Changes + +- [glsp-client] Introduced `glspViewportModule`. This module contains a custom `ScrollMouseListener` that gets disabled if the `MarqueeTool` is active. This module should be used instead of the `viewportModule` provided by sprotty [#199](https://github.com/eclipse-glsp/glsp-client/pull/108) +- [glsp-client] Fixed the definition of `ChangeContainerOperation`. The type of the `location` property has been changed from `string` to `Point`. [#253](eclipse-glsp/glsp-server#115) +- [glsp-client] Remove the `name` property from `GLSPClient`. [#258](https://github.com/eclipse-glsp/glsp-client/pull/130/files) +- [glsp-client] Introduced `glspViewportModule`. This module contains a custom `ScrollMouseListener` that gets disabled if the `MarqueeTool` is active. This module should be used instead of the `viewportModule` provided by sprotty [#199](https://github.com/eclipse-glsp/glsp-client/pull/108) +- [build] Upgrade to Snabbdom3 and ES2017. Depended packages should upgrade to ES2017 as well. [#137](https://github.com/eclipse-glsp/glsp-client/pull/137) + +## [v0.8.0 - 20/10/2020](https://github.com/eclipse-glsp/glsp/releases/tag/0.8.0) + +This is the first release of Eclipse GLSP since it is hosted at the Eclipse Foundation. +The 0.8.0 release includes new protocol message types and respective framework support for several new features, such as copy-paste, diagram navigation, etc. It also contains several clean-ups of the protocol and refactorings to simplify and streamline the API. +The Eclipse Theia integration of GLSP features many improvements, such as problem marker integration, native context menu items and keybindings. Finally, several bug fixes and minor are part of this release as well. diff --git a/examples/workflow-glsp/package.json b/examples/workflow-glsp/package.json index 36da21a8..1219111c 100644 --- a/examples/workflow-glsp/package.json +++ b/examples/workflow-glsp/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-glsp-examples/workflow-glsp", - "version": "0.8.0", + "version": "0.9.0", "description": "GLSP diagrams for the Workflow DSL", "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)", "keywords": [ @@ -26,7 +26,7 @@ } ], "dependencies": { - "@eclipse-glsp/client": "0.8.0", + "@eclipse-glsp/client": "0.9.0", "balloon-css": "^0.5.0" }, "devDependencies": { diff --git a/examples/workflow-standalone/package.json b/examples/workflow-standalone/package.json index 068a1af7..bdead0d4 100644 --- a/examples/workflow-standalone/package.json +++ b/examples/workflow-standalone/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "workflow-standalone", - "version": "0.8.0", + "version": "0.9.0", "description": "Standalone browser-app for the Workflow example", "author": { "name": "Eclipse GLSP" @@ -20,8 +20,8 @@ } ], "dependencies": { - "@eclipse-glsp-examples/workflow-glsp": "0.8.0", - "@eclipse-glsp/client": "0.8.0" + "@eclipse-glsp-examples/workflow-glsp": "0.9.0", + "@eclipse-glsp/client": "0.9.0" }, "devDependencies": { "circular-dependency-plugin": "^5.2.2", diff --git a/lerna.json b/lerna.json index e1a78f32..795a9d8c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.8.0", + "version": "0.9.0", "useWorkspaces": true, "npmClient": "yarn", "command": { diff --git a/packages/client/package.json b/packages/client/package.json index f106eb26..f4d2eb5f 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-glsp/client", - "version": "0.8.0", + "version": "0.9.0", "description": "A sprotty-based client for GLSP", "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)", "keywords": [ @@ -34,7 +34,7 @@ "css" ], "dependencies": { - "@eclipse-glsp/protocol": "0.8.0", + "@eclipse-glsp/protocol": "0.9.0", "autocompleter": "5.1.0", "sprotty": "0.10.0" }, diff --git a/packages/protocol/package.json b/packages/protocol/package.json index c5ab7d49..0f810a2b 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-glsp/protocol", - "version": "0.8.0", + "version": "0.9.0", "description": "The protocol definition for client-server communication in GLSP", "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)", "keywords": [ @@ -33,13 +33,13 @@ "src" ], "dependencies": { + "inversify": "^5.0.1", "uuid": "7.0.3", - "vscode-ws-jsonrpc": "0.2.0", - "inversify": "^5.0.1" + "vscode-ws-jsonrpc": "0.2.0" }, "devDependencies": { - "@types/uuid": "3.4.5", "@babel/runtime": "^7.11.2", + "@types/uuid": "3.4.5", "rimraf": "^2.6.1", "typescript": "^3.9.2" },