File tree 5 files changed +17
-13
lines changed
5 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 1
1
# Release Notes
2
2
3
+ ## 2.5.5 (2022-10-31)
4
+
5
+ - Inherit VSCode Proxy configuration for PlatformIO Core (requires PlatformIO Core 6.1.5+)
6
+ - Fixed an issue with passing VSCode environment variables to the terminal processes (issue [ #3287 ] ( https://github.com/platformio/platformio-vscode-ide/issues/3287 ) )
7
+
3
8
## 2.5.4 (2022-09-03)
4
9
5
10
- Keep using legacy API for calling VSCode tasks
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " platformio-ide" ,
3
- "version" : " 2.5.4 " ,
3
+ "version" : " 2.5.5 " ,
4
4
"publisher" : " platformio" ,
5
5
"engines" : {
6
6
"vscode" : " ^1.63.0"
627
627
},
628
628
"dependencies" : {
629
629
"fs-plus" : " ~3.1.1" ,
630
- "platformio-node-helpers" : " ~9.6.0 " ,
630
+ "platformio-node-helpers" : " ~9.6.1 " ,
631
631
"platformio-vscode-debug" : " ~1.4.1"
632
632
},
633
633
"devDependencies" : {
634
- "@babel/core" : " ~7.18.13 " ,
635
- "@babel/eslint-parser" : " ~7.18.9 " ,
634
+ "@babel/core" : " ~7.19.6 " ,
635
+ "@babel/eslint-parser" : " ~7.19.1 " ,
636
636
"@babel/plugin-proposal-class-properties" : " ~7.18.6" ,
637
- "@babel/preset-env" : " ~7.18.10 " ,
637
+ "@babel/preset-env" : " ~7.19.4 " ,
638
638
"@types/node" : " ~14" ,
639
639
"@types/vscode" : " ~1.63.0" ,
640
640
"babel-loader" : " ~8.2.5" ,
641
- "eslint" : " ~8.23 .0" ,
641
+ "eslint" : " ~8.26 .0" ,
642
642
"eslint-import-resolver-webpack" : " ~0.13.2" ,
643
643
"eslint-plugin-import" : " ~2.26.0" ,
644
644
"prettier" : " ~2.7.1" ,
645
- "vsce" : " ~2.11 .0" ,
645
+ "vsce" : " ~2.13 .0" ,
646
646
"webpack" : " ~5.74.0" ,
647
647
"webpack-cli" : " ~4.10.0"
648
648
},
Original file line number Diff line number Diff line change @@ -132,13 +132,12 @@ class PlatformIOVSCodeExtension {
132
132
if ( http_proxy && ! process . env . HTTP_PROXY && ! process . env . http_proxy ) {
133
133
extraVars [ 'HTTP_PROXY' ] = http_proxy ;
134
134
}
135
- if ( ! vscode . workspace . getConfiguration ( 'http' ) . get ( 'proxyStrictSSL' ) ) {
136
- // https://stackoverflow.com/questions/48391750/disable-python-requests-ssl-validation-for-an-imported-module
137
- extraVars [ 'CURL_CA_BUNDLE' ] = '' ;
138
- }
139
135
if ( http_proxy && ! process . env . HTTPS_PROXY && ! process . env . https_proxy ) {
140
136
extraVars [ 'HTTPS_PROXY' ] = http_proxy ;
141
137
}
138
+ if ( ! vscode . workspace . getConfiguration ( 'http' ) . get ( 'proxyStrictSSL' ) ) {
139
+ extraVars [ 'PLATFORMIO_SETTING_ENABLE_PROXY_STRICT_SSL' ] = 'false' ;
140
+ }
142
141
if ( this . getSetting ( 'customPyPiIndexUrl' ) ) {
143
142
extraVars [ 'PIP_INDEX_URL' ] = this . getSetting ( 'customPyPiIndexUrl' ) ;
144
143
}
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export default class ProjectTaskManager {
109
109
}
110
110
111
111
toVSCodeTask ( projectTask ) {
112
- const envClone = Object . create ( process . env ) ;
112
+ const envClone = Object . assign ( { } , process . env ) ;
113
113
if ( process . env . PLATFORMIO_PATH ) {
114
114
envClone . PATH = process . env . PLATFORMIO_PATH ;
115
115
envClone . Path = process . env . PLATFORMIO_PATH ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default class PIOTerminal {
14
14
}
15
15
16
16
new ( ) {
17
- const envClone = Object . create ( process . env ) ;
17
+ const envClone = Object . assign ( { } , process . env ) ;
18
18
if ( process . env . PLATFORMIO_PATH ) {
19
19
envClone . PATH = process . env . PLATFORMIO_PATH ;
20
20
envClone . Path = process . env . PLATFORMIO_PATH ;
You can’t perform that action at this time.
0 commit comments