Skip to content

Releases: psake/PowerShellBuild

[0.8.2] 2026-07-08

Choose a tag to compare

@tablackburn tablackburn released this 09 Jul 01:54
57d7953

Fixed

  • #133
    Test-PSBuildPester now fails the build when a Pester run fails for any
    reason, not only when individual tests fail. Previously the function gated
    only on FailedCount, so a BeforeAll/AfterAll that 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
    Result property, 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

Choose a tag to compare

@tablackburn tablackburn released this 04 Jun 03:20
7103ced

Fixed

  • Restore Windows PowerShell 5.1 (Desktop edition) compatibility, which regressed
    in 0.8.0. Get-PSBuildCertificate used 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 an if/else expression, and the $IsWindows
    platform guard now treats the absent automatic variable on Desktop edition as
    Windows (matching the existing pattern in Build-PSBuildUpdatableHelp). Behavior
    on PowerShell 7+ is unchanged.

[0.8.0] 2026-02-20

Choose a tag to compare

@HeyItsGilbert HeyItsGilbert released this 21 Feb 00:41
79418d3

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 objects
    • Invoke-PSBuildModuleSigning - Signs PowerShell module files (*.psd1,
      *.psm1, *.ps1) with Authenticode signatures supporting configurable
      timestamp servers and hash algorithms
    • New-PSBuildFileCatalog - Creates Windows catalog (.cat) files for
      tamper detection
  • New build tasks for module signing pipeline: SignModule, BuildCatalog,
    SignCatalog, Sign (meta-task)
  • Extended $PSBPreference.Sign configuration 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

Choose a tag to compare

@HeyItsGilbert HeyItsGilbert released this 02 Aug 00:12
1262237

Added

  • Add new dependencies variables to allow end user to modify which tasks are
    run.
  • Add localization support.

[0.7.2] 2025-05-21

Choose a tag to compare

@HeyItsGilbert HeyItsGilbert released this 01 Aug 21:56
51be9ec

Added

  • The $PSBPreference variable now supports the following PlatyPS New-MarkdownHelp and Update-MarkdownHelp boolean
    options:
    • $PSBPreference.Docs.AlphabeticParamsOrder
    • $PSBPreference.Docs.ExcludeDontShow
    • $PSBPreference.Docs.UseFullTypeName
  • The $PSBPreference variable now supports the following Pester test
    configuration options:
    • $PSBPreference.Test.SkipRemainingOnFailure can be set to None,
      Run, Container and Block. The default value is None.
    • $PSBPreference.Test.OutputVerbosity can be set to None, Normal,
      Detailed, and Diagnostic. The default value is Detailed.

[0.7.1] 2025-04-01

Choose a tag to compare

@HeyItsGilbert HeyItsGilbert released this 01 Aug 21:54
03f22ec

Fixes

  • Fix a bug in Build-PSBuildMarkdown where a hashtable item was added twice.

v0.6.1

Choose a tag to compare

@devblackops devblackops released this 14 Mar 23:42
b1efdb7

[0.6.1] 2021-03-14

Fixed

  • Fixed bug in IB task GenerateMarkdown when dot sourcing precondition

v0.6.0

Choose a tag to compare

@devblackops devblackops released this 14 Mar 23:26
0b59a58

[0.6.0] 2021-03-14

Changed

  • #50 Invoke-Build tasks brought inline with psake equivalents (via @JustinGrote)

v0.5.0

Choose a tag to compare

@devblackops devblackops released this 28 Feb 05:33
d8810ac

[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

Choose a tag to compare

@devblackops devblackops released this 09 Jun 07:05

[0.3.1] - 2019-06-09

Fixed

  • Don't create module page MD file.