Repository navigation
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:
| Check | Result |
|---|---|
| Final release commit | dd906e7fce5ec499c16e16ed2ceb366ffa5fe6f6 |
| CI on that commit | 14 successful checks; one expected skip |
| PowerShell Gallery | Find-Module PSPublishModule returns 3.0.193 |
| NuGet | All 13 packages downloaded and their identities and versions checked |
| GitHub | All 41 uploaded assets match the local release SHA-256 digests; NuGet packages also match their public downloads |
| Public PowerShell module | All 71 checked signatures are valid |
| Fresh Windows PowerShell 5.1 and PowerShell 7 sessions | The downloaded builder imports and runs; importing it loads no OfficeIMO assemblies |
| Module built using the downloaded builder | Binary 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 CLI | Valid signature; reports 3.0.193+dd906e7fce5ec499c16e16ed2ceb366ffa5fe6f6 |
What's Changed
- Update NativeAOT smoke runtime packs for November servicing by @PrzemyslawKlys in #1265
- Allow slower dependency detector downloads by @PrzemyslawKlys in #1266
- Declare and refresh portable benchmark evidence catalogs by @PrzemyslawKlys in #1267
- Fix module coexistence in Windows PowerShell 5.1 by @PrzemyslawKlys in #1270
- Preserve complete native NuGet dependency graphs by @PrzemyslawKlys in #1269
- Preserve documentation Markdown and expose technical article metadata by @PrzemyslawKlys in #1268
- Render benchmark comparisons from evidence catalogs at build time by @PrzemyslawKlys in #1271
Full Changelog: v3.0.192...v3.0.193