From bbe9aca71211ddeae44b49b6e11750bf1f47f83e Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Nov 2018 15:05:50 +0200 Subject: [PATCH 1/7] Remove "vscode" dependency from production list for debug-adapter --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 272ce6a..52b3206 100644 --- a/package.json +++ b/package.json @@ -289,7 +289,7 @@ } ], "label": "PlatformIO Debugger", - "program": "./node_modules/platformio-vscode-debug/lib/adapter.js", + "program": "./node_modules/platformio-vscode-debug/dist/adapter.js", "runtime": "node", "type": "platformio-debug" } @@ -592,7 +592,7 @@ "dependencies": { "fs-plus": "^3.0.2", "platformio-node-helpers": "^3.5.3", - "platformio-vscode-debug": "^1.2.5" + "platformio-vscode-debug": "^1.2.6" }, "extensionDependencies": [ "ms-vscode.cpptools" From 706d4bb0d5aa34f29085025a07e7d8c68084d9e0 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Nov 2018 22:01:31 +0200 Subject: [PATCH 2/7] Update PIO Core to 3.6.2 (minimal supported version) --- CHANGELOG.md | 4 ++++ src/constants.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9e4d47..a1e7fbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Release Notes +## 1.5.0 (2018-??-??) + +* Updated PIO Core to 3.6.2 (minimal supported version) + ## 1.4.7 (2018-11-28) * Security Update related to VSCode's issue with dependency on `event-stream` (issue [#434](https://github.com/platformio/platformio-vscode-ide/issues/434)) diff --git a/src/constants.js b/src/constants.js index e2c8164..4ee0448 100644 --- a/src/constants.js +++ b/src/constants.js @@ -9,5 +9,5 @@ export const IS_WINDOWS = process.platform.startsWith('win'); export const IS_OSX = process.platform == 'darwin'; export const IS_LINUX = !IS_WINDOWS && !IS_OSX; -export const PIO_CORE_MIN_VERSION = '3.5.3-b.3'; +export const PIO_CORE_MIN_VERSION = '3.6.2'; export const CONFLICTED_EXTENSION_IDS = ['mitaki28.vscode-clang', 'vsciot-vscode.vscode-arduino']; From 9e859d8d2680cf01b31c35609adf19e731260d53 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Nov 2018 22:07:49 +0200 Subject: [PATCH 3/7] Switched to a stable PlatformIO Core --- CHANGELOG.md | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1e7fbc..8130cd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ ## 1.5.0 (2018-??-??) -* Updated PIO Core to 3.6.2 (minimal supported version) +* Switched to a stable PlatformIO Core. Do you need development version? Please update VSCode settings to ['platformio-ide.useDevelopmentPIOCore': true](https://docs.platformio.org/en/latest/ide/vscode.html#settings) +* Updated minimal dependency of PlatformIO Core to >=3.6.2 ## 1.4.7 (2018-11-28) diff --git a/package.json b/package.json index 52b3206..3837b9a 100644 --- a/package.json +++ b/package.json @@ -508,7 +508,7 @@ }, "platformio-ide.useDevelopmentPIOCore": { "type": "boolean", - "default": true, + "default": false, "description": "Use development version of PlatformIO Core" }, "platformio-ide.autoRebuildAutocompleteIndex": { From 2e4d3ef303b0e27e834811991422d2f2b1f52541 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Nov 2018 22:09:21 +0200 Subject: [PATCH 4/7] Update PlatformIO Core Installer // Resolve #436, Issue #154 --- CHANGELOG.md | 4 ++++ package.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8130cd8..631d263 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 1.5.0 (2018-??-??) +* PlatformIO Core Installer: + * Drop SockJS, switch to native WebSockets + * Catch errors when upgrading PIP (issue [#436](https://github.com/platformio/platformio-vscode-ide/issues/436)) + * Check for official Python installation on Windows (resolves issue with a static "sys.prefix" and custom Python builds) (issue [#154](https://github.com/platformio/platformio-vscode-ide/issues/154)) * Switched to a stable PlatformIO Core. Do you need development version? Please update VSCode settings to ['platformio-ide.useDevelopmentPIOCore': true](https://docs.platformio.org/en/latest/ide/vscode.html#settings) * Updated minimal dependency of PlatformIO Core to >=3.6.2 diff --git a/package.json b/package.json index 3837b9a..5a6faaf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "platformio-ide", - "version": "1.4.7", + "version": "1.5.0-beta.1", "publisher": "platformio", "engines": { "vscode": "^1.24.0" @@ -591,7 +591,7 @@ }, "dependencies": { "fs-plus": "^3.0.2", - "platformio-node-helpers": "^3.5.3", + "platformio-node-helpers": "^4.0.0", "platformio-vscode-debug": "^1.2.6" }, "extensionDependencies": [ From 1a9badc6f8deed288ed9d191bcc2aeb745901b35 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Nov 2018 22:12:22 +0200 Subject: [PATCH 5/7] Minor fix --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 631d263..f6edcea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ * Drop SockJS, switch to native WebSockets * Catch errors when upgrading PIP (issue [#436](https://github.com/platformio/platformio-vscode-ide/issues/436)) * Check for official Python installation on Windows (resolves issue with a static "sys.prefix" and custom Python builds) (issue [#154](https://github.com/platformio/platformio-vscode-ide/issues/154)) -* Switched to a stable PlatformIO Core. Do you need development version? Please update VSCode settings to ['platformio-ide.useDevelopmentPIOCore': true](https://docs.platformio.org/en/latest/ide/vscode.html#settings) +* Switched to a stable PlatformIO Core. Do you need development version? Please update VSCode settings to ["platformio-ide.useDevelopmentPIOCore": true](https://docs.platformio.org/en/latest/ide/vscode.html#settings) * Updated minimal dependency of PlatformIO Core to >=3.6.2 ## 1.4.7 (2018-11-28) From 68739662a315d44ac96d4fac80bca3428b5be5e6 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Nov 2018 22:23:13 +0200 Subject: [PATCH 6/7] Hint about "Please restart VSCode." after PIO Core installation --- src/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 19ec8cf..ee0cc6f 100644 --- a/src/main.js +++ b/src/main.js @@ -156,7 +156,8 @@ class PlatformIOVSCodeExtension { try { im.lock(); await im.install(); - outputChannel.appendLine('PlatformIO IDE installed successfully.'); + outputChannel.appendLine('PlatformIO IDE installed successfully.\n'); + outputChannel.appendLine('Please restart VSCode.'); const action = 'Reload Now'; const selected = await vscode.window.showInformationMessage( 'PlatformIO IDE has been successfully installed! Please reload window', From 86ba8e54eb8e5a24da187647db73aa4ac5789a89 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Nov 2018 22:26:36 +0200 Subject: [PATCH 7/7] Bump version to 1.5.0 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6edcea..0ac2616 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Release Notes -## 1.5.0 (2018-??-??) +## 1.5.0 (2018-11-29) * PlatformIO Core Installer: * Drop SockJS, switch to native WebSockets diff --git a/package.json b/package.json index 5a6faaf..3541e01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "platformio-ide", - "version": "1.5.0-beta.1", + "version": "1.5.0", "publisher": "platformio", "engines": { "vscode": "^1.24.0"