diff --git a/ParallelKit.ps1 b/ParallelKit.ps1 index d84c1e6..59d28af 100644 --- a/ParallelKit.ps1 +++ b/ParallelKit.ps1 @@ -2,7 +2,7 @@ # graceful Ctrl+C/window-close handling for Windows PowerShell 5.1 and # PowerShell 7. # -# Version 4.2 - https://github.com/HalRiveria/PowerShell-ParallelKit +# Version 4.3 - https://github.com/HalRiveria/PowerShell-ParallelKit # (Initialize-ParallelKit reports the version too: change both together. The # module's manifest takes it from here.) # Copyright (c) 2026 HalRiveria. MIT License: keep this notice with any copy; @@ -1256,7 +1256,7 @@ function Initialize-ParallelKit { $jobOk = Initialize-PkChildProcessJob # Keep in step with the Version line in this file's header; the harness # checks they match. - $version = [version]'4.2' + $version = [version]'4.3' return [pscustomobject][ordered]@{ AbortHandler = $handlerOk; ChildProcessJob = $jobOk; Version = $version; StartMode = [PkChildProcessJob]::StartMode } } diff --git a/README.md b/README.md index bb0f83f..e8e486d 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ Each one has built-in help: `Get-Help Invoke-PkProcessBatch -Full` shows its par ## Setup -Requires Windows, with Windows PowerShell 5.1 or PowerShell 7. Download `ParallelKit.ps1` from the [Releases page](https://github.com/HalRiveria/PowerShell-ParallelKit/releases) (this README describes version 4.2 and later), put it in your project, and dot-source it from your script: +Requires Windows, with Windows PowerShell 5.1 or PowerShell 7. Download `ParallelKit.ps1` from the [Releases page](https://github.com/HalRiveria/PowerShell-ParallelKit/releases) (this README describes version 4.3 and later), put it in your project, and dot-source it from your script: ```powershell . "$PSScriptRoot\ParallelKit.ps1" @@ -180,7 +180,7 @@ Import-Module C:\Modules\ParallelKit Installed, or built into a `ParallelKit` folder somewhere on `$env:PSModulePath`, `Import-Module ParallelKit` finds it by name, and so does a call to any of its functions without importing it first. The rest of this README applies either way. -The module's version always has three parts: the kit's X.Y (what `Initialize-ParallelKit` reports) is the module's X.Y.0, and an X.Y.Z version stays as it is. So for 4.2, `Get-Module ParallelKit` shows 4.2.0, and that's the version `Import-Module -RequiredVersion` takes. +The module's version always has three parts: the kit's X.Y (what `Initialize-ParallelKit` reports) is the module's X.Y.0, and an X.Y.Z version stays as it is. So for 4.3, `Get-Module ParallelKit` shows 4.3.0, and that's the version `Import-Module -RequiredVersion` takes.
If the import is refused