From 4de94c7add768f7cffe2bccdd19e90c4fa1c1c53 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:28:51 +0200 Subject: [PATCH] Release: v1.4.0 (#1333) Release 1.4.0 with the notification about upcoming v2 release --------- Co-authored-by: releasebot Co-authored-by: Ilia Babanov Co-authored-by: Julia Crawford (Databricks) --- package.json | 2 +- packages/databricks-vscode-types/CHANGELOG.md | 6 ++++++ packages/databricks-vscode-types/package.json | 2 +- packages/databricks-vscode/CHANGELOG.md | 9 +++++++++ packages/databricks-vscode/package.json | 2 +- packages/databricks-vscode/src/whatsNewPopup.ts | 15 +++++++++++++++ 6 files changed, 33 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 18fe8020d..3a8e389cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@databricks/databricks-vscode", - "version": "1.3.1", + "version": "1.4.0", "private": true, "workspaces": [ "packages/*" diff --git a/packages/databricks-vscode-types/CHANGELOG.md b/packages/databricks-vscode-types/CHANGELOG.md index e1af9f6fb..5d9c21545 100644 --- a/packages/databricks-vscode-types/CHANGELOG.md +++ b/packages/databricks-vscode-types/CHANGELOG.md @@ -1,3 +1,9 @@ +# Release: v1.4.0 + +## packages/databricks-vscode-types + +## 1.4.0 (2024-08-28) + # Release: v1.3.1 ## packages/databricks-vscode-types diff --git a/packages/databricks-vscode-types/package.json b/packages/databricks-vscode-types/package.json index a8880fac1..99ec87b34 100644 --- a/packages/databricks-vscode-types/package.json +++ b/packages/databricks-vscode-types/package.json @@ -1,6 +1,6 @@ { "name": "@databricks/databricks-vscode-types", - "version": "1.3.1", + "version": "1.4.0", "description": "Package with types and interfaces to develop extensions to the Databricks VSCode plugin", "main": "index.js", "types": "index.d.ts", diff --git a/packages/databricks-vscode/CHANGELOG.md b/packages/databricks-vscode/CHANGELOG.md index 2d73532f4..a0b4fe37f 100644 --- a/packages/databricks-vscode/CHANGELOG.md +++ b/packages/databricks-vscode/CHANGELOG.md @@ -1,3 +1,12 @@ +# Release: v1.4.0 + +## packages/databricks-vscode + +## 1.4.0 (2024-08-28) + +- Added a notification about the upcoming V2 release: + > **Version 2 of the extension will soon be made the default. With this update it is easier to set up your project, integrate with Databricks Asset Bundles, and run your code remotely. [Learn more](https://docs.databricks.com/dev-tools/vscode-ext/index.html).** + # Release: v1.3.1 ## packages/databricks-vscode diff --git a/packages/databricks-vscode/package.json b/packages/databricks-vscode/package.json index 1732a705b..1d477170f 100644 --- a/packages/databricks-vscode/package.json +++ b/packages/databricks-vscode/package.json @@ -4,7 +4,7 @@ "description": "IDE support for Databricks", "publisher": "databricks", "license": "LicenseRef-LICENSE", - "version": "1.3.1", + "version": "1.4.0", "engines": { "vscode": "^1.83.0" }, diff --git a/packages/databricks-vscode/src/whatsNewPopup.ts b/packages/databricks-vscode/src/whatsNewPopup.ts index 7db0f9f00..67f87c290 100644 --- a/packages/databricks-vscode/src/whatsNewPopup.ts +++ b/packages/databricks-vscode/src/whatsNewPopup.ts @@ -4,6 +4,7 @@ import {StateStorage} from "./vscode-objs/StateStorage"; import path from "path"; import {exists} from "fs-extra"; import * as semver from "semver"; +import {openExternal} from "./utils/urlUtils"; export async function findFileFowWhatsNew( context: ExtensionContext, @@ -33,6 +34,18 @@ export async function findFileFowWhatsNew( return context.asAbsolutePath("CHANGELOG.md"); } +async function showV2Notification() { + const choice = await window.showInformationMessage( + "Version 2 of the extension will soon be made the default. With this update it is easier to set up your project, integrate with Databricks Asset Bundles, and run your code remotely.", + "Learn more" + ); + if (choice === "Learn more") { + openExternal( + "https://docs.databricks.com/dev-tools/vscode-ext/index.html" + ); + } +} + export async function showWhatsNewPopup( context: ExtensionContext, storage: StateStorage @@ -62,6 +75,7 @@ export async function showWhatsNewPopup( if (window.state.focused) { commands.executeCommand("markdown.showPreview", Uri.file(markdownFile)); + showV2Notification(); return; } @@ -70,6 +84,7 @@ export async function showWhatsNewPopup( return; } commands.executeCommand("markdown.showPreview", Uri.file(markdownFile)); + showV2Notification(); listener.dispose(); }); context.subscriptions.push(listener);