Releases: psake/PowerShellBuild
Releases · psake/PowerShellBuild
Release list
[0.8.2] 2026-07-08
Fixed
- #133
Test-PSBuildPesternow fails the build when a Pester run fails for any
reason, not only when individual tests fail. Previously the function gated
only onFailedCount, so aBeforeAll/AfterAllthat threw or a test file
that errored during discovery left the count at zero and the build passed
despite tests never running. The gate now checks the run's aggregate
Resultproperty, which Pester derives from all failure categories.
Companion to #128,
which fixes the same gap in this repository's own build file.
[0.8.1] 2026-06-03
Fixed
- Restore Windows PowerShell 5.1 (Desktop edition) compatibility, which regressed
in 0.8.0.Get-PSBuildCertificateused the PowerShell 7+-only ternary operator,
causing the file to fail to parse and the whole module to fail to import under
Windows PowerShell 5.1 — even though the manifest still declares support for it.
The ternary is replaced with anif/elseexpression, and the$IsWindows
platform guard now treats the absent automatic variable on Desktop edition as
Windows (matching the existing pattern inBuild-PSBuildUpdatableHelp). Behavior
on PowerShell 7+ is unchanged.
[0.8.0] 2026-02-20
Added
- #92 Add Authenticode
code-signing support for PowerShell modules with three new public functions:Get-PSBuildCertificate- Resolves code-signing X509Certificate2 objects
from certificate store, PFX files, Base64-encoded environment variables,
or pre-resolved certificate objectsInvoke-PSBuildModuleSigning- Signs PowerShell module files (*.psd1,
*.psm1, *.ps1) with Authenticode signatures supporting configurable
timestamp servers and hash algorithmsNew-PSBuildFileCatalog- Creates Windows catalog (.cat) files for
tamper detection
- New build tasks for module signing pipeline:
SignModule,BuildCatalog,
SignCatalog,Sign(meta-task) - Extended
$PSBPreference.Signconfiguration section with certificate
source selection, timestamp server configuration, hash algorithm options,
and catalog generation settings
Fixed
- Remove extra backticks during localization text migration.
[0.7.3] 2025-08-01
Added
- Add new dependencies variables to allow end user to modify which tasks are
run. - Add localization support.
[0.7.2] 2025-05-21
Added
- The
$PSBPreferencevariable now supports the following PlatyPSNew-MarkdownHelpandUpdate-MarkdownHelpboolean
options:$PSBPreference.Docs.AlphabeticParamsOrder$PSBPreference.Docs.ExcludeDontShow$PSBPreference.Docs.UseFullTypeName
- The
$PSBPreferencevariable now supports the following Pester test
configuration options:$PSBPreference.Test.SkipRemainingOnFailurecan be set to None,
Run, Container and Block. The default value is None.$PSBPreference.Test.OutputVerbositycan be set to None, Normal,
Detailed, and Diagnostic. The default value is Detailed.
[0.7.1] 2025-04-01
Fixes
- Fix a bug in
Build-PSBuildMarkdownwhere a hashtable item was added twice.
v0.6.1
[0.6.1] 2021-03-14
Fixed
- Fixed bug in IB task
GenerateMarkdownwhen dot sourcing precondition
v0.6.0
[0.6.0] 2021-03-14
Changed
- #50 Invoke-Build tasks brought inline with psake equivalents (via @JustinGrote)
v0.5.0
[0.5.0] 2021-02-27
Added
- New code coverage parameters for setting output path and format:
$PSBPreference.Test.CodeCoverage.OutputFile- Output file path for code coverage results$PSBPreference.Test.CodeCoverage.OutputFileFormat- Code coverage output format
v0.3.1
[0.3.1] - 2019-06-09
Fixed
- Don't create module page MD file.