diff --git a/CHANGELOG.md b/CHANGELOG.md index e2c6b00..cc2faab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Release Notes +## 2.3.2 (2021-04-13) + +- Added a new setting ``platformio-ide.pioHomeServerHttpHost`` to set a custom host for PlatformIO Home (useful for dockerized environments) (issue [#2465](https://github.com/platformio/platformio-vscode-ide/issues/2465)) +- Updated PlatformIO Core installer to v1.0.2 ([changes](https://github.com/platformio/platformio-core-installer/releases/tag/v1.0.2)): + * Do not raise an exception when checking PlatformIO Core for updates and the Internet is off-line (issue [#2398](https://github.com/platformio/platformio-vscode-ide/issues/2398)) + ## 2.3.1 (2021-03-23) - Added a new setting ``platformio-ide.autoOpenPlatformIOIniFile`` to control an automatic opening of the `platformio.ini` file from a project when no other editors are opened (issue [#2419](https://github.com/platformio/platformio-vscode-ide/issues/2419)) diff --git a/package.json b/package.json index fde984f..54ea84b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "platformio-ide", - "version": "2.3.1", + "version": "2.3.2", "publisher": "platformio", "engines": { "vscode": "^1.44.0" @@ -594,6 +594,11 @@ "default": false, "description": "Disable showing PIO Home at startup" }, + "platformio-ide.pioHomeServerHttpHost": { + "type": "string", + "default": "127.0.0.1", + "description": "PIO Home server HTTP host (default is 127.0.0.1, but in case of dockerized environments 0.0.0.0)" + }, "platformio-ide.pioHomeServerHttpPort": { "type": "integer", "description": "PIO Home server HTTP port (the default value 0 automatically assigns a free port in the range [8010..8100])" @@ -616,24 +621,24 @@ "vscode:package": "webpack --mode production && vsce package" }, "devDependencies": { - "@babel/core": "~7.13.10", + "@babel/core": "~7.13.15", "@types/node": "~12", "@types/vscode": "~1.44.0", "babel-eslint": "~10.1.0", "babel-loader": "~8.2.2", "babel-plugin-transform-class-properties": "~6.24.1", "babel-preset-env": "~1.7.0", - "eslint": "~7.22.0", + "eslint": "~7.24.0", "eslint-import-resolver-webpack": "~0.13.0", "eslint-plugin-import": "~2.22.1", "prettier": "~2.2.1", - "vsce": "~1.87.0", - "webpack": "~5.27.2", - "webpack-cli": "~4.5.0" + "vsce": "~1.87.1", + "webpack": "~5.32.0", + "webpack-cli": "~4.6.0" }, "dependencies": { "fs-plus": "~3.1.1", - "platformio-node-helpers": "~9.1.2", + "platformio-node-helpers": "~9.2.2", "platformio-vscode-debug": "~1.3.1" }, "extensionDependencies": [ diff --git a/src/home.js b/src/home.js index 02f68ce..06a46d7 100644 --- a/src/home.js +++ b/src/home.js @@ -95,6 +95,7 @@ export default class PIOHome { this._lastStartUrl = startUrl; await pioNodeHelpers.home.ensureServerStarted({ port: extension.getSetting('pioHomeServerHttpPort'), + host: extension.getSetting('pioHomeServerHttpHost'), onIDECommand: async (command, params) => { if (command === 'open_project') { if (extension.projectObservable) {