File tree Expand file tree Collapse file tree 2 files changed +25
-7
lines changed Expand file tree Collapse file tree 2 files changed +25
-7
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11{
2- "name" : " powershell-preview " ,
3- "displayName" : " PowerShell Preview " ,
2+ "name" : " powershell" ,
3+ "displayName" : " PowerShell" ,
44 "version" : " 2021.8.2" ,
5- "preview" : true ,
5+ "preview" : false ,
66 "publisher" : " ms-vscode" ,
7- "description" : " (Preview) Develop PowerShell modules, commands and scripts in Visual Studio Code!" ,
7+ "description" : " Develop PowerShell modules, commands and scripts in Visual Studio Code!" ,
88 "engines" : {
99 "vscode" : " ^1.53.0"
1010 },
1616 " Snippets" ,
1717 " Linters"
1818 ],
19- "icon" : " media/PowerShell_Preview_Icon .png" ,
19+ "icon" : " media/PowerShell_Icon .png" ,
2020 "galleryBanner" : {
2121 "color" : " #ACD1EC" ,
2222 "theme" : " light"
You can’t perform that action at this time.
0 commit comments