Releases: PowerShell/vscode-powershell
v2020.3.0
v2020.3.0
Thursday, March 5, 2020
Release of preview work to stable branch
This release, coinciding with the GA release of PowerShell 7,
brings a year of work on the PowerShell extension into the stable release.
The timing of this release is deliberate, since some of the new features
depend on additions and bugfixes in PowerShell 7,
while others have a much better experience in PowerShell 7
thanks to many improvements shipping with it.
Some changes that come to the stable channel in this release include:
- Integration of PSReadLine into the Integrated Console,
enabling syntax highlighting, a better (and more configurable) completion experience,
multiline editing and searchable history in the PowerShell Integrated Console - Performance and reliability improvements gained
by replacing
a hand-rolled Language Server Protocol stack
with the LSP server library from the Omnisharp project - An ISE compatibility mode
setting to toggle a more ISE-like user experience - Debugging improvements in PowerShell 7,
using its new debugging APIs - End of support for PowerShell v3/v4 and .NET 4.5.2
After this release, the stable/preview channels will now function as originally intended,
where the preview channel will be the beta release
for features to come out in the following stable release.
You may also notice that the history of the changelog has changed.
For a full list of changes between this release and the previous stable release,
see here.
You can find the changelog from the old stable fork
here.
vscode-PowerShell
- ✨📺 vscode-PowerShell #2503 -
Pick up the PowerShell dotnet global tool as a PowerShell runtime. - 🐛🛫 vscode-PowerShell #2491 -
Fix a startup issue where console becomes unresponsive due to the client waiting for the terminal PID from VSCode. - 🐛👮 vscode-PowerShell #2190 -
Look forPSScriptAnalyzerSettings.psd1
in the workspace root by default for script analysis,
defaulting back to the default rules when not found. - 🧰 vscode-PowerShell #2477 -
Stop using thecaption
field onpowerShell/showChoicePrompt
messages,
and instead display only themessage
field.
PowerShellEditorServices
- 🐛📟 PowerShellEditorServices #1201 -
Fix newlines in error formatting. - 🐛👮 vscode-PowerShell #2489 -
Fix PSScriptAnalyzer not using default rules when no settings file present. - 🐛📟 vscode-PowerShell #2291 -
FixRead-Host
dropping characters. - 🐛📺 vscode-PowerShell #2424 -
FixF8
not working repeatedly in an Interactive Debugging session. - 🐛🛫 vscode-PowerShell #2404 -
Fix execution policy being set incorrectly at startup on Windows. - 🐛🧠 vscode-PowerShell #2364 -
Fix intellisense andF5
not working after debugging. - 🐛🧰 vscode-PowerShell #2495 -
Fix PowerShellEditorServices.Commands module commands not working due to types being moved. - 🐛👮 vscode-PowerShell #2516 -
Fix CommentHelp for when a function has other problems with it.
v2020.2.0-preview
v2020.2.0
Thursday, February 20, 2020
vscode-PowerShell
- 🐛📖 vscode-PowerShell #2470 -
Fix incorrect reference toNew-ManifestModule
in documentation. (Thanks @rbleattler!) - 🐛📺 vscode-PowerShell #2469 -
Close other open pwsh instances when updating PowerShell. - 🐛📟 vscode-PowerShell #2434 -
Use a new VSCode API to hide the integrated terminal from the shell list
until debugging whenshowOnStartup
is disabled. - ✨🐢 vscode-PowerShell #2445 -
AddRun/Debug Pester tests
context menu options in the VSCode explorer
for Pester test files. (Thanks @bergmeister!) - 🐛🐢 vscode-PowerShell #2438 -
Fixes test failures in Pester contexts not showing up in the Problems pane. (Thanks @tillig!) - 🐛🔍 vscode-PowerShell #2548 -
Show error message instead of hanging when temp debugging is used with an untitled file. - 👷 vscode-PowerShell #2465 -
Move macOS CI images to 10.14 (Thanks @bergmeister!)
PowerShellEditorServices
- 🐛📁 vscode-PowerShell #2421 -
Fix WorkspacePath so that references work with non-ASCII characters. - 🐛📟 vscode-PowerShell #2372 -
Fix prompt behavior when debugging. - 🐛🛫 PowerShellEditorServices #1171 -
Fix race condition where running multiple profiles caused errors. - 🐛📟 vscode-PowerShell #2420 -
Fix an issue where pasting to aGet-Credential
prompt in some Windows versions caused a crash. - 🐛📟 vscode-PowerShell #1790 -
Fix an inconsistency whereRead-Host -Prompt 'prompt'
would return$null
rather than empty string
when given no input. - 🐛🔗 PowerShellEditorServices #1177 -
Fix an issue where untitled files did not work with CodeLens. - ⚡️⏱️ PowerShellEditorServices #1172 -
Improveasync
/await
andTask
usage to reduce concurrency overhead and improve performance. - 🐛📟 PowerShellEditorServices #1178 -
Improve PSReadLine experience where no new line is rendered in the console. - ✨🔍 PowerShellEditorServices #1119 -
Enable new debugging APIs added in PowerShell 7, improving performance and fixing issues where
the debugger would hang or be unable to update breakpoints while scripts were running. - 👷📟 PowerShellEditorServices #1187 -
Upgrade built-in PSReadLine to 2.0.0 GA. - 🐛👮 PowerShellEditorServices #1179 -
Improve integration with PSScriptAnalyzer, improving performance,
fixing an error when PSScriptAnalyzer is not available, fix CodeActions not appearing on Windows,
fix an issue where the PSModulePath is reset by PSScriptAnalyzer opening new runspaces. - 🚂 PowerShellEditorServices #1183 -
Close over public APIs not intended for external use and replace with new, async-friendly APIs.
v2020.1.0
v2020.1.0
Wednesday, January 15, 2020
PowerShellEditorServices
- 🐛 👮 vscode-PowerShell #2375 -
Fix wiring ofWhitespaceInsideBrace
andWhitespaceAroundPipe
. (Thanks @bergmeister!)
v2020.1.0-preview
v2020.1.0
Monday, January 13, 2020
vscode-PowerShell
- 🛫 ✨ vscode-powershell #2384 -
Add -Login startup option. - 🛫 🐛 vscode-powershell #2380 -
Make PowerShell names case insensitive for configuration. - 🛫 📺 ✨ vscode-powershell #2370 -
Add configuration to enable/disable banner.
PowerShellEditorServices
- 📺 vscode-powershell #2405 -
Add tooltip to completions ParameterValue. - 🛫 🐛 vscode-powershell #2393 -
Probe netfx dir for deps. - 🚂 ⏱️ 🐛 vscode-powershell #2352 -
Fix lock up that occurs when WinForms is executed on the pipeline thread. - 💭 🐛 vscode-powershell #2402 -
Fix temp debugging after it broke bringing in $psEditor. - 🧠 🐛 vscode-powershell #2324 -
Fix unicode character uri bug. - 🛫 📺 ✨ vscode-powershell #2370 -
Make startup banner simpler. - vscode-powershell #2386 -
Fix uncaught exception when SafeToString returns null. (Thanks @jborean93!) - 🔗 🐛 vscode-powershell #2374 -
Simplify logic of determining Reference definition. - 🛫 🐛 vscode-powershell #2379 -
Use -Option AllScope to fix Windows PowerShell error.
v2019.12.0
v2019.12.0
Thursday, December 12, 2019
PowerShellEditorServices
- 🐛 👮 PowerShellEditorServices #1102
AddPSAvoidAssignmentToAutomaticVariable
to the default set of PSSA rules. (Thanks @bergmeister!) - 🐛 👮 vscode-PowerShell #2214 -
FixPipelineIndentationStyle
configuration issue. (Thanks @bergmeister!)
v2019.12.0-preview
v2019.12.0
Wednesday, December 11, 2019
vscode-PowerShell
- ✨ 📺 vscode-PowerShell #2335 -
Add editor commandPowerShell: Enable/Disable ISE Mode
for ISE emulation in VS Code. (Thanks @corbob!) - ⚡️ 🛫 vscode-PowerShell #2348 -
Start EditorServices without start script. - ✨ 📟 vscode-PowerShell #2316 -
Addpowershell.integratedConsole.forceClearScrollbackBuffer
setting to enableClear-Host
to clear scrollback buffer. - 🐛 📺 vscode-PowerShell #2325 -
Fix update PowerShell feature on windows. - 🔧 📁 🐛 vscode-powershell #2099 -
UsepowerShellDefaultVersion
everywhere and stop usingpowerShellExePath
. - 🐛 📺 vscode-PowerShell #2294 -
Buttons show up for untitled files.
PowerShellEditorServices
- 👷 📟 PowerShellEditorServices #1129 -
Update PSReadLine to 2.0.0-rc1 in modules.json. - 🛫 🐛 ⚡️ vscode-powershell #2292 -
Isolate PSES dependencies from PowerShell on load + make PSES a pure binary module. - ✨ 📟 PowerShellEditorServices #1108 -
Clear the terminal via the LSP messageeditor/clearTerminal
. - 🔍 🐛 vscode-powershell #2319 -
Run one invocation per SetBreakpoints request. (Thanks @SeeminglyScience!) - 🐛 PowerShellEditorServices #1114 -
FixImport-EditorCommand -Module
. (Thanks @sk82jack!) - 🐛 🔍 PowerShellEditorServices #1112 -
Fix breakpoint setting deadlock. - 🔗 🐛 vscode-powershell #2306 -
Fix references on Windows due to bad WorkspacePath. - ✨ 👷 PowerShellEditorServices #993 -
Add devcontainer support for building in container. (Thanks @bergmeister!) - 🛫 🐛 vscode-powershell #2311 -
Protect against no RootUri (no open workspace). - 🐛 📟 vscode-powershell #2274 -
Fix '@' appearing in console. - 👮 🐛 vscode-powershell #2288 -
Use RootUri.LocalPath for workspace path. - 🐛 👮 PowerShellEditorServices #1101 -
AddPSAvoidAssignmentToAutomaticVariable
to the default set of PSSA rules. (Thanks @bergmeister!) - 👮 🔗 🐛 vscode-powershell #2290 -
Fix diagnostics not showing in untitled files and now also show CodeLens. - 🔍 🐛 vscode-powershell #1850 -
Fixes no prompt showing up when debugging. - 🚂 📺 🐛 vscode-powershell #2284 -
Fix running indicator by ignoring PSRL aborts.
v2019.11.0
v2019.11.0
Friday, November 1, 2019
vscode-PowerShell
- 🐛 vscode-PowerShell #2252 -
Fix bug finding Windows PowerShell when PowerShell 6+ not installed. - 🔍 vscode-powershell #2144 -
Fix debugging restart capability by ensuring the session file is not deleted. - 📺 vscode-PowerShell #2224 -
Provide Run Selection button in Editor Title Menu. (Thanks @jpogran!) - 📺 vscode-PowerShell #2225 -
Surface Invoke Registered Editor Command. (Thanks @jpogran!)
PowerShellEditorServices
- 📟 PowerShellEditorServices #1077 -
Support new console color configuration in PowerShell 7. - 🐛 vscode-powershell #2116 -
Fix UNC intellisense backslash. - 🐛 vscode-powershell #2214 -
Fix issue where PipelineIndentationStyle setting is ignored. (Thanks @bergmeister!) - ⚙️ PowerShellEditorServices #1052 -
Update minimum PSSA version to 1.18.3. (Thanks @bergmeister!)
v2019.11.0-preview
v2019.11.0
Friday, November 1, 2019
Special Note
In this release of the preview extension,
we've merged significant architectural work into PowerShell Editor Services.
After several months of work, PSES now uses the Omnisharp LSP library
to handle Language Server Protocol interaction instead of rolling its own,
allowing PSES to concentrate on being a good PowerShell backend.
We hope you'll see increased performance and stability in this release.
As always, please let us know if you find any issues.
vscode-PowerShell
- 🔧 vscode-PowerShell #2262 -
Introducepowershell.integratedConsole.useLegacyReadline
setting disable PSReadLine. - 🛫🐛vscode-powershell #2217 -
Discover new PowerShell installations, fix startup issue with Windows PowerShell. - 📺 vscode-PowerShell #2225 -
SurfaceInvokeRegisteredEditorCommand
in the Command Palette. (Thanks @jpogran!) - 📺 vscode-PowerShell #2224 -
Provide Run Selection button in editor title menu. (Thanks @jpogran!) - 👷 vscode-powershell #2229 -
Fix version check in Install-VSCode.ps1. - 🚂 vscode-PowerShell #2226 -
Changes needed for Omnisharp migration of PowerShellEditorServices. - 🔍 vscode-powershell #2144 -
Fix debugging restart capability by ensuring the session file is not deleted.
PowerShellEditorServices
- 🐛 PowerShellEditorServices #1080 -
Remove extra newline in GetComment feature. - 🐛 PowerShellEditorServices #1079 -
Fix duplicate diagnostics caused by DidChange handler. - 🔧 PowerShellEditorServices #1076 -
Graduate PSReadLine feature and add UseLegacyReadLine. - ⚙️ PowerShellEditorServices #1075 -
Lock OmniSharp dependencies to v0.14.0. (Thanks @mholo65!) - 📟 PowerShellEditorServices #1064 -
Add support for terminal error color settings in PS7. - 🐛 PowerShellEditorServices #1073 -
Fix prerelease version discovery and fix omnisharp change. - 🐛 PowerShellEditorServices #1065 -
Fix TEMP debugging. - 🐛 vscode-powershell #1753 -
Override PSRL ReadKey on Windows as well. - 🚂 PowerShellEditorServices #1056 -
Re-architect PowerShell Editor Services to use the Omnisharp LSP platform. - 🐛 vscode-powershell #2116 -
Fix UNC intellisense backslash.
v2019.9.0-preview
v2019.9.0
Monday, September 23, 2019
vscode-PowerShell
- 👷 vscode-powershell #1961 -
Changelog tools. - 🐛 vscode-powershell #2141 -
Null check on activeTerminal to workaround vscode behavior. - ✨ vscode-powershell #2105 -
Prompt to update PowerShell version. - 🔎 vscode-powershell #2165 -
Add powershell.codeFormatting.autoCorrectAliases setting to add support for optionally correcting aliases as well (added in PSSA 1.18.2). Disabled by default.. (Thanks @bergmeister!) - ✨ vscode-powershell #2160 -
Added functionality to install the User variant of Stable Edition. (Thanks @Lothindir!) - ✨ vscode-powershell #2156 -
Default to PowerShell Core on Windows if it's installed. (Thanks @SydneyhSmith!) - ✨ vscode-powershell #2084 -
Implement #1611 - provide dynamic debug config. (Thanks @rkeithhill!) - ✨ vscode-powershell #2024 -
Add machine scope per VS Code team request. - ✨ vscode-powershell #2081 -
Add param-block snippet. (Thanks @AspenForester!) - 🧹 vscode-powershell #2062 -
Remove redundant snippets. (Thanks @travis-c-lagrone!) - ✨ vscode-powershell #1974 -
Add #Requires snippets. (Thanks @travis-c-lagrone!) - 🧹 vscode-powershell #2063 -
Remove redundant community snippets. (Thanks @travis-c-lagrone!) - 👷 vscode-powershell #2065 -
Update '.vscode/settings.json' to identify snippet files as 'JSON with Comments'. (Thanks @travis-c-lagrone!) - 📔 vscode-powershell #2065 -
Docs updates. (Thanks @SydneyhSmith!) - 👷 vscode-powershell #2038 -
Add ADS insiders gallery file to update script. - 🔎 vscode-powershell #2037 -
Update PSScriptAnalyzer docs Url to point to master branch because master is now the default branch. (Thanks @bergmeister!) - 🐛 vscode-powershell #2035 -
#1019: Get format settings from document editor instead of global. (Thanks @tillig!) - 👷 vscode-powershell #2025 -
Fix node version detect logic to handle node v10. (Thanks @rkeithhill!) - ✨ vscode-powershell #1946 -
Add ArgumentCompleter snippets. (Thanks @travis-c-lagrone!) - 🧹 vscode-powershell #2015 -
Fix node types version.
PowerShellEditorServices
- 🐛 PowerShellEditorServices #1022 -
Catch stream exceptions for some Debug Adapter stability. - 🔎 PowerShellEditorServices #1021 -
Add AutoCorrectAliases setting (PR to be made in VS-Code repo as well) to add support for optionally correcting aliases as well (added in PSSA 1.18.2). (Thanks @bergmeister!). - 🐛 vscode-powershell #1994 -
Fix crash when setBreakpoint from VSCode sends a git:/ URI. - 🧹 PowerShellEditorServices #988 -
Remove consoleecho lib for PowerShell 7. - 📔 PowerShellEditorServices #986 -
Documentation updates. (Thanks @SydneyhSmith!) - ⚙️ PowerShellEditorServices #981 -
Update NewtonSoft.Json dependency from 10.0.3 to 11.02 since PS 6.0 has been deprecated. (Thanks @bergmeister!) - 🐛 vscode-powershell #2007 -
Defend against crash when no PSScriptAnalyzer is found. - 👷 PowerShellEditorServices #978 -
Delete stale WebSocket code.
v2019.9.0
v2019.9.0
Monday, September 23, 2019
vscode-PowerShell
- 👷 vscode-powershell #1961 -
Changelog tools. - 🐛 vscode-powershell #2141 -
Null check on activeTerminal to workaround vscode behavior. - ✨ vscode-powershell #2105 -
Prompt to update PowerShell version. - 🔎 vscode-powershell #2165 -
Add powershell.codeFormatting.autoCorrectAliases setting to add support for optionally correcting aliases as well (added in PSSA 1.18.2). Disabled by default.. (Thanks @bergmeister!) - ✨ vscode-powershell #2160 -
Added functionality to install the User variant of Stable Edition. (Thanks @Lothindir!) - ✨ vscode-powershell #2156 -
Default to PowerShell Core on Windows if it's installed. (Thanks @SydneyhSmith!) - ✨ vscode-powershell #2084 -
Implement #1611 - provide dynamic debug config. (Thanks @rkeithhill!) - ✨ vscode-powershell #2024 -
Add machine scope per VS Code team request. - ✨ vscode-powershell #2081 -
Add param-block snippet. (Thanks @AspenForester!) - 🧹 vscode-powershell #2062 -
Remove redundant snippets. (Thanks @travis-c-lagrone!) - ✨ vscode-powershell #1974 -
Add #Requires snippets. (Thanks @travis-c-lagrone!) - 🧹 vscode-powershell #2063 -
Remove redundant community snippets. (Thanks @travis-c-lagrone!) - 👷 vscode-powershell #2065 -
Update '.vscode/settings.json' to identify snippet files as 'JSON with Comments'. (Thanks @travis-c-lagrone!) - 📔 vscode-powershell #2065 -
Docs updates. (Thanks @SydneyhSmith!) - 👷 vscode-powershell #2038 -
Add ADS insiders gallery file to update script. - 🔎 vscode-powershell #2037 -
Update PSScriptAnalyzer docs Url to point to master branch because master is now the default branch. (Thanks @bergmeister!) - 🐛 vscode-powershell #2035 -
#1019: Get format settings from document editor instead of global. (Thanks @tillig!) - 👷 vscode-powershell #2025 -
Fix node version detect logic to handle node v10. (Thanks @rkeithhill!) - ✨ vscode-powershell #1946 -
Add ArgumentCompleter snippets. (Thanks @travis-c-lagrone!) - 🧹 vscode-powershell #2015 -
Fix node types version.
PowerShellEditorServices
- 🐛 PowerShellEditorServices #1022 -
Catch stream exceptions for some Debug Adapter stability. - 🔎 PowerShellEditorServices #1021 -
Add AutoCorrectAliases setting (PR to be made in VS-Code repo as well) to add support for optionally correcting aliases as well (added in PSSA 1.18.2). (Thanks @bergmeister!). - 🐛 vscode-powershell #1994 -
Fix crash when setBreakpoint from VSCode sends a git:/ URI. - 🧹 PowerShellEditorServices #988 -
Remove consoleecho lib for PowerShell 7. - 📔 PowerShellEditorServices #986 -
Documentation updates. (Thanks @SydneyhSmith!) - ⚙️ PowerShellEditorServices #981 -
Update NewtonSoft.Json dependency from 10.0.3 to 11.02 since PS 6.0 has been deprecated. (Thanks @bergmeister!) - 🐛 vscode-powershell #2007 -
Defend against crash when no PSScriptAnalyzer is found. - 👷 PowerShellEditorServices #978 -
Delete stale WebSocket code.