Skip to content

Commit 6314bd4

Browse files
committed
Update CHANGELOG for v2022.11.0
1 parent 098a2cf commit 6314bd4

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

CHANGELOG.md

+62
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,67 @@
11
# PowerShell Extension Release History
22

3+
## v2022.11.0
4+
### Wednesday, November 16, 2022
5+
6+
The November release represents a renewed focus on the client, that is, the TypeScript
7+
extension for Visual Studio Code. We've paid back a significant amount of technical debt
8+
by enabling both the TypeScript compiler's and ESLint linter's strict checks, helping us
9+
ensure we are writing correct code. We've increased the client's logging, made the
10+
walkthrough's installation instructions cross-platform, added a warning popup when custom
11+
configured additional PowerShell executables aren't found, and fixed a couple debugger
12+
configuration edge cases.
13+
14+
A regression for the `OnIdle` handler was fixed in the server, complete with regression
15+
tests covering the registration and triggering of idle events registered both in a profile
16+
and during a session. A workaround was implemented for a completion bug in PowerShell that
17+
was causing the LSP session to disconnect when used with third-party clients. When
18+
executing scripts, the path is now escaped with single quotes instead of double quotes,
19+
addressing the edge case where a path contains a dollar sign, and is now inline with
20+
PowerShell's semantics.
21+
22+
The build is now correctly published in release mode which should be more performant and
23+
won't allow the user to accidentally enable the "wait for debugger" scenario (which can
24+
appear as a hang, though it is a correctly working feature that is now hidden behind more
25+
developer settings). Additionally, checks were added to both the server and client build
26+
pipelines to assert that the bits are in release mode before packaging, as it was
27+
unfortunately the act of running the tests that erroneously and silently overwrote release
28+
bits with debug bits.
29+
30+
Finally, a long-standing bug that often prevented the server from starting with Windows
31+
PowerShell was resolved. Known to users as the `DryIoc` error (which was a misleading
32+
stacktrace that commonly popped up), we tracked down a broken dependency of OmniSharp that
33+
when present and loaded into the GAC caused a type resolution error. While it took a year
34+
for us to find the root cause, the fix was a single line dependency update for OmniSharp,
35+
and then some work to incorporate the OmniSharp update into the server.
36+
37+
#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell)
38+
39+
- ✨ 🚂 [vscode-powershell #3561](https://github.com/PowerShell/vscode-powershell/pull/4206) - Enable `strict` TypeScript mode .
40+
- 🐛 🔍 [vscode-powershell #4201](https://github.com/PowerShell/vscode-powershell/pull/4203) - Fix automatic focus to temporary debug terminal (if it exists).
41+
- 🐛 🚂 [vscode-powershell #4213](https://github.com/PowerShell/vscode-powershell/pull/4228) - Remove `FindModule.ts` since its long since been deprecated.
42+
- 🐛 🔍 [vscode-powershell #4223](https://github.com/PowerShell/vscode-powershell/pull/4227) - Only check a script's extension if a script file was given.
43+
- ✨ 👷 [vscode-powershell #4220](https://github.com/PowerShell/vscode-powershell/pull/4220) - Add assertion to build that PSES bits are built in release configuration.
44+
- ✨ 🚂 [vscode-powershell #3561](https://github.com/PowerShell/vscode-powershell/pull/4206) - Enable `strict` TypeScript mode .
45+
- 🐛 🔍 [vscode-powershell #4201](https://github.com/PowerShell/vscode-powershell/pull/4203) - Fix automatic focus to temporary debug terminal (if it exists).
46+
- ✨ 👷 [vscode-powershell #2882](https://github.com/PowerShell/vscode-powershell/pull/3331) - Replace TSLint with ESLint.
47+
- ✨ 💭 [vscode-powershell #4242](https://github.com/PowerShell/vscode-powershell/pull/4242) - Show warning when additional PowerShell is not found.
48+
- 🐛 🛫 [vscode-powershell #4241](https://github.com/PowerShell/vscode-powershell/pull/4241) - Guard `-WaitForDebugger` flag client-side too.
49+
- ✨ 💭 [vscode-powershell #4240](https://github.com/PowerShell/vscode-powershell/pull/4240) - Capture more logs.
50+
- ✨ 💭 [vscode-powershell #4235](https://github.com/PowerShell/vscode-powershell/pull/4235) - Refactor `settings.ts`.
51+
- 🐛 📺 [vscode-powershell #4149](https://github.com/PowerShell/vscode-powershell/pull/4233) - Add cross-platform installation to walkthrough.
52+
- 🐛 🔍 [vscode-powershell #4231](https://github.com/PowerShell/vscode-powershell/pull/4231) - Check script extension for current file only.
53+
54+
#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) v3.6.1
55+
56+
- 🐛 🚂 [vscode-powershell #4219](https://github.com/PowerShell/PowerShellEditorServices/pull/1936) - Fix regression around `OnIdle` handler.
57+
- 🐛 🧠 [PowerShellEditorServices #1926](https://github.com/PowerShell/PowerShellEditorServices/pull/1935) - Catch exceptions within completion handler.
58+
- 🐛 👷 [vscode-powershell #4218](https://github.com/PowerShell/PowerShellEditorServices/pull/1933) - Fix release build.
59+
- ✨ 📖 [PowerShellEditorServices #1932](https://github.com/PowerShell/PowerShellEditorServices/pull/1932) - Add example of starting PSES in a script to readme. (Thanks @smartguy1196!)
60+
- #️⃣ 🙏 [PowerShellEditorServices #1931](https://github.com/PowerShell/PowerShellEditorServices/pull/1931) - Fix broken links in readme. (Thanks @smartguy1196!)
61+
- #️⃣ 🙏 [PowerShellEditorServices #1947](https://github.com/PowerShell/PowerShellEditorServices/pull/1947) - Manually update `Newtonsoft.Json`.
62+
- 🐛 🚂 [vscode-powershell #4175](https://github.com/PowerShell/PowerShellEditorServices/pull/1946) - Bump OmniSharp to `v0.19.6`.
63+
- 🐛 🔍 [vscode-powershell #4238](https://github.com/PowerShell/PowerShellEditorServices/pull/1940) - Wrap script paths with single instead of double quotes.
64+
365
## v2022.11.0-preview
466
### Thursday, November 03, 2022
567

0 commit comments

Comments
 (0)