From 68aa3a56c706c83c4063f3b394600c135f3e1223 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 26 Jul 2018 22:24:00 +0300 Subject: [PATCH 1/2] Improved PlatformIO Core installer --- CHANGELOG.md | 4 ++++ package.json | 5 ++--- src/utils.js | 9 +++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e847fe..4533b94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Release Notes +## 0.17.4 (2018-07-??) + +* Improved PlatformIO Core installer + ## 0.17.3 (2018-07-19) * Fixed "PIP: Command "python setup.py egg_info" failed" (issue [#179](https://github.com/platformio/platformio-vscode-ide/issues/179)) diff --git a/package.json b/package.json index cc79cc4..636e5b0 100644 --- a/package.json +++ b/package.json @@ -544,9 +544,8 @@ "dependencies": { "fs-plus": "^3.0.0", "ini": "^1.3.4", - "platformio-node-helpers": "^2.0.4", - "platformio-vscode-debug": "^1.1.2", - "querystringify": "*" + "platformio-node-helpers": "^2.1.1", + "platformio-vscode-debug": "^1.1.2" }, "extensionDependencies": [ "ms-vscode.cpptools" diff --git a/src/utils.js b/src/utils.js index f07d5af..84598ce 100644 --- a/src/utils.js +++ b/src/utils.js @@ -6,10 +6,11 @@ * the root directory of this source tree. */ +import * as pioNodeHelpers from 'platformio-node-helpers'; + import fs from 'fs-plus'; import os from 'os'; import path from 'path'; -import qs from 'querystringify'; import vscode from 'vscode'; @@ -35,11 +36,7 @@ System: ${os.type()}, ${os.release()}, ${os.arch()} ${description} \`\`\` `; - vscode.commands.executeCommand( - 'vscode.open', - vscode.Uri.parse(`https://github.com/platformio/platformio-vscode-ide/issues/new?${qs.stringify( - { title: encodeURIComponent(title), body: encodeURIComponent(ghbody) })}`) - ); + vscode.commands.executeCommand('vscode.open', vscode.Uri.parse(pioNodeHelpers.misc.getErrorReportUrl(title, ghbody))); } console.error(err); } From 63c4bc1f43e2cd813462be5836e4d3e6a86bcd0f Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 26 Jul 2018 22:24:39 +0300 Subject: [PATCH 2/2] Bump version to 0.17.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 636e5b0..15d0457 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "platformio-ide", - "version": "0.17.3", + "version": "0.17.4", "publisher": "platformio", "engines": { "vscode": "^1.24.0"