Skip to content

Commit

Permalink
Merge branch 'release/v2.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Jun 23, 2022
2 parents 4f3ce1b + f800cfd commit 071f1dd
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 54 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Release Notes

## 2.5.0 (2022-06-23)

**Requires PlatformIO Core 6.0 or above**

- Added a new "Dependencies" group to the [Project Tasks](https://docs.platformio.org/en/latest/integration/ide/vscode.html#project-tasks)
* List project dependencies
* Check outdated project dependencies
* Update project dependencies
- Added "Verbose Test" to the [Project Tasks](https://docs.platformio.org/en/latest/integration/ide/vscode.html#project-tasks)
- Added the "Test" button to the [PlatformIO Toolbar](https://docs.platformio.org/en/latest/integration/ide/vscode.html#platformio-toolbar)
- Switched to the official PlatformIO Core 6.0 public API
- Updated installer script to [v1.1.2](https://github.com/platformio/platformio-core-installer/releases/tag/v1.1.2)
- Ensure that the PlatformIO Core installer script is not corrupted (issue [#3084](https://github.com/platformio/platformio-vscode-ide/issues/3084))
- Removed deprecated "updates" related command in favor of project dependency management (issue [#3219](https://github.com/platformio/platformio-vscode-ide/issues/3219))
- Fixed a bug with the handling of package registry mirrors

## 2.4.3 (2022-03-18)

- Fixed an issue when PlatformIO IDE installer asks to install Python interpreter on Windows OS (issue [#3076](https://github.com/platformio/platformio-vscode-ide/issues/3076))
Expand Down
41 changes: 13 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "platformio-ide",
"version": "2.4.3",
"version": "2.5.0",
"publisher": "platformio",
"engines": {
"vscode": "^1.57.0"
Expand Down Expand Up @@ -163,21 +163,6 @@
"title": "Start Debugging",
"category": "PlatformIO"
},
{
"command": "platformio-ide.updateGlobalLibs",
"title": "Update global libraries",
"category": "PlatformIO"
},
{
"command": "platformio-ide.updatePlatforms",
"title": "Update platforms & packages",
"category": "PlatformIO"
},
{
"command": "platformio-ide.updateCore",
"title": "Update All (platforms, packages, libraries)",
"category": "PlatformIO"
},
{
"command": "platformio-ide.upgradeCore",
"title": "Upgrade PlatformIO Core to the latest version",
Expand Down Expand Up @@ -638,24 +623,24 @@
},
"dependencies": {
"fs-plus": "~3.1.1",
"platformio-node-helpers": "~9.4.2",
"platformio-node-helpers": "~9.5.0",
"platformio-vscode-debug": "~1.4.1"
},
"devDependencies": {
"@babel/core": "~7.17.7",
"@babel/eslint-parser": "~7.17.0",
"@babel/plugin-proposal-class-properties": "~7.16.7",
"@babel/preset-env": "~7.16.11",
"@babel/core": "~7.18.5",
"@babel/eslint-parser": "~7.18.2",
"@babel/plugin-proposal-class-properties": "~7.17.12",
"@babel/preset-env": "~7.18.2",
"@types/node": "~12",
"@types/vscode": "~1.57.0",
"babel-loader": "~8.2.3",
"eslint": "~8.11.0",
"babel-loader": "~8.2.5",
"eslint": "~8.18.0",
"eslint-import-resolver-webpack": "~0.13.2",
"eslint-plugin-import": "~2.25.4",
"prettier": "~2.6.0",
"vsce": "~2.7.0",
"webpack": "~5.70.0",
"webpack-cli": "~4.9.2"
"eslint-plugin-import": "~2.26.0",
"prettier": "~2.7.1",
"vsce": "~2.9.2",
"webpack": "~5.73.0",
"webpack-cli": "~4.10.0"
},
"extensionDependencies": [
"ms-vscode.cpptools"
Expand Down
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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_VERSION_SPEC = '>=5.1';
export const PIO_CORE_VERSION_SPEC = '>=6';
export const STATUS_BAR_PRIORITY_START = 10;
export const CONFLICTED_EXTENSION_IDS = [
'llvm-vs-code-extensions.vscode-clangd',
Expand Down
2 changes: 1 addition & 1 deletion src/installer/python-prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class PythonPrompt {
vscode.commands.executeCommand(
'vscode.open',
vscode.Uri.parse(
'http://docs.platformio.org/page/faq.html#install-python-interpreter'
'https://docs.platformio.org/en/latest/faq/install-python.html'
)
);
break;
Expand Down
10 changes: 1 addition & 9 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,6 @@ class PlatformIOVSCodeExtension {
vscode.commands.executeCommand('workbench.debug.action.toggleRepl');
vscode.commands.executeCommand('workbench.action.debug.start');
}),
vscode.commands.registerCommand('platformio-ide.updateGlobalLibs', () =>
this.pioTerm.sendText('pio lib --global update')
),
vscode.commands.registerCommand('platformio-ide.updatePlatforms', () =>
this.pioTerm.sendText('pio platform update')
),
vscode.commands.registerCommand('platformio-ide.updateCore', () =>
this.pioTerm.sendText('pio update')
),
vscode.commands.registerCommand('platformio-ide.upgradeCore', () =>
this.pioTerm.sendText('pio upgrade')
)
Expand All @@ -283,6 +274,7 @@ class PlatformIOVSCodeExtension {
['$(check)', 'PlatformIO: Build', 'platformio-ide.build'],
['$(arrow-right)', 'PlatformIO: Upload', 'platformio-ide.upload'],
['$(trashcan)', 'PlatformIO: Clean', 'platformio-ide.clean'],
['$(beaker)', 'PlatformIO: Test', 'platformio-ide.test'],
['$(plug)', 'PlatformIO: Serial Monitor', 'platformio-ide.serialMonitor'],
['$(terminal)', 'PlatformIO: New Terminal', 'platformio-ide.newTerminal'],
]
Expand Down
15 changes: 0 additions & 15 deletions src/views/quick-access-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,6 @@ export default class QuickAccessTreeProvider {
new QuickItem('Toggle Debug Console', 'workbench.debug.action.toggleRepl'),
]
),
new QuickItem(
'Updates',
undefined,
undefined,
vscode.TreeItemCollapsibleState.Expanded,
[
new QuickItem('Library Updates', 'platformio-ide.showHome', [
'/libraries/updates',
]),
new QuickItem('Platform Updates', 'platformio-ide.showHome', [
'/platforms/updates',
]),
new QuickItem('Update All', 'platformio-ide.updateCore'),
]
),
new QuickItem(
'Miscellaneous',
undefined,
Expand Down

0 comments on commit 071f1dd

Please sign in to comment.