From 06f7a1c203f92de1d97a6e9faa946c7583724e82 Mon Sep 17 00:00:00 2001 From: "Andrew J. Mauer" Date: Thu, 22 Feb 2024 16:04:28 +0000 Subject: [PATCH 1/2] update to lsp4jakarta release 0.2.1 to pick up diagnostics fix --- gulpfile.js | 2 +- package.json | 2 +- src/extension.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 47e501ba..e34d7103 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -5,7 +5,7 @@ const cp = require("child_process"); const libertyGroupId = "io.openliberty.tools"; const libertyVersion = "2.1.1"; const jakartaGroupId = "org.eclipse.lsp4jakarta"; -const jakartaVersion = "0.2.0"; +const jakartaVersion = "0.2.1"; var releaseLevel = "releases"; //"snapshots"; //snapshots or releases const libertyLemminxName = "liberty-langserver-lemminx-" + libertyVersion + "-jar-with-dependencies.jar"; diff --git a/package.json b/package.json index dce77f78..f00f04ca 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ ], "contributes": { "javaExtensions": [ - "./jars/org.eclipse.lsp4jakarta.jdt.core-0.2.0.jar" + "./jars/org.eclipse.lsp4jakarta.jdt.core-0.2.1.jar" ], "xml.javaExtensions": [ "./jars/liberty-langserver-lemminx-2.1.1-jar-with-dependencies.jar" diff --git a/src/extension.ts b/src/extension.ts index 0f887853..2d6a189b 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -23,7 +23,7 @@ import { prepareExecutable } from "./util/javaServerStarter"; const LIBERTY_CLIENT_ID = "LANGUAGE_ID_LIBERTY"; const JAKARTA_CLIENT_ID = "LANGUAGE_ID_JAKARTA"; export const LIBERTY_LS_JAR = "liberty-langserver-2.1.1-jar-with-dependencies.jar"; -export const JAKARTA_LS_JAR = "org.eclipse.lsp4jakarta.ls-0.2.0-jar-with-dependencies.jar"; +export const JAKARTA_LS_JAR = "org.eclipse.lsp4jakarta.ls-0.2.1-jar-with-dependencies.jar"; let libertyClient: LanguageClient; let jakartaClient: LanguageClient; From e87c39f1d374c12473f08d0b6248d40b4467b38e Mon Sep 17 00:00:00 2001 From: Trevor Crawford Date: Thu, 7 Mar 2024 16:39:07 -0500 Subject: [PATCH 2/2] Updated version to 24.0.3 and added release notes --- CHANGELOG.md | 22 +++++++++++++++++++--- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f426fa..e920e633 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,16 +2,32 @@ All notable changes to the Liberty Tools extension will be documented below. +## 24.0.3 + +Version 24.0.3 of Liberty Tools for Visual Studio Code is a fix release that contains minor enhancements and fixes. Version 24.0.3 requires Visual Studio Code version 1.78+ and requires Java 17 or later. + +Notable changes: + +- Updated [Eclipse LSP4Jakarta](https://github.com/eclipse/lsp4jakarta) version to 0.2.1 to resolve bug where Jakarta EE diagnostics were not appearing. + - https://github.com/OpenLiberty/liberty-tools-vscode/issues/322 + - For more information regarding changes for version 0.2.1, refer to the release notes: https://github.com/eclipse/lsp4jakarta/releases/tag/0.2.1 +- Added instructions for when the Liberty dashboard detects no Liberty projects. + - https://github.com/OpenLiberty/liberty-tools-vscode/issues/203 + +See the [commit log](https://github.com/OpenLiberty/liberty-tools-vscode/compare/23.0.12...24.0.3) for the full set of changes since the previous release. + ## 23.0.12 Version 23.0.12 of Liberty Tools for Visual Studio Code contains enhancements for editing support. Version 23.0.12 requires Visual Studio Code version 1.78+ and requires Java 17 or later. +NOTE: There is a known problem with Jakarta EE diagnostics in this release. For details on the issue and the workaround, please refer to [issue #322](https://github.com/OpenLiberty/liberty-tools-vscode/issues/322). For more known problems and workarounds for this release, please refer to the wiki: https://github.com/OpenLiberty/liberty-tools-vscode/wiki/Known-Problems-and-Limitations. + Notable changes: -- Updated Liberty Config Language Server version to 2.1.1. For information regarding changes for version 2.1, refer to the release notes linked below: +- Updated [Liberty Config Language Server](https://github.com/OpenLiberty/liberty-language-server) version to 2.1.1. For information regarding changes for version 2.1, refer to the release notes linked below: - https://github.com/OpenLiberty/liberty-language-server/releases/tag/liberty-langserver-2.1 - https://github.com/OpenLiberty/liberty-language-server/releases/tag/lemminx-liberty-2.1 -- Updated Eclipse LSP4Jakarta version to 0.2.0. For more information regarding changes for version 0.2.0, refer to the release notes linked below: +- Updated [Eclipse LSP4Jakarta](https://github.com/eclipse/lsp4jakarta) version to 0.2.0. For more information regarding changes for version 0.2.0, refer to the release notes linked below: - https://github.com/eclipse/lsp4jakarta/releases/tag/0.2.0 See the [commit log](https://github.com/OpenLiberty/liberty-tools-vscode/compare/23.0.9...23.0.12) for the full set of changes since the previous release. @@ -22,7 +38,7 @@ Version 23.0.9 of Liberty Tools for Visual Studio Code is a fix release that con Notable changes: -- Updated Liberty Config Language Server version to 2.0.1. For information regarding changes for version 2.0.1, refer to the release notes linked below: +- Updated [Liberty Config Language Server](https://github.com/OpenLiberty/liberty-language-server) version to 2.0.1. For information regarding changes for version 2.0.1, refer to the release notes linked below: - https://github.com/OpenLiberty/liberty-language-server/releases/tag/liberty-langserver-2.0.1 - https://github.com/OpenLiberty/liberty-language-server/releases/tag/lemminx-liberty-2.0.1 - Bug fix for “Start in container” action not appearing when project parent folder is opened in VS Code Explorer - https://github.com/OpenLiberty/liberty-tools-vscode/issues/258 diff --git a/package-lock.json b/package-lock.json index 4998ad39..a41eb88c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "liberty-dev-vscode-ext", - "version": "24.0.1-SNAPSHOT", + "version": "24.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "liberty-dev-vscode-ext", - "version": "24.0.1-SNAPSHOT", + "version": "24.0.3", "license": "EPL-2.0", "dependencies": { "@types/fs-extra": "^8.1.0", diff --git a/package.json b/package.json index f00f04ca..803f7752 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "liberty-dev-vscode-ext", "displayName": "Liberty Tools", "description": "Liberty Tools for Visual Studio Code", - "version": "24.0.1-SNAPSHOT", + "version": "24.0.3", "publisher": "Open-Liberty", "repository": { "type": "git",