Skip to content

Commit 4de94c7

Browse files
github-actions[bot]web-flowilia-dbjuliacrawf-db
authored
Release: v1.4.0 (#1333)
Release 1.4.0 with the notification about upcoming v2 release --------- Co-authored-by: releasebot <[email protected]> Co-authored-by: Ilia Babanov <[email protected]> Co-authored-by: Julia Crawford (Databricks) <[email protected]>
1 parent ed02e67 commit 4de94c7

File tree

6 files changed

+33
-3
lines changed

6 files changed

+33
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@databricks/databricks-vscode",
3-
"version": "1.3.1",
3+
"version": "1.4.0",
44
"private": true,
55
"workspaces": [
66
"packages/*"

packages/databricks-vscode-types/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Release: v1.4.0
2+
3+
## packages/databricks-vscode-types
4+
5+
## 1.4.0 (2024-08-28)
6+
17
# Release: v1.3.1
28

39
## packages/databricks-vscode-types

packages/databricks-vscode-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@databricks/databricks-vscode-types",
3-
"version": "1.3.1",
3+
"version": "1.4.0",
44
"description": "Package with types and interfaces to develop extensions to the Databricks VSCode plugin",
55
"main": "index.js",
66
"types": "index.d.ts",

packages/databricks-vscode/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Release: v1.4.0
2+
3+
## packages/databricks-vscode
4+
5+
## 1.4.0 (2024-08-28)
6+
7+
- Added a notification about the upcoming V2 release:
8+
> **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).**
9+
110
# Release: v1.3.1
211

312
## packages/databricks-vscode

packages/databricks-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "IDE support for Databricks",
55
"publisher": "databricks",
66
"license": "LicenseRef-LICENSE",
7-
"version": "1.3.1",
7+
"version": "1.4.0",
88
"engines": {
99
"vscode": "^1.83.0"
1010
},

packages/databricks-vscode/src/whatsNewPopup.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {StateStorage} from "./vscode-objs/StateStorage";
44
import path from "path";
55
import {exists} from "fs-extra";
66
import * as semver from "semver";
7+
import {openExternal} from "./utils/urlUtils";
78

89
export async function findFileFowWhatsNew(
910
context: ExtensionContext,
@@ -33,6 +34,18 @@ export async function findFileFowWhatsNew(
3334
return context.asAbsolutePath("CHANGELOG.md");
3435
}
3536

37+
async function showV2Notification() {
38+
const choice = await window.showInformationMessage(
39+
"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.",
40+
"Learn more"
41+
);
42+
if (choice === "Learn more") {
43+
openExternal(
44+
"https://docs.databricks.com/dev-tools/vscode-ext/index.html"
45+
);
46+
}
47+
}
48+
3649
export async function showWhatsNewPopup(
3750
context: ExtensionContext,
3851
storage: StateStorage
@@ -62,6 +75,7 @@ export async function showWhatsNewPopup(
6275

6376
if (window.state.focused) {
6477
commands.executeCommand("markdown.showPreview", Uri.file(markdownFile));
78+
showV2Notification();
6579
return;
6680
}
6781

@@ -70,6 +84,7 @@ export async function showWhatsNewPopup(
7084
return;
7185
}
7286
commands.executeCommand("markdown.showPreview", Uri.file(markdownFile));
87+
showV2Notification();
7388
listener.dispose();
7489
});
7590
context.subscriptions.push(listener);

0 commit comments

Comments
 (0)