Skip to content

Commit

Permalink
Prepare for the v2.4.0-beta0 release of PSReadLine (#3962)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxian-dbw committed Mar 2, 2024
1 parent ce2302c commit 5efe2ef
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .vsts-ci/releaseBuild.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion MockPSConsole/MockPSConsole.csproj
Expand Up @@ -18,7 +18,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.PowerShell.SDK" version="7.2.13" />
<PackageReference Include="Microsoft.PowerShell.SDK" version="7.2.18" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion PSReadLine.build.ps1
Expand Up @@ -160,7 +160,8 @@ task LayoutModule BuildPolyfiller, BuildMainModule, {
$version = $versionInfo.FileVersion
$semVer = $versionInfo.ProductVersion

if ($semVer -match "(.*)-(.*)") {
# dotnet build may add the Git commit hash to the 'ProductVersion' attribute with this format: +<commit-hash>.
if ($semVer -match "(.*)-([^\+]*)(?:\+.*)?") {
# Make sure versions match
if ($matches[1] -ne $version) { throw "AssemblyFileVersion mismatch with AssemblyInformationalVersion" }
$prerelease = $matches[2]
Expand Down
18 changes: 18 additions & 0 deletions PSReadLine/Changes.txt
@@ -1,3 +1,21 @@
### [2.4.0-beta0] - 2024-03-01

- Fix the null-reference exception when running `Debug-Job` on a thread job (#3957)
- Add needed permission to the workflow (#3944, #3945, #3946)
- Fix copying text to system clipboard on Linux using xclip (#3937)
- Use the correct directory separator for tab completion based on the platform we are working with (#3935)
- Update the minimal PS version required to be 5.1 (#3936)
- Little code style cleanup for the `GetCompletions()` method (#3898)
- Stop trying to de-duplicate completion results (#3897)
- Windows keyboard layout handling: get the current layout from the parent terminal process (#3786) (Thanks @ForNeVeR!)
- Add "resolution no activity" label to the bot-close list (#3852)
- Fix a few VI key handlers to close edit group properly (#3845)
- Update the documentation issue template to point to the PowerShell-Doc repo (#3839, #3840, #3841)
- Handle large history file properly by reading lines in the streaming way (#3810)
- Update build script to always include the `ProjectUri` info (#3821)

[2.4.0-beta0]: https://github.com/PowerShell/PSReadLine/compare/v2.3.4...v2.4.0-beta0

### [2.3.4] - 2023-10-02

- Choose the inline prediction color based on the environment (#3808)
Expand Down
8 changes: 4 additions & 4 deletions PSReadLine/PSReadLine.csproj
Expand Up @@ -5,9 +5,9 @@
<RootNamespace>Microsoft.PowerShell.PSReadLine</RootNamespace>
<AssemblyName>Microsoft.PowerShell.PSReadLine2</AssemblyName>
<NoWarn>$(NoWarn);CA1416</NoWarn>
<AssemblyVersion>2.3.4.0</AssemblyVersion>
<FileVersion>2.3.4</FileVersion>
<InformationalVersion>2.3.4</InformationalVersion>
<AssemblyVersion>2.4.0.0</AssemblyVersion>
<FileVersion>2.4.0</FileVersion>
<InformationalVersion>2.4.0-beta0</InformationalVersion>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<TargetFrameworks>net462;net6.0</TargetFrameworks>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
Expand All @@ -22,7 +22,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="System.Management.Automation" Version="7.2.13" />
<PackageReference Include="System.Management.Automation" Version="7.2.18" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion PSReadLine/PSReadLine.psd1
@@ -1,7 +1,7 @@
@{
RootModule = 'PSReadLine.psm1'
NestedModules = @("Microsoft.PowerShell.PSReadLine2.dll")
ModuleVersion = '2.3.4'
ModuleVersion = '2.4.0'
GUID = '5714753b-2afd-4492-a5fd-01d9e2cff8b5'
Author = 'Microsoft Corporation'
CompanyName = 'Microsoft Corporation'
Expand Down
2 changes: 1 addition & 1 deletion Polyfill/Polyfill.csproj
Expand Up @@ -12,7 +12,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="System.Management.Automation" Version="7.2.13" />
<PackageReference Include="System.Management.Automation" Version="7.2.18" />
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net462'">
Expand Down
2 changes: 1 addition & 1 deletion test/PSReadLine.Tests.csproj
Expand Up @@ -24,7 +24,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.13" />
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.18" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 5efe2ef

Please sign in to comment.