Releases: PowerShell/vscode-powershell
v2022.11.1-preview
v2022.11.1-preview
Monday, November 21, 2022
vscode-powershell
- 🐛 💭 vscode-powershell #4202 - Make
Logger.WriteLine
thread-safe and fix bug with UNC paths. - ✨ 📟 vscode-powershell #4271 - Send shell integration setting to server.
PowerShellEditorServices v3.6.2
- ✨ 📟 vscode-powershell #3901 - Enable VS Code's shell integration.
- 🐛 🔍 vscode-powershell #4269 - Escape single quotes when launching a script by path.
- ✨ 🚨 PowerShellEditorServices #1955 - Add PowerShell 7.3 to test matrix.
v2022.11.0
v2022.11.0
Wednesday, November 16, 2022
The November release represents a renewed focus on the client, that is, the TypeScript
extension for Visual Studio Code. We've paid back a significant amount of technical debt
by enabling both the TypeScript compiler's and ESLint linter's strict checks, helping us
ensure we are writing correct code. We've increased the client's logging, made the
walkthrough's installation instructions cross-platform, added a warning popup when custom
configured additional PowerShell executables aren't found, and fixed a couple debugger
configuration edge cases.
A regression for the OnIdle
handler was fixed in the server, complete with regression
tests covering the registration and triggering of idle events registered both in a profile
and during a session. A workaround was implemented for a completion bug in PowerShell that
was causing the LSP session to disconnect when used with third-party clients. When
executing scripts, the path is now escaped with single quotes instead of double quotes,
addressing the edge case where a path contains a dollar sign, and is now inline with
PowerShell's semantics.
The build is now correctly published in release mode which should be more performant and
won't allow the user to accidentally enable the "wait for debugger" scenario (which can
appear as a hang, though it is a correctly working feature that is now hidden behind more
developer settings). Additionally, checks were added to both the server and client build
pipelines to assert that the bits are in release mode before packaging, as it was
unfortunately the act of running the tests that erroneously and silently overwrote release
bits with debug bits.
Finally, a long-standing bug that often prevented the server from starting with Windows
PowerShell was resolved. Known to users as the DryIoc
error (which was a misleading
stacktrace that commonly popped up), we tracked down a broken dependency of OmniSharp that
when present and loaded into the GAC caused a type resolution error. While it took a year
for us to find the root cause, the fix was a single line dependency update for OmniSharp,
and then some work to incorporate the OmniSharp update into the server.
vscode-powershell
- ✨ 🚂 vscode-powershell #3561 - Enable
strict
TypeScript mode . - 🐛 🔍 vscode-powershell #4201 - Fix automatic focus to temporary debug terminal (if it exists).
- 🐛 🚂 vscode-powershell #4213 - Remove
FindModule.ts
since its long since been deprecated. - 🐛 🔍 vscode-powershell #4223 - Only check a script's extension if a script file was given.
- ✨ 👷 vscode-powershell #4220 - Add assertion to build that PSES bits are built in release configuration.
- ✨ 🚂 vscode-powershell #3561 - Enable
strict
TypeScript mode . - 🐛 🔍 vscode-powershell #4201 - Fix automatic focus to temporary debug terminal (if it exists).
- ✨ 👷 vscode-powershell #2882 - Replace TSLint with ESLint.
- ✨ 💭 vscode-powershell #4242 - Show warning when additional PowerShell is not found.
- 🐛 🛫 vscode-powershell #4241 - Guard
-WaitForDebugger
flag client-side too. - ✨ 💭 vscode-powershell #4240 - Capture more logs.
- ✨ 💭 vscode-powershell #4235 - Refactor
settings.ts
. - 🐛 📺 vscode-powershell #4149 - Add cross-platform installation to walkthrough.
- 🐛 🔍 vscode-powershell #4231 - Check script extension for current file only.
PowerShellEditorServices v3.6.1
- 🐛 🚂 vscode-powershell #4219 - Fix regression around
OnIdle
handler. - 🐛 🧠 PowerShellEditorServices #1926 - Catch exceptions within completion handler.
- 🐛 👷 vscode-powershell #4218 - Fix release build.
- ✨ 📖 PowerShellEditorServices #1932 - Add example of starting PSES in a script to readme. (Thanks @smartguy1196!)
- #️⃣ 🙏 PowerShellEditorServices #1931 - Fix broken links in readme. (Thanks @smartguy1196!)
- #️⃣ 🙏 PowerShellEditorServices #1947 - Manually update
Newtonsoft.Json
. - 🐛 🚂 vscode-powershell #4175 - Bump OmniSharp to
v0.19.6
. - 🐛 🔍 vscode-powershell #4238 - Wrap script paths with single instead of double quotes.
v2022.11.0-preview
v2022.11.0-preview
Thursday, November 03, 2022
vscode-powershell
- ✨ 💭 vscode-powershell #4242 - Show warning when additional PowerShell is not found.
- 🐛 🛫 vscode-powershell #4241 - Guard
-WaitForDebugger
flag client-side too. - ✨ 💭 vscode-powershell #4240 - Capture more logs.
- ✨ 💭 vscode-powershell #4235 - Refactor
settings.ts
. - 🐛 📺 vscode-powershell #4149 - Add cross-platform installation to walkthrough.
- 🐛 🔍 vscode-powershell #4231 - Check script extension for current file only.
PowerShellEditorServices v3.6.1
- #️⃣ 🙏 PowerShellEditorServices #1947 - Manually update
Newtonsoft.Json
. - 🐛 🚂 vscode-powershell #4175 - Bump OmniSharp to
v0.19.6
. - 🐛 🔍 vscode-powershell #4238 - Wrap script paths with single instead of double quotes.
v2022.10.2-preview
v2022.10.2-preview
Tuesday, October 25, 2022
vscode-powershell
- 🐛 🚂 vscode-powershell #4213 - Remove
FindModule.ts
since its long since been deprecated. - 🐛 🔍 vscode-powershell #4223 - Only check a script's extension if a script file was given.
- ✨ 👷 vscode-powershell #4220 - Add assertion to build that PSES bits are built in release configuration.
- ✨ 🚂 vscode-powershell #3561 - Enable
strict
TypeScript mode . - 🐛 🔍 vscode-powershell #4201 - Fix automatic focus to temporary debug terminal (if it exists).
- ✨ 👷 vscode-powershell #2882 - Replace TSLint with ESLint.
PowerShellEditorServices v3.6.0
- 🐛 🚂 vscode-powershell #4219 - Fix regression around
OnIdle
handler. - 🐛 🧠 PowerShellEditorServices #1926 - Catch exceptions within completion handler.
- 🐛 👷 vscode-powershell #4218 - Fix release build.
- ✨ 📖 PowerShellEditorServices #1932 - Add example of starting PSES in a script to readme. (Thanks @smartguy1196!)
- #️⃣ 🙏 PowerShellEditorServices #1931 - Fix broken links in readme. (Thanks @smartguy1196!)
v2022.10.0
v2022.10.0
Thursday, October 20, 2022
This October stable release incorporates a number of bugfixes throughout September and
early October, though is not based on the latest preview, v2022.10.1-preview, as the
refactors involved in enabling TypeScript's strict type checking and ESLint's strict
linting will need more testing. However, based on the success of the PowerShell Script
Analyzer's v1.21.0 release we wanted to get this to you sooner!
Highlighted bugfixes include: supporting events registered to PowerShell's OnIdle
handler so that Azure cmdlets such as Az.Tools.Predictor
now work, a lock around the
client's start()
so the extension terminal cannot accidentally be spawned multiple
times, and making the default debug configurations not override your current working
directory (by unsetting cwd
on all of them).
In addition to fixing bugs, we also reintroduced a fan-favorite feature: the PowerShell
Language Status Icon will visually indicate if the execution pipeline is busy. For
example, a long-running task in the PowerShell Extension Terminal or a launched editor
command will show a spinner!
Finally, I wanted to call out work by Patrick to significantly improve the performance of
reference finding (which powers the reference code lenses), so large workspaces can now be
used more easily. If these performance improvements are still not enough for a particular
workspace, we also introduced two new settings to fine-tune the feature:
powershell.analyzeOpenDocumentsOnly
when enabled will only search for references within open documentspowershell.enableReferencesCodeLens
can be used to disable reference finding without having to turn off other code lenses
vscode-powershell
- 🐛 🔍 vscode-powershell #4201 - Fix automatic focus to temporary debug terminal (if it exists).
- 🐛 ✂️ vscode-powershell #4195 - Fix Function Help snippet. (Thanks @okhoel!)
- ✨ 📺 vscode-powershell #4193 - Handle busy notification for all PowerShell tasks.
- ✨ 🕵️ vscode-powershell #4164 - Enable new PSScriptAnalyzer option
avoidSemicolonsAsLineTerminators
. (Thanks @bergmeister!) - ✨ 📺 vscode-powershell #3954 - Re-implement indicator when running registered editor commands.
- 🐛 🔍 vscode-powershell #4185 - Only check a script's extension if a script was given.
- 🐛 🔍 vscode-powershell #4082 - Refactor the debug launch configuration resolvers.
- 🐛 📁 vscode-powershell #4163 - Fix incorrect docstring for
powershell.cwd
. - #️⃣ 🙏 vscode-powershell #4170 - Add setting to only analyze open documents for references.
- 🐛 🛫 vscode-powershell #4160 - Lock
SessionManager.start()
so only one session is started. - ✨ 🔧 vscode-powershell #4139 - Add setting to control the references code lens.
PowerShellEditorServices v3.5.4
- ✨ 🚂 PowerShellEditorServices #1928 - Generalize the execution busy status to all PowerShell tasks.
- ✨ 🕵️ PowerShellEditorServices #1916 - Upgrade PSScriptAnalyzer to 1.21.0. (Thanks @bergmeister!)
- ✨ 🙏 PowerShellEditorServices #1924 - Re-implement indicator when running registered editor commands.
- 🐛 🛫 vscode-powershell #4048 - Created a nested PowerShell for the top-level loop.
- #️⃣ 🙏 PowerShellEditorServices #1917 - Overhaul workspace search for symbol references.
- ✨ 🚨 PowerShellEditorServices #1914 - Add regression tests for F5 and F8 saving to history.
- ✨ 🙏 PowerShellEditorServices #1900 - Add setting to control references code lens.
v2022.10.1-preview
v2022.10.1-preview
Monday, October 17, 2022
vscode-powershell
- ✨ 🚂 vscode-powershell #3561 - Enable
strict
TypeScript mode . - 🐛 🔍 vscode-powershell #4201 - Fix automatic focus to temporary debug terminal (if it exists).
PowerShellEditorServices v3.5.4
No changes.
v2022.10.0-preview
v2022.10.0-preview
Friday, October 07, 2022
vscode-powershell
- 🐛 ✂️ vscode-powershell #4195 - Fix Function Help snippet. (Thanks @okhoel!)
PowerShellEditorServices v3.5.4
No changes.
v2022.9.2-preview
v2022.9.2-preview
Friday, September 30, 2022
vscode-powershell
- ✨ 📺 vscode-powershell #4193 - Handle busy notification for all PowerShell tasks.
- ✨ 🕵️ vscode-powershell #4164 - Enable new PSScriptAnalyzer option
avoidSemicolonsAsLineTerminators
. (Thanks @bergmeister!)
PowerShellEditorServices v3.5.4
- ✨ 🚂 PowerShellEditorServices #1928 - Generalize the execution busy status to all PowerShell tasks.
- ✨ 🕵️ PowerShellEditorServices #1916 - Upgrade PSScriptAnalyzer to 1.21.0. (Thanks @bergmeister!)
v2022.9.1-preview
v2022.9.1-preview
Wednesday, September 28, 2022
vscode-powershell
- ✨ 📺 vscode-powershell #3954 - Re-implement indicator when running registered editor commands.
- 🐛 🔍 vscode-powershell #4185 - Only check a script's extension if a script was given.
PowerShellEditorServices v3.5.3
- ✨ 🙏 PowerShellEditorServices #1924 - Re-implement indicator when running registered editor commands.
v2022.9.0-preview
v2022.9.0-preview
Tuesday, September 27, 2022
vscode-powershell
- 🐛 🔍 vscode-powershell #4082 - Refactor the debug launch configuration resolvers.
- 🐛 📁 vscode-powershell #4163 - Fix incorrect docstring for
powershell.cwd
. - #️⃣ 🙏 vscode-powershell #4170 - Add setting to only analyze open documents for references.
- 🐛 🛫 vscode-powershell #4160 - Lock
SessionManager.start()
so only one session is started. - ✨ 🔧 vscode-powershell #4139 - Add setting to control the references code lens.
PowerShellEditorServices v3.5.2
- 🐛 🛫 vscode-powershell #4048 - Created a nested PowerShell for the top-level loop.
- #️⃣ 🙏 PowerShellEditorServices #1917 - Overhaul workspace search for symbol references.
- ✨ 🚨 PowerShellEditorServices #1914 - Add regression tests for F5 and F8 saving to history.
- ✨ 🙏 PowerShellEditorServices #1900 - Add setting to control references code lens.