Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

Stars48
Forks15
Open issues0
PowerShell Gallery downloads17213
Releasev3.0.195
Language: C# Updated: 2026-11-23

Install

PowerShell Gallery

Install-Module PSPublishModule -Scope CurrentUser

Source checkout

git clone https://github.com/EvotecIT/PSPublishModule.git

Downloads

Changelog

PowerForge Native 3.0.195 Preview

PreviewLatest Preview

PowerForge Native is a standalone preview for Windows x64 and Linux x64. The native launcher runs powerforge module install and powerforge module restore without loading PowerShell. Frozen restore checks the SHA-256 of each package against the lock file before installing it.

Extract the ZIP for your platform and keep the full directory alongside the powerforge launcher. It contains the managed CLI for commands such as build, publish, and test. The PowerForge.Build .NET tool is still available for the managed installation.

The Windows and Linux archives passed tests for module installation, frozen restore, altered-package rejection, and forwarding to the managed CLI. The Windows launcher and managed executable are signed and timestamped. Use SHA256SUMS to verify the downloads.

For a .NET project that only needs module installation or restore, reference PowerForge.Modules 3.0.195 on its own. Projects that already use the published PowerForge 3.0.195 package can keep using the module types it includes. Referencing both published 3.0.195 packages together produces duplicate module types.

PSPublishModule 3.0.195

Latest Stable

What's Changed

Full Changelog: Compare v3.0.194 to v3.0.195

PSPublishModule 3.0.194

What's Changed

Full Changelog: Compare v3.0.193 to v3.0.194

PSPublishModule 3.0.193

I have released PSPublishModule and PowerForge 3.0.193 with the Windows PowerShell 5.1 coexistence fixes and all current build, documentation and website fixes on main.

Module loading and documentation

  • Generated Desktop loaders register their resolver before dependency preloading and place it ahead of earlier version-blind handlers. Resolution stays scoped to the module's own assemblies and exact declared references when the requester is unknown.
  • Formatted documentation rendering uses a short-lived Windows PowerShell process, so importing PSPublishModule no longer pins its older unsigned OfficeIMO copies in the shared session.
  • Mixed V1/V2 modules retain type-accelerator ownership and handover. Stopping documentation collection also stops active command-help invocations.
  • Documentation Markdown is preserved, and technical article metadata is exposed to website templates.

Before this release, importing dbatools first could break PSPublishModule's TimeProvider binding, and importing PSPublishModule first could prevent a newer OfficeIMO-based module from loading. In the 24-order Windows PowerShell 5.1 comparison, PSPublishModule improved from 17/24 imports to 24/24, and PSWriteOffice from 12/24 to 24/24. The twelve DbaClientX failures were unchanged baseline failures, outside these fixes.

Rebuild modules to include the corrected V2 loader; updating the builder does not rewrite modules already installed. Ordinary dependency resolution rejects older assemblies. Existing explicit, hash-verified facade mappings remain separate exceptions. Native testing covers .NET Framework 4.8.1, with compilation targeting net472.

PowerForge builds and websites

  • Benchmark evidence catalogs can be declared, refreshed and used to render comparisons at build time. Comparison views keep different cases, operations and job settings separate.
  • BenchmarkDotNet imports preserve case parameters while separating shared job settings. Scriban's loop limit is configurable, and highlighted layouts load Prism when needed.
  • Native NuGet dependency graphs retain their complete dependency closure.
  • Dependency detection allows slower downloads, and NativeAOT smoke checks use the November-serviced runtime packs.

Changes: #1265, #1266, #1267, #1268, #1269, #1270, #1271.

Publication checks

I verified the published packages after the release:

CheckResult
Final release commitdd906e7fce5ec499c16e16ed2ceb366ffa5fe6f6
CI on that commit14 successful checks; one expected skip
PowerShell GalleryFind-Module PSPublishModule returns 3.0.193
NuGetAll 13 packages downloaded and their identities and versions checked
GitHubAll 41 uploaded assets match the local release SHA-256 digests; NuGet packages also match their public downloads
Public PowerShell moduleAll 71 checked signatures are valid
Fresh Windows PowerShell 5.1 and PowerShell 7 sessionsThe downloaded builder imports and runs; importing it loads no OfficeIMO assemblies
Module built using the downloaded builderBinary cmdlet and script function both run in fresh 5.1 and 7.6.10 sessions, without loading PSPublishModule into the consumer session
Published Windows x64 CLIValid signature; reports 3.0.193+dd906e7fce5ec499c16e16ed2ceb366ffa5fe6f6

What's Changed

Full Changelog: Compare v3.0.192 to v3.0.193

PSPublishModule 3.0.192

What's Changed

Full Changelog: Compare v3.0.191 to v3.0.192

PSPublishModule 3.0.191

What's Changed

Full Changelog: Compare v3.0.190 to v3.0.191

Verification

Release source 9d6f6e906fcde3702ad1969990fb8cc3e7d81bb3 includes the help-description refresh and release-recovery repairs.

  • All 41 public GitHub assets match the native release hashes, including all 11 CLI archives. All 13 public NuGet payloads match the release artifacts and pass dotnet nuget verify --all.
  • The Gallery module and GitHub module archive contain the same 81 payload files. The 12 checked module signatures and three Windows CLI signatures are valid, timestamped, and use the configured release certificate. Both Windows x64 CLIs pass their startup checks.
  • The downloaded Gallery package passes DocumentationEngine.Build checks on Windows PowerShell 5.1.26100.9818 and PowerShell 7.6.9. Output descriptions refresh from XML documentation over existing MAML. Empty or missing XML retains the generated output description. Both MAML files and LF-only Markdown pass the output-description fixture checks. The published 3.0.190 package reproduces the stale-output-description failure on both runtimes. Maintained fixture, regression coverage.

PSPublishModule 3.0.190

What's Changed

Full Changelog: Compare v3.0.189 to v3.0.190

PSPublishModule 3.0.189

What's Changed

Full Changelog: Compare v3.0.188 to v3.0.189

Consulting track

Need help taking this into production?

PowerShell Module Engineering

  • Module structure, command shape, and reusable helper boundaries.
  • Packaging, publishing, signing, and release automation strategy.
  • Examples, docs, and adoption surfaces that support long-term use.

We offer implementation, remediation, automation design, and delivery support around the platforms behind this project.