Skip to content

Commit 90b1176

Browse files
committed
Merge branch 'release/v2.3.2'
2 parents f8ec78f + e05eede commit 90b1176

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release Notes
22

3+
## 2.3.2 (2021-04-13)
4+
5+
- 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))
6+
- Updated PlatformIO Core installer to v1.0.2 ([changes](https://github.com/platformio/platformio-core-installer/releases/tag/v1.0.2)):
7+
* 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))
8+
39
## 2.3.1 (2021-03-23)
410

511
- 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))

package.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "platformio-ide",
3-
"version": "2.3.1",
3+
"version": "2.3.2",
44
"publisher": "platformio",
55
"engines": {
66
"vscode": "^1.44.0"
@@ -594,6 +594,11 @@
594594
"default": false,
595595
"description": "Disable showing PIO Home at startup"
596596
},
597+
"platformio-ide.pioHomeServerHttpHost": {
598+
"type": "string",
599+
"default": "127.0.0.1",
600+
"description": "PIO Home server HTTP host (default is 127.0.0.1, but in case of dockerized environments 0.0.0.0)"
601+
},
597602
"platformio-ide.pioHomeServerHttpPort": {
598603
"type": "integer",
599604
"description": "PIO Home server HTTP port (the default value 0 automatically assigns a free port in the range [8010..8100])"
@@ -616,24 +621,24 @@
616621
"vscode:package": "webpack --mode production && vsce package"
617622
},
618623
"devDependencies": {
619-
"@babel/core": "~7.13.10",
624+
"@babel/core": "~7.13.15",
620625
"@types/node": "~12",
621626
"@types/vscode": "~1.44.0",
622627
"babel-eslint": "~10.1.0",
623628
"babel-loader": "~8.2.2",
624629
"babel-plugin-transform-class-properties": "~6.24.1",
625630
"babel-preset-env": "~1.7.0",
626-
"eslint": "~7.22.0",
631+
"eslint": "~7.24.0",
627632
"eslint-import-resolver-webpack": "~0.13.0",
628633
"eslint-plugin-import": "~2.22.1",
629634
"prettier": "~2.2.1",
630-
"vsce": "~1.87.0",
631-
"webpack": "~5.27.2",
632-
"webpack-cli": "~4.5.0"
635+
"vsce": "~1.87.1",
636+
"webpack": "~5.32.0",
637+
"webpack-cli": "~4.6.0"
633638
},
634639
"dependencies": {
635640
"fs-plus": "~3.1.1",
636-
"platformio-node-helpers": "~9.1.2",
641+
"platformio-node-helpers": "~9.2.2",
637642
"platformio-vscode-debug": "~1.3.1"
638643
},
639644
"extensionDependencies": [

src/home.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export default class PIOHome {
9595
this._lastStartUrl = startUrl;
9696
await pioNodeHelpers.home.ensureServerStarted({
9797
port: extension.getSetting('pioHomeServerHttpPort'),
98+
host: extension.getSetting('pioHomeServerHttpHost'),
9899
onIDECommand: async (command, params) => {
99100
if (command === 'open_project') {
100101
if (extension.projectObservable) {

0 commit comments

Comments
 (0)