File tree Expand file tree Collapse file tree 5 files changed +17
-13
lines changed
Expand file tree Collapse file tree 5 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 11# Release Notes
22
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+
38## 2.5.4 (2022-09-03)
49
510- Keep using legacy API for calling VSCode tasks
Original file line number Diff line number Diff line change 11{
22 "name" : " platformio-ide" ,
3- "version" : " 2.5.4 " ,
3+ "version" : " 2.5.5 " ,
44 "publisher" : " platformio" ,
55 "engines" : {
66 "vscode" : " ^1.63.0"
627627 },
628628 "dependencies" : {
629629 "fs-plus" : " ~3.1.1" ,
630- "platformio-node-helpers" : " ~9.6.0 " ,
630+ "platformio-node-helpers" : " ~9.6.1 " ,
631631 "platformio-vscode-debug" : " ~1.4.1"
632632 },
633633 "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 " ,
636636 "@babel/plugin-proposal-class-properties" : " ~7.18.6" ,
637- "@babel/preset-env" : " ~7.18.10 " ,
637+ "@babel/preset-env" : " ~7.19.4 " ,
638638 "@types/node" : " ~14" ,
639639 "@types/vscode" : " ~1.63.0" ,
640640 "babel-loader" : " ~8.2.5" ,
641- "eslint" : " ~8.23 .0" ,
641+ "eslint" : " ~8.26 .0" ,
642642 "eslint-import-resolver-webpack" : " ~0.13.2" ,
643643 "eslint-plugin-import" : " ~2.26.0" ,
644644 "prettier" : " ~2.7.1" ,
645- "vsce" : " ~2.11 .0" ,
645+ "vsce" : " ~2.13 .0" ,
646646 "webpack" : " ~5.74.0" ,
647647 "webpack-cli" : " ~4.10.0"
648648 },
Original file line number Diff line number Diff line change @@ -132,13 +132,12 @@ class PlatformIOVSCodeExtension {
132132 if ( http_proxy && ! process . env . HTTP_PROXY && ! process . env . http_proxy ) {
133133 extraVars [ 'HTTP_PROXY' ] = http_proxy ;
134134 }
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- }
139135 if ( http_proxy && ! process . env . HTTPS_PROXY && ! process . env . https_proxy ) {
140136 extraVars [ 'HTTPS_PROXY' ] = http_proxy ;
141137 }
138+ if ( ! vscode . workspace . getConfiguration ( 'http' ) . get ( 'proxyStrictSSL' ) ) {
139+ extraVars [ 'PLATFORMIO_SETTING_ENABLE_PROXY_STRICT_SSL' ] = 'false' ;
140+ }
142141 if ( this . getSetting ( 'customPyPiIndexUrl' ) ) {
143142 extraVars [ 'PIP_INDEX_URL' ] = this . getSetting ( 'customPyPiIndexUrl' ) ;
144143 }
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export default class ProjectTaskManager {
109109 }
110110
111111 toVSCodeTask ( projectTask ) {
112- const envClone = Object . create ( process . env ) ;
112+ const envClone = Object . assign ( { } , process . env ) ;
113113 if ( process . env . PLATFORMIO_PATH ) {
114114 envClone . PATH = process . env . PLATFORMIO_PATH ;
115115 envClone . Path = process . env . PLATFORMIO_PATH ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default class PIOTerminal {
1414 }
1515
1616 new ( ) {
17- const envClone = Object . create ( process . env ) ;
17+ const envClone = Object . assign ( { } , process . env ) ;
1818 if ( process . env . PLATFORMIO_PATH ) {
1919 envClone . PATH = process . env . PLATFORMIO_PATH ;
2020 envClone . Path = process . env . PLATFORMIO_PATH ;
You can’t perform that action at this time.
0 commit comments