Skip to content

Commit 6b1b676

Browse files
committed
Update CHANGELOG for v2021.8.2
1 parent 4cee1b3 commit 6b1b676

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

CHANGELOG.md

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
11
# PowerShell Extension Release History
22

3-
## v2021.8.2-preview
4-
### Monday, August 23, 2021
3+
## v2021.8.2
4+
### Tuesday, August 24, 2021
5+
6+
This release also contains all changes listed in [v2021.8.1-preview](#v202181-preview)
7+
below. Notably it fixes several major issues when debugging scripts that were caused by
8+
threading deadlocks in both PowerShell Editor Services and its library, [OmniSharp's C#
9+
Language Server Protocol][omnisharp] that we resolved by setting the compiler to treat
10+
[CA2007][] as an error. This allowed us to programmatically fix _every_ awaited task to
11+
use `.ConfigureAwait(false)` and so avoid deadlocks caused by the introduction of new
12+
synchronization contexts in user code (such as the use of `System.Windows.Forms`). By
13+
fixing this through a compiler rule, we effectively prevent the issue from recurring.
14+
Additionally, we not only added a full regression test for this scenario but also
15+
re-enabled all the prior `DebugService` unit tests in PowerShell Editor Services.
16+
17+
While there is still much work to do, we are making significant headway on improve the
18+
debugger's reliability, one of our current project focuses. See the [Debugger Reliability
19+
Project](https://github.com/PowerShell/vscode-powershell/projects/9) for our progress.
20+
21+
[omnisharp]: https://github.com/OmniSharp/csharp-language-server-protocol
22+
[CA2007]: https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2007
523

624
#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell)
725

0 commit comments

Comments
 (0)