Skip to content

Commit 071f1dd

Browse files
committed
Merge branch 'release/v2.5.0'
2 parents 4f3ce1b + f800cfd commit 071f1dd

File tree

6 files changed

+32
-54
lines changed

6 files changed

+32
-54
lines changed

CHANGELOG.md

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

3+
## 2.5.0 (2022-06-23)
4+
5+
**Requires PlatformIO Core 6.0 or above**
6+
7+
- Added a new "Dependencies" group to the [Project Tasks](https://docs.platformio.org/en/latest/integration/ide/vscode.html#project-tasks)
8+
* List project dependencies
9+
* Check outdated project dependencies
10+
* Update project dependencies
11+
- Added "Verbose Test" to the [Project Tasks](https://docs.platformio.org/en/latest/integration/ide/vscode.html#project-tasks)
12+
- Added the "Test" button to the [PlatformIO Toolbar](https://docs.platformio.org/en/latest/integration/ide/vscode.html#platformio-toolbar)
13+
- Switched to the official PlatformIO Core 6.0 public API
14+
- Updated installer script to [v1.1.2](https://github.com/platformio/platformio-core-installer/releases/tag/v1.1.2)
15+
- Ensure that the PlatformIO Core installer script is not corrupted (issue [#3084](https://github.com/platformio/platformio-vscode-ide/issues/3084))
16+
- Removed deprecated "updates" related command in favor of project dependency management (issue [#3219](https://github.com/platformio/platformio-vscode-ide/issues/3219))
17+
- Fixed a bug with the handling of package registry mirrors
18+
319
## 2.4.3 (2022-03-18)
420

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

package.json

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "platformio-ide",
3-
"version": "2.4.3",
3+
"version": "2.5.0",
44
"publisher": "platformio",
55
"engines": {
66
"vscode": "^1.57.0"
@@ -163,21 +163,6 @@
163163
"title": "Start Debugging",
164164
"category": "PlatformIO"
165165
},
166-
{
167-
"command": "platformio-ide.updateGlobalLibs",
168-
"title": "Update global libraries",
169-
"category": "PlatformIO"
170-
},
171-
{
172-
"command": "platformio-ide.updatePlatforms",
173-
"title": "Update platforms & packages",
174-
"category": "PlatformIO"
175-
},
176-
{
177-
"command": "platformio-ide.updateCore",
178-
"title": "Update All (platforms, packages, libraries)",
179-
"category": "PlatformIO"
180-
},
181166
{
182167
"command": "platformio-ide.upgradeCore",
183168
"title": "Upgrade PlatformIO Core to the latest version",
@@ -638,24 +623,24 @@
638623
},
639624
"dependencies": {
640625
"fs-plus": "~3.1.1",
641-
"platformio-node-helpers": "~9.4.2",
626+
"platformio-node-helpers": "~9.5.0",
642627
"platformio-vscode-debug": "~1.4.1"
643628
},
644629
"devDependencies": {
645-
"@babel/core": "~7.17.7",
646-
"@babel/eslint-parser": "~7.17.0",
647-
"@babel/plugin-proposal-class-properties": "~7.16.7",
648-
"@babel/preset-env": "~7.16.11",
630+
"@babel/core": "~7.18.5",
631+
"@babel/eslint-parser": "~7.18.2",
632+
"@babel/plugin-proposal-class-properties": "~7.17.12",
633+
"@babel/preset-env": "~7.18.2",
649634
"@types/node": "~12",
650635
"@types/vscode": "~1.57.0",
651-
"babel-loader": "~8.2.3",
652-
"eslint": "~8.11.0",
636+
"babel-loader": "~8.2.5",
637+
"eslint": "~8.18.0",
653638
"eslint-import-resolver-webpack": "~0.13.2",
654-
"eslint-plugin-import": "~2.25.4",
655-
"prettier": "~2.6.0",
656-
"vsce": "~2.7.0",
657-
"webpack": "~5.70.0",
658-
"webpack-cli": "~4.9.2"
639+
"eslint-plugin-import": "~2.26.0",
640+
"prettier": "~2.7.1",
641+
"vsce": "~2.9.2",
642+
"webpack": "~5.73.0",
643+
"webpack-cli": "~4.10.0"
659644
},
660645
"extensionDependencies": [
661646
"ms-vscode.cpptools"

src/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
export const IS_WINDOWS = process.platform.startsWith('win');
1010
export const IS_OSX = process.platform == 'darwin';
1111
export const IS_LINUX = !IS_WINDOWS && !IS_OSX;
12-
export const PIO_CORE_VERSION_SPEC = '>=5.1';
12+
export const PIO_CORE_VERSION_SPEC = '>=6';
1313
export const STATUS_BAR_PRIORITY_START = 10;
1414
export const CONFLICTED_EXTENSION_IDS = [
1515
'llvm-vs-code-extensions.vscode-clangd',

src/installer/python-prompt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default class PythonPrompt {
3030
vscode.commands.executeCommand(
3131
'vscode.open',
3232
vscode.Uri.parse(
33-
'http://docs.platformio.org/page/faq.html#install-python-interpreter'
33+
'https://docs.platformio.org/en/latest/faq/install-python.html'
3434
)
3535
);
3636
break;

src/main.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -255,15 +255,6 @@ class PlatformIOVSCodeExtension {
255255
vscode.commands.executeCommand('workbench.debug.action.toggleRepl');
256256
vscode.commands.executeCommand('workbench.action.debug.start');
257257
}),
258-
vscode.commands.registerCommand('platformio-ide.updateGlobalLibs', () =>
259-
this.pioTerm.sendText('pio lib --global update')
260-
),
261-
vscode.commands.registerCommand('platformio-ide.updatePlatforms', () =>
262-
this.pioTerm.sendText('pio platform update')
263-
),
264-
vscode.commands.registerCommand('platformio-ide.updateCore', () =>
265-
this.pioTerm.sendText('pio update')
266-
),
267258
vscode.commands.registerCommand('platformio-ide.upgradeCore', () =>
268259
this.pioTerm.sendText('pio upgrade')
269260
)
@@ -283,6 +274,7 @@ class PlatformIOVSCodeExtension {
283274
['$(check)', 'PlatformIO: Build', 'platformio-ide.build'],
284275
['$(arrow-right)', 'PlatformIO: Upload', 'platformio-ide.upload'],
285276
['$(trashcan)', 'PlatformIO: Clean', 'platformio-ide.clean'],
277+
['$(beaker)', 'PlatformIO: Test', 'platformio-ide.test'],
286278
['$(plug)', 'PlatformIO: Serial Monitor', 'platformio-ide.serialMonitor'],
287279
['$(terminal)', 'PlatformIO: New Terminal', 'platformio-ide.newTerminal'],
288280
]

src/views/quick-access-tree.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,6 @@ export default class QuickAccessTreeProvider {
5656
new QuickItem('Toggle Debug Console', 'workbench.debug.action.toggleRepl'),
5757
]
5858
),
59-
new QuickItem(
60-
'Updates',
61-
undefined,
62-
undefined,
63-
vscode.TreeItemCollapsibleState.Expanded,
64-
[
65-
new QuickItem('Library Updates', 'platformio-ide.showHome', [
66-
'/libraries/updates',
67-
]),
68-
new QuickItem('Platform Updates', 'platformio-ide.showHome', [
69-
'/platforms/updates',
70-
]),
71-
new QuickItem('Update All', 'platformio-ide.updateCore'),
72-
]
73-
),
7459
new QuickItem(
7560
'Miscellaneous',
7661
undefined,

0 commit comments

Comments
 (0)