Skip to content

Commit c983f75

Browse files
Merge pull request #3523 from PowerShell/release
Release `v2021.8.2`
2 parents 73b2614 + ec63b41 commit c983f75

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
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

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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
},
@@ -16,7 +16,7 @@
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"

0 commit comments

Comments
 (0)