Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
- Update to latest versions
- Update changelog
- Add resolutions block
- Update readme
  • Loading branch information
tortmayr committed Jul 3, 2022
1 parent 0374c00 commit e29c96e
Show file tree
Hide file tree
Showing 11 changed files with 1,079 additions and 1,041 deletions.
38 changes: 23 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,40 @@
# Eclipse GLSP Theia Integration Changelog

## [v0.10.0- Upcoming](https://github.com/eclipse-glsp/glsp-theia-integration/releases/tag/v0.10.0)
## [1.0.0 - 30/06/2022](https://github.com/eclipse-glsp/glsp-theia-integration/releases/tag/v1.0.0)

### Changes

- [navigation] Avoid changing the viewport twice when navigating to a diagram element. [#475](https://github.com/eclipse-glsp/glsp-theia-integration/pull/102)
- [navigation] Avoid changing the viewport twice when navigating to a diagram element. [#102](https://github.com/eclipse-glsp/glsp-theia-integration/pull/102)
- [example] Improved and modernized styling of the GLSP workflow example [#103](https://github.com/eclipse-glsp/glsp-theia-integration/pull/103)
- [diagram] Attached `mouseLeave` and `mouseEnter` listeners to the `GLSPDiagramWidget`. These listener add/remove corresponding css classes which can be used to apply custom styling dependent on the the relative mouse position. [#113](https://github.com/eclipse-glsp/glsp-theia-integration/pull/113/)
- [build] Updated Typescript to version 4.5.5 and enforced `noImplicitOverride` [#110](https://github.com/eclipse-glsp/glsp-theia-integration/pull/110)

### Breaking Changes

- [theia] Updated Theia dependencies to >=1.22.0. Due to an API break Theia versions <= 1.22.0 are no longer supported. [#105](https://github.com/eclipse-glsp/glsp-theia-integration/pull/105)
- [theia] Updated Theia dependencies to `>=1.25.0`. Due API breaks Theia version `<1.25.0` are no longer supported. [#105](https://github.com/eclipse-glsp/glsp-theia-integration/pull/105) [#111](https://github.com/eclipse-glsp/glsp-theia-integration/pull/111) [#116](https://github.com/eclipse-glsp/glsp-theia-integration/pull/116)
- [protocol] Adapt to renamed `ModelSourceChangedAction` and handler [#117](https://github.com/eclipse-glsp/glsp-theia-integration/pull/117)
- Refactored `JavaSocketServerContribution` to be able to both launching of Java and node processes. [#115](https://github.com/eclipse-glsp/glsp-theia-integration/pull/115)
- Renamed `JavaSocketServeContribution` -> `GLSPSocketServerContribution`
- `JavaSocketServerLaunchOptions`
- Renamed to `GLSPSocketServerContributionOptions`
- Renamed `jarPath` property to `executable`

## [v0.9.0- 09/12/2021](https://github.com/eclipse-glsp/glsp-theia-integration/releases/tag/v0.9.0)

### Changes

- [backend] Added ability to launch embedded GLSP servers from `GLSPBackendContribution` [#35](https://github.com/eclipse-glsp/glsp-theia-integration/pull/55) [#381](https://github.com/eclipse-glsp/glsp/pull/382)
- [feature] Replaced `ExternalNavigateToTargetHandler` and its implementation in Theia `TheiaNavigateToTargetHandler` with a generic action `NavigateToExternalTargetAction` [#153](https://github.com/eclipse-glsp/glsp-client/pull/95) and an
- [diagram] Cleanup diagram widget initialization by removing no longer needed options [#123](https://github.com/eclipse-glsp/glsp-theia-integration/pull/60)
- [diagram] Fixed a bug that prevented activation of the diagram widget on model source changes [#168](https://github.com/eclipse-glsp/glsp-theia-integration/pull/61)
- [diagram] Fixed a bug that kept the hover feedback visible after the diagram widget becomes inactive [#184](https://github.com/eclipse-glsp/glsp-theia-integration/pull/64)
- [di] Made rebind of `CommandPalette` to `TheiaCommandPalette` optional to ensure compatibility with DI configurations where no `CommandPalette` is bound [#188](https://github.com/eclipse-glsp/glsp-theia-integration/pull/65)
- [build] Dropped the dependency to the deprecated `@theia/languages` package. [#189](https://github.com/eclipse-glsp/glsp-theia-integration/pull/66)
- [protocol] Adapted `SetDirtyStateAction` to provide an optional `reason` property indicating the cause for the dirty state change [#197](https://github.com/eclipse-glsp/glsp-theia-integration/pull/67)
- [feature] Introduced `GLSPSelectionDataService` which can be used to forward additional information on top of the selection to the Theia selection service. [#228](https://github.com/eclipse-glsp/glsp/issues/228)
- [diagram] Fixed a bug that displayed the diagram widget as inactive when initially opened. [#243](https://github.com/eclipse-glsp/glsp-theia-integration/pull/75)
- [all] Refactored the theia-integration code base to remove boilerplate configuration code. [#258](https://github.com/eclipse-glsp/glsp-theia-integration/pull/84)
- [protocol] Adapt frontend components to conform to the latest [protocol changes](eclipse-glsp/glsp/issues/315). [#315](https://github.com/eclipse-glsp/glsp-theia-integration/pull/86)
- [backend] Added ability to launch embedded GLSP servers from `GLSPBackendContribution` [#55](https://github.com/eclipse-glsp/glsp-theia-integration/pull/55)
- [feature] Replaced `ExternalNavigateToTargetHandler` and its implementation in Theia `TheiaNavigateToTargetHandler` with a generic action `NavigateToExternalTargetAction` [#57](https://github.com/eclipse-glsp/glsp-theia-integration/pull/57)
- [diagram] Cleanup diagram widget initialization by removing no longer needed options [#60](https://github.com/eclipse-glsp/glsp-theia-integration/pull/60)
- [diagram] Fixed a bug that prevented activation of the diagram widget on model source changes [#61](https://github.com/eclipse-glsp/glsp-theia-integration/pull/61)
- [diagram] Fixed a bug that kept the hover feedback visible after the diagram widget becomes inactive [#64](https://github.com/eclipse-glsp/glsp-theia-integration/pull/64)
- [di] Made rebind of `CommandPalette` to `TheiaCommandPalette` optional to ensure compatibility with DI configurations where no `CommandPalette` is bound [#65](https://github.com/eclipse-glsp/glsp-theia-integration/pull/65)
- [build] Dropped the dependency to the deprecated `@theia/languages` package. [#66](https://github.com/eclipse-glsp/glsp-theia-integration/pull/66)
- [protocol] Adapted `SetDirtyStateAction` to provide an optional `reason` property indicating the cause for the dirty state change [#67](https://github.com/eclipse-glsp/glsp-theia-integration/pull/67)
- [feature] Introduced `GLSPSelectionDataService` which can be used to forward additional information on top of the selection to the Theia selection service. [#69](https://github.com/eclipse-glsp/glsp-theia-integration/pull/69)
- [diagram] Fixed a bug that displayed the diagram widget as inactive when initially opened. [#75](https://github.com/eclipse-glsp/glsp-theia-integration/pull/75)
- [all] Refactored the theia-integration code base to remove boilerplate configuration code. [#84](https://github.com/eclipse-glsp/glsp-theia-integration/pull/84)
- [protocol] Adapt frontend components to conform to the latest [protocol changes](eclipse-glsp/glsp/issues/315). [#86](https://github.com/eclipse-glsp/glsp-theia-integration/pull/86)
- Upgrade to Theia 1.17.2 and ES2017 [#90](https://github.com/eclipse-glsp/glsp-theia-integration/pull/90)

### Breaking Changes
Expand Down
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,25 @@ For details on building the project, please see the [README file of the theia-in

## Theia Version Compatibility

| @eclipse-glsp/theia-integration | Theia |
| ------------------------------- | -------- |
| 0.8.0 | <=1.4.0 |
| 0.9.0 | >=1.20.0 |
| @eclipse-glsp/theia-integration | Theia |
| ------------------------------- | ------------------ |
| 0.8.0 | <=1.4.0 |
| 0.9.0 | >=1.20.0 |
| 1.0.0 | >=1.25.0 <= 1.26.0 |

> Note: Due to a transitive dependency to `sprotty-theia` it's currently not possible to safely restrict the maximum version of Theia packages. If you encounter build errors related to multiple resolved Theia versions please add a resolutions block to the `package.json` of your project:
```json
...
"resolutions": {
"**/@theia/core": "1.26.0",
"**/@theia/editor": "1.26.0",
"**/@theia/filesystem": "1.26.0",
"**/@theia/messages": "1.26.0",
"**/@theia/monaco": "1.26.0"
},
...
```

## Workflow Diagram Example

Expand Down
20 changes: 4 additions & 16 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# 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
Instead, please report any potential vulnerability to the Eclipse Foundation Security Team. Make sure to provide a concise description of the issue, a CWE, and other supporting information.

Eclipse GLSP is still in the incubation phase.
During this phase only the most current release is supported with security updates.

| 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>
28 changes: 14 additions & 14 deletions examples/browser-app/package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"private": true,
"name": "browser-app",
"version": "0.9.0",
"version": "1.0.0",
"dependencies": {
"@eclipse-glsp-examples/workflow-theia": "0.9.0",
"@theia/core": "^1.25.0",
"@theia/editor": "^1.25.0",
"@theia/filesystem": "^1.25.0",
"@theia/markers": "^1.25.0",
"@theia/messages": "^1.25.0",
"@theia/monaco": "^1.25.0",
"@theia/navigator": "^1.25.0",
"@theia/preferences": "^1.25.0",
"@theia/process": "^1.25.0",
"@theia/terminal": "^1.25.0",
"@theia/workspace": "^1.25.0"
"@eclipse-glsp-examples/workflow-theia": "^1.0.0",
"@theia/core": "1.26.0",
"@theia/editor": "1.26.0",
"@theia/filesystem": "1.26.0",
"@theia/markers": "1.26.0",
"@theia/messages": "1.26.0",
"@theia/monaco": "1.26.0",
"@theia/navigator": "1.26.0",
"@theia/preferences": "1.26.0",
"@theia/process": "1.26.0",
"@theia/terminal": "1.26.0",
"@theia/workspace": "1.26.0"
},
"devDependencies": {
"@theia/cli": "^1.25.0"
"@theia/cli": "1.26.0"
},
"scripts": {
"prepare": "yarn build",
Expand Down
6 changes: 3 additions & 3 deletions examples/workflow-theia/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eclipse-glsp-examples/workflow-theia",
"version": "0.9.0",
"version": "1.0.0",
"description": "Theia extension for the workflow GLSP example",
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
"keywords": [
Expand Down Expand Up @@ -28,8 +28,8 @@
"server"
],
"dependencies": {
"@eclipse-glsp-examples/workflow-glsp": "next",
"@eclipse-glsp/theia-integration": "0.9.0"
"@eclipse-glsp-examples/workflow-glsp": "1.0.0",
"@eclipse-glsp/theia-integration": "^1.0.0"
},
"devDependencies": {
"mvn-artifact-download": "5.1.0"
Expand Down
8 changes: 4 additions & 4 deletions examples/workflow-theia/server/download.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (c) 2020-2021 EclipseSource and others.
* Copyright (c) 2020-2022 EclipseSource and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
Expand All @@ -17,14 +17,14 @@ import download from 'mvn-artifact-download';
import { join, resolve } from 'path';

const downloadDir = resolve(join(__dirname));
const mavenRepository = 'https://oss.sonatype.org/content/repositories/snapshots/';
const mavenRepository = 'https://repo1.maven.org/maven2/';
const groupId = 'org.eclipse.glsp.example';
const artifactId = 'org.eclipse.glsp.example.workflow';
const version = '0.10.0';
const version = '1.0.0';
const classifier = 'glsp';

console.log('Downloading latest version of the Workflow Example Java Server from the maven repository...');
download({ groupId, artifactId, version, classifier, isSnapShot: true }, downloadDir, mavenRepository).then(() =>
download({ groupId, artifactId, version, classifier, isSnapShot: false }, downloadDir, mavenRepository).then(() =>
console.log(
'Download completed. Start the Theia back-end using these commands: \ncd examples/browser-app\nyarn start\n\n' +
'After starting the Theia back-end, access the following link locally in your browser to see the running example:\n' +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { WorkflowLanguage } from '../common/workflow-language';
export const DEFAULT_PORT = 5007;
export const PORT_ARG_KEY = 'WF_GLSP';
export const SERVER_DIR = join(__dirname, '..', '..', 'server');
export const JAR_FILE = resolve(join(SERVER_DIR, 'org.eclipse.glsp.example.workflow-0.10.0-SNAPSHOT-glsp.jar'));
export const JAR_FILE = resolve(join(SERVER_DIR, 'org.eclipse.glsp.example.workflow-1.0.0-glsp.jar'));

@injectable()
export class WorkflowGLServerContribution extends GLSPSocketServerContribution {
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.9.0",
"version": "1.0.0",
"useWorkspaces": true,
"npmClient": "yarn",
"command": {
Expand Down
16 changes: 11 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "parent",
"version": "0.8.0",
"version": "1.0.0",
"engines": {
"yarn": ">=1.7.0 <2",
"node": ">=12.14.1"
Expand All @@ -11,20 +11,26 @@
"watch": "lerna run --parallel watch",
"build": "lerna run build",
"lint": "lerna run lint --",
"rebuild:browser": "theia rebuild:browser",
"publish:prepare": "lerna version minor --exact --ignore-scripts --yes --no-push",
"publish:latest": "lerna publish from-git --no-git-reset --no-verify-access --no-push",
"publish:prepare": "lerna version --ignore-scripts --yes --no-push",
"publish:latest": "lerna publish from-git --no-git-reset --no-git-tag-version --no-verify-access --no-push",
"publish:next": "SHA=$(git rev-parse --short HEAD) && lerna publish preminor --exact --canary --preid next.${SHA} --dist-tag next --no-git-reset --no-git-tag-version --no-push --ignore-scripts --yes --no-verify-access",
"upgrade:next": "yarn upgrade -p \"sprotty-theia|@eclipse-glsp.*\" --next ",
"download:exampleServer": "ts-node examples/workflow-theia/server/download.ts"
},
"devDependencies": {
"@eclipse-glsp/config": "next",
"@eclipse-glsp/config": "1.0.0",
"@types/node": "12.x",
"lerna": "^4.0.0",
"rimraf": "^3.0.2",
"typescript": "~4.5.5"
},
"resolutions": {
"**/@theia/core": "1.26.0",
"**/@theia/editor": "1.26.0",
"**/@theia/filesystem": "1.26.0",
"**/@theia/messages": "1.26.0",
"**/@theia/monaco": "1.26.0"
},
"workspaces": [
"packages/theia-integration",
"examples/*"
Expand Down
8 changes: 4 additions & 4 deletions packages/theia-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eclipse-glsp/theia-integration",
"version": "0.9.0",
"version": "1.0.0",
"description": "Glue code to integrate GLSP clients into Eclipse Theia",
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
"engines": {
Expand Down Expand Up @@ -39,9 +39,9 @@
"css"
],
"dependencies": {
"@eclipse-glsp/client": "next",
"@theia/messages": "^1.25.0",
"sprotty-theia": "next"
"@eclipse-glsp/client": "1.0.0",
"@theia/messages": ">=1.25.0 <=1.26.0",
"sprotty-theia": "0.12.0"
},
"scripts": {
"prepare": "yarn clean && yarn build",
Expand Down
Loading

0 comments on commit e29c96e

Please sign in to comment.