Skip to content

Commit 5efe2ef

Browse files
authored
Prepare for the v2.4.0-beta0 release of PSReadLine (#3962)
1 parent ce2302c commit 5efe2ef

File tree

8 files changed

+29
-10
lines changed

8 files changed

+29
-10
lines changed

.vsts-ci/releaseBuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ stages:
4242
Write-Host "PS Version: $($($PSVersionTable.PSVersion))"
4343
Set-Location -Path '$(Build.SourcesDirectory)\PSReadLine'
4444
.\build.ps1 -Bootstrap
45-
.\build.ps1 -Configuration Release -Framework net462 -CheckHelpContent
45+
.\build.ps1 -Configuration Release -Framework net462
4646
4747
# Set target folder paths
4848
New-Item -Path .\bin\Release\NuGetPackage -ItemType Directory > $null

MockPSConsole/MockPSConsole.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</ItemGroup>
1919

2020
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
21-
<PackageReference Include="Microsoft.PowerShell.SDK" version="7.2.13" />
21+
<PackageReference Include="Microsoft.PowerShell.SDK" version="7.2.18" />
2222
</ItemGroup>
2323

2424
<ItemGroup>

PSReadLine.build.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ task LayoutModule BuildPolyfiller, BuildMainModule, {
160160
$version = $versionInfo.FileVersion
161161
$semVer = $versionInfo.ProductVersion
162162

163-
if ($semVer -match "(.*)-(.*)") {
163+
# dotnet build may add the Git commit hash to the 'ProductVersion' attribute with this format: +<commit-hash>.
164+
if ($semVer -match "(.*)-([^\+]*)(?:\+.*)?") {
164165
# Make sure versions match
165166
if ($matches[1] -ne $version) { throw "AssemblyFileVersion mismatch with AssemblyInformationalVersion" }
166167
$prerelease = $matches[2]

PSReadLine/Changes.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
### [2.4.0-beta0] - 2024-03-01
2+
3+
- Fix the null-reference exception when running `Debug-Job` on a thread job (#3957)
4+
- Add needed permission to the workflow (#3944, #3945, #3946)
5+
- Fix copying text to system clipboard on Linux using xclip (#3937)
6+
- Use the correct directory separator for tab completion based on the platform we are working with (#3935)
7+
- Update the minimal PS version required to be 5.1 (#3936)
8+
- Little code style cleanup for the `GetCompletions()` method (#3898)
9+
- Stop trying to de-duplicate completion results (#3897)
10+
- Windows keyboard layout handling: get the current layout from the parent terminal process (#3786) (Thanks @ForNeVeR!)
11+
- Add "resolution no activity" label to the bot-close list (#3852)
12+
- Fix a few VI key handlers to close edit group properly (#3845)
13+
- Update the documentation issue template to point to the PowerShell-Doc repo (#3839, #3840, #3841)
14+
- Handle large history file properly by reading lines in the streaming way (#3810)
15+
- Update build script to always include the `ProjectUri` info (#3821)
16+
17+
[2.4.0-beta0]: https://github.com/PowerShell/PSReadLine/compare/v2.3.4...v2.4.0-beta0
18+
119
### [2.3.4] - 2023-10-02
220

321
- Choose the inline prediction color based on the environment (#3808)

PSReadLine/PSReadLine.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<RootNamespace>Microsoft.PowerShell.PSReadLine</RootNamespace>
66
<AssemblyName>Microsoft.PowerShell.PSReadLine2</AssemblyName>
77
<NoWarn>$(NoWarn);CA1416</NoWarn>
8-
<AssemblyVersion>2.3.4.0</AssemblyVersion>
9-
<FileVersion>2.3.4</FileVersion>
10-
<InformationalVersion>2.3.4</InformationalVersion>
8+
<AssemblyVersion>2.4.0.0</AssemblyVersion>
9+
<FileVersion>2.4.0</FileVersion>
10+
<InformationalVersion>2.4.0-beta0</InformationalVersion>
1111
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
1212
<TargetFrameworks>net462;net6.0</TargetFrameworks>
1313
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
@@ -22,7 +22,7 @@
2222
</ItemGroup>
2323

2424
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
25-
<PackageReference Include="System.Management.Automation" Version="7.2.13" />
25+
<PackageReference Include="System.Management.Automation" Version="7.2.18" />
2626
</ItemGroup>
2727

2828
<ItemGroup>

PSReadLine/PSReadLine.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@{
22
RootModule = 'PSReadLine.psm1'
33
NestedModules = @("Microsoft.PowerShell.PSReadLine2.dll")
4-
ModuleVersion = '2.3.4'
4+
ModuleVersion = '2.4.0'
55
GUID = '5714753b-2afd-4492-a5fd-01d9e2cff8b5'
66
Author = 'Microsoft Corporation'
77
CompanyName = 'Microsoft Corporation'

Polyfill/Polyfill.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</ItemGroup>
1313

1414
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
15-
<PackageReference Include="System.Management.Automation" Version="7.2.13" />
15+
<PackageReference Include="System.Management.Automation" Version="7.2.18" />
1616
</ItemGroup>
1717

1818
<PropertyGroup Condition="'$(TargetFramework)' == 'net462'">

test/PSReadLine.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</ItemGroup>
2525

2626
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
27-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.13" />
27+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.18" />
2828
</ItemGroup>
2929

3030
<ItemGroup>

0 commit comments

Comments
 (0)