Skip to content

Commit

Permalink
Merge branch 'release/v2.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Apr 13, 2021
2 parents f8ec78f + e05eede commit 90b1176
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
19 changes: 12 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "platformio-ide",
"version": "2.3.1",
"version": "2.3.2",
"publisher": "platformio",
"engines": {
"vscode": "^1.44.0"
Expand Down Expand Up @@ -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])"
Expand All @@ -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": [
Expand Down
1 change: 1 addition & 0 deletions src/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 90b1176

Please sign in to comment.