From ddc4a7a11045b0993b6714f468cabfd15ab018b4 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 19 Feb 2021 15:57:16 -0800 Subject: [PATCH 1/5] Update CHANGELOG for v2021.2.0 --- CHANGELOG.md | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25eb4693ef..e628690d05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,93 @@ # PowerShell Extension Release History +## v2021.2.0 +### Friday, February 19, 2021 +#### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) + +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell/pull/3132) - + Fix for issue #3131 in regards to brew discarding cask as an option. (Thanks @philippkahr!) +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Merge pull request #3177 from PowerShell/andschwa/delete-notebook-api. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Delete VS Code Notebook API prototype. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Merge pull request #3162 from PowerShell/andschwa/esrp. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Fix `ci-general.yml` for change to build script. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Scan `*.vsix` instead of signing. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Fix artifact download task. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Fix `Package` task for updated release pipline. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Small cleanup of development instructions. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Replace PackageES with ESRP template. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Recognize Azure DevOps files appropriately. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Add braces to PSCustomObject snippet to play nice with auto-closing pairs. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Merge pull request #3136 from PowerShell/dependabot/npm_and_yarn/types/node-fetch-2.5.8. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Merge pull request #3149 from PowerShell/dependabot/npm_and_yarn/types/node-14.14.22. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Merge pull request #3150 from PowerShell/dependabot/npm_and_yarn/sinon-9.2.4. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Merge pull request #3151 from PowerShell/dependabot/npm_and_yarn/vsce-1.84.0. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Set DFS to false in package build. +- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - + Add self as maintainer to readme. +- [vscode-powershell #3099](https://github.com/PowerShell/vscode-powershell/pull/3099) - + Update dependencies to fix CI on macOS. +- [vscode-powershell #3089](https://github.com/PowerShell/vscode-powershell/pull/3089) - + Remove hardcoded output format. +- [vscode-powershell #3086](https://github.com/PowerShell/vscode-powershell/pull/3086) - + Fix typo in description of legacy codelens description. (Thanks @nexxai!) +- [vscode-powershell #3053](https://github.com/PowerShell/vscode-powershell/pull/3053) - + Send telemetry from pses. +- [vscode-powershell #3047](https://github.com/PowerShell/vscode-powershell/pull/3047) - + Update language server client. +- [vscode-powershell #2998](https://github.com/PowerShell/vscode-powershell/pull/2998) - + Added Pester v5 support to problem matcher. (Thanks @fflaten!) +- [vscode-powershell #3023](https://github.com/PowerShell/vscode-powershell/pull/3023) - + Help completion should only run on powershell scripts. +- [vscode-powershell #3023](https://github.com/PowerShell/vscode-powershell) - + Fix automatic notebooks by making glob case-insensitive. (Thanks @github-actions[bot]!) +- [vscode-powershell #2973](https://github.com/PowerShell/vscode-powershell/pull/2973) - + Issue #2906. (Thanks @jeffpatton1971!) + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) + +- Fix publish step. +- Merge pull request #1408 from PowerShell/andschwa/esrp. +- Fix issues caught by PoliCheck. +- Exclude .git folder from PoliCheck. +- Point PoliCheck to source subfolder. +- Replace compliance tasks with template. +- Delete deprecated signing.xml. +- Use ADO tasks instead of pwsh inline scripts. +- Start simplifying release build. +- Replace PackageES with ESRP template. +- Add self as maintainer to readme. +- Set DFS to false in package build. +- [PowerShellEditorServices #1398](https://github.com/PowerShell/PowerShellEditorServices/pull/1398) - + Refactor e2e tests. +- [PowerShellEditorServices #1381](https://github.com/PowerShell/PowerShellEditorServices/pull/1381) - + Hook up Telemetry LSP event and add telemetry event when users opt-out/in to features. +- [PowerShellEditorServices #1397](https://github.com/PowerShell/PowerShellEditorServices/pull/1397) - + More compliant NuGet.config. +- [vscode-powershell #3071](https://github.com/PowerShell/PowerShellEditorServices/pull/1394) - + Fix #1393: Always use local help to return cmdlet help text. (Thanks @deadlydog!) +- [PowerShellEditorServices #1376](https://github.com/PowerShell/PowerShellEditorServices/pull/1376) - + Move to Omnisharp lib 0.18.x. +- 🛫 🐛 [vscode-powershell #2965](https://github.com/PowerShell/PowerShellEditorServices/pull/1363) - + Fix error when started in low .NET versions. +- [PowerShellEditorServices #1364](https://github.com/PowerShell/PowerShellEditorServices/pull/1364) - + Typos in README.md. (Thanks @robotboyfriend!) + ## v2020.9.0-preview ### Wednesday, September 16, 2020 #### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) From d2b3a59cffb776dbd0ab71593f8327a60dbc6156 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 19 Feb 2021 16:37:31 -0800 Subject: [PATCH 2/5] Bump version to 'v2021.2.0-preview' --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 36739ca0d3..edad2d14c0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "powershell-preview", "displayName": "PowerShell Preview", - "version": "2020.9.0", + "version": "2021.2.0", "preview": true, "publisher": "ms-vscode", "description": "(Preview) Develop PowerShell scripts in Visual Studio Code!", From 8aa9435bab4031f54522e4091375277062a7916a Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 19 Feb 2021 17:22:08 -0800 Subject: [PATCH 3/5] Touch-up changelog --- CHANGELOG.md | 86 +++++++++++++++------------------------------------- 1 file changed, 24 insertions(+), 62 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e628690d05..fd8845a7ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,91 +1,53 @@ # PowerShell Extension Release History -## v2021.2.0 +## v2021.2.0-preview ### Friday, February 19, 2021 #### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell/pull/3132) - +- 🛫 🐛 [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell/pull/3132) - Fix for issue #3131 in regards to brew discarding cask as an option. (Thanks @philippkahr!) -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Merge pull request #3177 from PowerShell/andschwa/delete-notebook-api. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - +- 📺 🐛 [vscode-powershell #3177](https://github.com/PowerShell/vscode-powershell/pull/3177) - Delete VS Code Notebook API prototype. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Merge pull request #3162 from PowerShell/andschwa/esrp. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Fix `ci-general.yml` for change to build script. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Scan `*.vsix` instead of signing. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Fix artifact download task. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Fix `Package` task for updated release pipline. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Small cleanup of development instructions. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Replace PackageES with ESRP template. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Recognize Azure DevOps files appropriately. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - +- 👷 ✨ [vscode-powershell #3162](https://github.com/PowerShell/vscode-powershell/pull/3162) - + Rewrite release signing pipeline #3162. +- 💎 🐛 [vscode-powershell #3129](https://github.com/PowerShell/vscode-powershell/pull/3129) - Add braces to PSCustomObject snippet to play nice with auto-closing pairs. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Merge pull request #3136 from PowerShell/dependabot/npm_and_yarn/types/node-fetch-2.5.8. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Merge pull request #3149 from PowerShell/dependabot/npm_and_yarn/types/node-14.14.22. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Merge pull request #3150 from PowerShell/dependabot/npm_and_yarn/sinon-9.2.4. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Merge pull request #3151 from PowerShell/dependabot/npm_and_yarn/vsce-1.84.0. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - - Set DFS to false in package build. -- [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell) - +- 📖 ✨ [vscode-powershell #3152](https://github.com/PowerShell/vscode-powershell/pull/3152) - Add self as maintainer to readme. -- [vscode-powershell #3099](https://github.com/PowerShell/vscode-powershell/pull/3099) - +- 👷 🐛 [vscode-powershell #3099](https://github.com/PowerShell/vscode-powershell/pull/3099) - Update dependencies to fix CI on macOS. -- [vscode-powershell #3089](https://github.com/PowerShell/vscode-powershell/pull/3089) - +- 🐢 🐛 [vscode-powershell #3089](https://github.com/PowerShell/vscode-powershell/pull/3089) - Remove hardcoded output format. -- [vscode-powershell #3086](https://github.com/PowerShell/vscode-powershell/pull/3086) - +- 📖 🐛 [vscode-powershell #3086](https://github.com/PowerShell/vscode-powershell/pull/3086) - Fix typo in description of legacy codelens description. (Thanks @nexxai!) -- [vscode-powershell #3053](https://github.com/PowerShell/vscode-powershell/pull/3053) - +- 🚂 ✨ [vscode-powershell #3053](https://github.com/PowerShell/vscode-powershell/pull/3053) - Send telemetry from pses. -- [vscode-powershell #3047](https://github.com/PowerShell/vscode-powershell/pull/3047) - +- 🚂 ✨ [vscode-powershell #3047](https://github.com/PowerShell/vscode-powershell/pull/3047) - Update language server client. -- [vscode-powershell #2998](https://github.com/PowerShell/vscode-powershell/pull/2998) - +- 🐢 ✨ [vscode-powershell #2998](https://github.com/PowerShell/vscode-powershell/pull/2998) - Added Pester v5 support to problem matcher. (Thanks @fflaten!) -- [vscode-powershell #3023](https://github.com/PowerShell/vscode-powershell/pull/3023) - +- ✂️ 🐛 [vscode-powershell #3023](https://github.com/PowerShell/vscode-powershell/pull/3023) - Help completion should only run on powershell scripts. -- [vscode-powershell #3023](https://github.com/PowerShell/vscode-powershell) - - Fix automatic notebooks by making glob case-insensitive. (Thanks @github-actions[bot]!) -- [vscode-powershell #2973](https://github.com/PowerShell/vscode-powershell/pull/2973) - - Issue #2906. (Thanks @jeffpatton1971!) +- 🛫 🐛 [vscode-powershell #2973](https://github.com/PowerShell/vscode-powershell/pull/2973) - + Fix session menu fails to open when PowerShell extension is starting. (Thanks @jeffpatton1971!) #### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) -- Fix publish step. -- Merge pull request #1408 from PowerShell/andschwa/esrp. -- Fix issues caught by PoliCheck. -- Exclude .git folder from PoliCheck. -- Point PoliCheck to source subfolder. -- Replace compliance tasks with template. -- Delete deprecated signing.xml. -- Use ADO tasks instead of pwsh inline scripts. -- Start simplifying release build. -- Replace PackageES with ESRP template. -- Add self as maintainer to readme. -- Set DFS to false in package build. -- [PowerShellEditorServices #1398](https://github.com/PowerShell/PowerShellEditorServices/pull/1398) - +- 👷 ✨ [PowerShellEditorServices #1408](https://github.com/PowerShell/PowerShellEditorServices/pull/1408) - + Rewrite release signing pipeline. +- 🚨 ✨ [PowerShellEditorServices #1398](https://github.com/PowerShell/PowerShellEditorServices/pull/1398) - Refactor e2e tests. -- [PowerShellEditorServices #1381](https://github.com/PowerShell/PowerShellEditorServices/pull/1381) - +- 🚂 ✨ [PowerShellEditorServices #1381](https://github.com/PowerShell/PowerShellEditorServices/pull/1381) - Hook up Telemetry LSP event and add telemetry event when users opt-out/in to features. -- [PowerShellEditorServices #1397](https://github.com/PowerShell/PowerShellEditorServices/pull/1397) - +- 👷 🐛 [PowerShellEditorServices #1397](https://github.com/PowerShell/PowerShellEditorServices/pull/1397) - More compliant NuGet.config. -- [vscode-powershell #3071](https://github.com/PowerShell/PowerShellEditorServices/pull/1394) - +- 📺 🐛 [vscode-powershell #3071](https://github.com/PowerShell/PowerShellEditorServices/pull/1394) - Fix #1393: Always use local help to return cmdlet help text. (Thanks @deadlydog!) -- [PowerShellEditorServices #1376](https://github.com/PowerShell/PowerShellEditorServices/pull/1376) - +- 🚂 ✨ [PowerShellEditorServices #1376](https://github.com/PowerShell/PowerShellEditorServices/pull/1376) - Move to Omnisharp lib 0.18.x. - 🛫 🐛 [vscode-powershell #2965](https://github.com/PowerShell/PowerShellEditorServices/pull/1363) - Fix error when started in low .NET versions. -- [PowerShellEditorServices #1364](https://github.com/PowerShell/PowerShellEditorServices/pull/1364) - +- 📖 🐛 [PowerShellEditorServices #1364](https://github.com/PowerShell/PowerShellEditorServices/pull/1364) - Typos in README.md. (Thanks @robotboyfriend!) ## v2020.9.0-preview From 19bfc37d52430b49d569a13078c6d06494cdb023 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 19 Feb 2021 19:01:01 -0800 Subject: [PATCH 4/5] Support building from Git tag Should really just replace this with an ADO trigger. --- tools/releaseBuild/findPsesBuild.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/releaseBuild/findPsesBuild.ps1 b/tools/releaseBuild/findPsesBuild.ps1 index bc575b7feb..493a816c3c 100644 --- a/tools/releaseBuild/findPsesBuild.ps1 +++ b/tools/releaseBuild/findPsesBuild.ps1 @@ -6,6 +6,11 @@ $succeededBuilds = Invoke-RestMethod -ContentType application/json -Uri $buildsU Write-Host "Requested URL: $buildsUrl" Write-Host "Got response:`n$(ConvertTo-Json $succeededBuilds)" +$buildsURL = $buildsURL -replace "branchName", "tagName" +$taggedBuilds = Invoke-RestMethod -ContentType application/json -Uri $buildsUrl -Headers $headers +Write-Host "Requested URL: $buildsUrl" +Write-Host "Got response:`n$(ConvertTo-Json $taggedBuilds)" + $buildsUrl = $env:VSTS_PSES_URL_TEMPLATE -f $branch, "partiallySucceeded" $partiallySucceededBuilds = Invoke-RestMethod -ContentType application/json -Uri $buildsUrl -Headers $headers Write-Host "Requested URL: $buildsUrl" @@ -13,6 +18,7 @@ Write-Host "Got response:`n$(ConvertTo-Json $partiallySucceededBuilds)" $builds = @( $succeededBuilds.value + $taggedBuilds.value $partiallySucceededBuilds.value ) | Sort-Object finishTime -Descending From 9e4c8aedc401eb85ea7da30fc87e83ab47dad9f2 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 22 Feb 2021 11:15:33 -0800 Subject: [PATCH 5/5] Apply suggestions from code review Co-authored-by: Robert Holt --- CHANGELOG.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd8845a7ae..1415e86cf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,15 +5,15 @@ #### [vscode-PowerShell](https://github.com/PowerShell/vscode-PowerShell) - 🛫 🐛 [vscode-powershell #3132](https://github.com/PowerShell/vscode-powershell/pull/3132) - - Fix for issue #3131 in regards to brew discarding cask as an option. (Thanks @philippkahr!) + Use new brew cask installation syntax for PowerShell installation. (Thanks @philippkahr!) - 📺 🐛 [vscode-powershell #3177](https://github.com/PowerShell/vscode-powershell/pull/3177) - - Delete VS Code Notebook API prototype. + Disable VSCode Notebook API prototype while the API is still unstable. - 👷 ✨ [vscode-powershell #3162](https://github.com/PowerShell/vscode-powershell/pull/3162) - - Rewrite release signing pipeline #3162. + Rewrite release signing pipeline. - 💎 🐛 [vscode-powershell #3129](https://github.com/PowerShell/vscode-powershell/pull/3129) - Add braces to PSCustomObject snippet to play nice with auto-closing pairs. - 📖 ✨ [vscode-powershell #3152](https://github.com/PowerShell/vscode-powershell/pull/3152) - - Add self as maintainer to readme. + Add @andschwa to the README as maintainer. - 👷 🐛 [vscode-powershell #3099](https://github.com/PowerShell/vscode-powershell/pull/3099) - Update dependencies to fix CI on macOS. - 🐢 🐛 [vscode-powershell #3089](https://github.com/PowerShell/vscode-powershell/pull/3089) - @@ -21,13 +21,13 @@ - 📖 🐛 [vscode-powershell #3086](https://github.com/PowerShell/vscode-powershell/pull/3086) - Fix typo in description of legacy codelens description. (Thanks @nexxai!) - 🚂 ✨ [vscode-powershell #3053](https://github.com/PowerShell/vscode-powershell/pull/3053) - - Send telemetry from pses. + Use VSCode telemetry endpoint for PSES telemetry. - 🚂 ✨ [vscode-powershell #3047](https://github.com/PowerShell/vscode-powershell/pull/3047) - Update language server client. - 🐢 ✨ [vscode-powershell #2998](https://github.com/PowerShell/vscode-powershell/pull/2998) - Added Pester v5 support to problem matcher. (Thanks @fflaten!) - ✂️ 🐛 [vscode-powershell #3023](https://github.com/PowerShell/vscode-powershell/pull/3023) - - Help completion should only run on powershell scripts. + Ensure help completions only run on powershell scripts. - 🛫 🐛 [vscode-powershell #2973](https://github.com/PowerShell/vscode-powershell/pull/2973) - Fix session menu fails to open when PowerShell extension is starting. (Thanks @jeffpatton1971!)