From 6eba38ba67cc0517ebb8bc551ec603759c3fb6a1 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Mon, 14 Aug 2023 17:16:39 -0700 Subject: [PATCH 1/6] Prepare for the v2.3.2-beta2 release of PSReadLine --- PSReadLine/Changes.txt | 10 ++++++++++ PSReadLine/PSReadLine.csproj | 6 +++--- PSReadLine/PSReadLine.psd1 | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/PSReadLine/Changes.txt b/PSReadLine/Changes.txt index 27ccd6f6e..4d8aef148 100644 --- a/PSReadLine/Changes.txt +++ b/PSReadLine/Changes.txt @@ -1,3 +1,13 @@ +### [2.3.2-beta2] - 2023-08-15 + +- Work around `InvalidOperationException` from Console API (#3755) +- Add the `TerminateOrphanedConsoleApps` option on Windows to kill orphaned console-attached process that may mess up reading from Console input (#3764) +- Fix bot to add `needs-triage` label to newly opened issue (#3772) +- Update `actions/checkout` to v3 (#3773) +- [vi-mode] Supports the text-object command `diw` (#2059) (Thanks @springcomp!) + +[2.3.2-beta2]: https://github.com/PowerShell/PSReadLine/compare/v2.3.1-beta1...v2.3.2-beta2 + ### [2.3.1-beta1] - 2023-05-03 - Append reset VT sequence before rendering the ineline prediction (#3669) diff --git a/PSReadLine/PSReadLine.csproj b/PSReadLine/PSReadLine.csproj index abe887a7a..8ab6ce965 100644 --- a/PSReadLine/PSReadLine.csproj +++ b/PSReadLine/PSReadLine.csproj @@ -5,9 +5,9 @@ Microsoft.PowerShell.PSReadLine Microsoft.PowerShell.PSReadLine2 $(NoWarn);CA1416 - 2.3.1.0 - 2.3.1 - 2.3.1-beta1 + 2.3.2.0 + 2.3.2 + 2.3.2-beta2 true net462;net6.0 true diff --git a/PSReadLine/PSReadLine.psd1 b/PSReadLine/PSReadLine.psd1 index 11299abf0..3f900233a 100644 --- a/PSReadLine/PSReadLine.psd1 +++ b/PSReadLine/PSReadLine.psd1 @@ -1,7 +1,7 @@ @{ RootModule = 'PSReadLine.psm1' NestedModules = @("Microsoft.PowerShell.PSReadLine2.dll") -ModuleVersion = '2.3.1' +ModuleVersion = '2.3.2' GUID = '5714753b-2afd-4492-a5fd-01d9e2cff8b5' Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' From 52409fa52f10810ac88bc1081c1799eaa688d614 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Mon, 14 Aug 2023 17:22:52 -0700 Subject: [PATCH 2/6] Minor update to change log --- PSReadLine/Changes.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PSReadLine/Changes.txt b/PSReadLine/Changes.txt index 4d8aef148..b5186a008 100644 --- a/PSReadLine/Changes.txt +++ b/PSReadLine/Changes.txt @@ -1,10 +1,10 @@ ### [2.3.2-beta2] - 2023-08-15 -- Work around `InvalidOperationException` from Console API (#3755) -- Add the `TerminateOrphanedConsoleApps` option on Windows to kill orphaned console-attached process that may mess up reading from Console input (#3764) +- Work around `InvalidOperationException` from Console API (#3755) (Thanks @jazzdelightsme!) +- Add the `TerminateOrphanedConsoleApps` option on Windows to kill orphaned console-attached process that may mess up reading from Console input (#3764) (Thanks @jazzdelightsme!) - Fix bot to add `needs-triage` label to newly opened issue (#3772) -- Update `actions/checkout` to v3 (#3773) -- [vi-mode] Supports the text-object command `diw` (#2059) (Thanks @springcomp!) +- Update `actions/checkout` used in GitHub action to v3 (#3773) +- Supports the text-object command `diw` in the VI edit mode (#2059) (Thanks @springcomp!) [2.3.2-beta2]: https://github.com/PowerShell/PSReadLine/compare/v2.3.1-beta1...v2.3.2-beta2 From 64bddc4a35f55061bdafbb6f44ec7ec3ce1cba39 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Mon, 14 Aug 2023 17:25:23 -0700 Subject: [PATCH 3/6] Skip help content check --- .vsts-ci/releaseBuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vsts-ci/releaseBuild.yml b/.vsts-ci/releaseBuild.yml index e30050035..1453076a0 100644 --- a/.vsts-ci/releaseBuild.yml +++ b/.vsts-ci/releaseBuild.yml @@ -42,7 +42,7 @@ stages: Write-Host "PS Version: $($($PSVersionTable.PSVersion))" Set-Location -Path '$(Build.SourcesDirectory)\PSReadLine' .\build.ps1 -Bootstrap - .\build.ps1 -Configuration Release -Framework net462 -CheckHelpContent + .\build.ps1 -Configuration Release -Framework net462 # Set target folder paths New-Item -Path .\bin\Release\NuGetPackage -ItemType Directory > $null From 11c4e152c0bd5ec493db267e3238e97573f5b75d Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Mon, 14 Aug 2023 17:40:25 -0700 Subject: [PATCH 4/6] Update package versions --- MockPSConsole/MockPSConsole.csproj | 2 +- PSReadLine/PSReadLine.csproj | 2 +- Polyfill/Polyfill.csproj | 2 +- test/PSReadLine.Tests.csproj | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MockPSConsole/MockPSConsole.csproj b/MockPSConsole/MockPSConsole.csproj index e934b2446..73766831e 100644 --- a/MockPSConsole/MockPSConsole.csproj +++ b/MockPSConsole/MockPSConsole.csproj @@ -18,7 +18,7 @@ - + diff --git a/PSReadLine/PSReadLine.csproj b/PSReadLine/PSReadLine.csproj index 8ab6ce965..38b8f6430 100644 --- a/PSReadLine/PSReadLine.csproj +++ b/PSReadLine/PSReadLine.csproj @@ -22,7 +22,7 @@ - + diff --git a/Polyfill/Polyfill.csproj b/Polyfill/Polyfill.csproj index c6b7ee481..bcc2fcb24 100644 --- a/Polyfill/Polyfill.csproj +++ b/Polyfill/Polyfill.csproj @@ -12,7 +12,7 @@ - + diff --git a/test/PSReadLine.Tests.csproj b/test/PSReadLine.Tests.csproj index e79fa34e8..b6c4625f0 100644 --- a/test/PSReadLine.Tests.csproj +++ b/test/PSReadLine.Tests.csproj @@ -19,12 +19,12 @@ - + - + From c20014a9023655be0ca2f51f91414d41092b5ddf Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Thu, 17 Aug 2023 10:05:06 -0700 Subject: [PATCH 5/6] Update change log --- PSReadLine/Changes.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PSReadLine/Changes.txt b/PSReadLine/Changes.txt index b5186a008..f28a71322 100644 --- a/PSReadLine/Changes.txt +++ b/PSReadLine/Changes.txt @@ -1,10 +1,12 @@ -### [2.3.2-beta2] - 2023-08-15 +### [2.3.2-beta2] - 2023-08-17 - Work around `InvalidOperationException` from Console API (#3755) (Thanks @jazzdelightsme!) - Add the `TerminateOrphanedConsoleApps` option on Windows to kill orphaned console-attached process that may mess up reading from Console input (#3764) (Thanks @jazzdelightsme!) - Fix bot to add `needs-triage` label to newly opened issue (#3772) - Update `actions/checkout` used in GitHub action to v3 (#3773) - Supports the text-object command `diw` in the VI edit mode (#2059) (Thanks @springcomp!) +- Fix `NullReferenceException` when processing event subscribers (#3781) +- Point to `F7History` in the comment of the `F7` key-binding sample (#3782) [2.3.2-beta2]: https://github.com/PowerShell/PSReadLine/compare/v2.3.1-beta1...v2.3.2-beta2 From 5a71f645d86ca70d687ae116cbad4be2786046fc Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Thu, 17 Aug 2023 13:07:24 -0700 Subject: [PATCH 6/6] Revert the skip-help change --- .vsts-ci/releaseBuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vsts-ci/releaseBuild.yml b/.vsts-ci/releaseBuild.yml index 1453076a0..e30050035 100644 --- a/.vsts-ci/releaseBuild.yml +++ b/.vsts-ci/releaseBuild.yml @@ -42,7 +42,7 @@ stages: Write-Host "PS Version: $($($PSVersionTable.PSVersion))" Set-Location -Path '$(Build.SourcesDirectory)\PSReadLine' .\build.ps1 -Bootstrap - .\build.ps1 -Configuration Release -Framework net462 + .\build.ps1 -Configuration Release -Framework net462 -CheckHelpContent # Set target folder paths New-Item -Path .\bin\Release\NuGetPackage -ItemType Directory > $null