File tree 1 file changed +20
-2
lines changed
1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
1
# PowerShell Extension Release History
2
2
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
5
23
6
24
#### [ vscode-powershell] ( https://github.com/PowerShell/vscode-powershell )
7
25
You can’t perform that action at this time.
0 commit comments