Skip to content

Latest commit

 

History

History
321 lines (271 loc) · 32.5 KB

CHANGELOG.MD

File metadata and controls

321 lines (271 loc) · 32.5 KB

PSPublishModule Changelog

Unreleased

What's Changed

  • Explain delivery collisions, missing staged delivery folders, and invalid module locations with the affected paths and settings. Report the effective signing filters when they leave no files to sign, and list the artefacts the build produced when a GitHub release needs a ZIP.
  • Allow delivery files such as Modules/Setup.ps1 to sit alongside bundled modules in ZIP and unpacked artefacts. Preserve authored files when staging embedded dependencies.
  • Check the configured code-signing certificate before a signed module build stages files, including when delivery signing enables signing. Invalid or unavailable certificates stop the build early. Plan-only and unsigned builds leave signing credentials untouched.
  • Set PowerForgePackaging=true on every restore, build, pack and evaluation of a project build, so a project can keep packaging-only settings out of ordinary restores. A RID-specific .NET tool can list its ToolPackageRuntimeIdentifiers and RuntimeIdentifiers only under that condition, and normal restores no longer download every platform's runtime, app host and ReadyToRun packs.
  • Import binary modules without loading Microsoft.PowerShell.Utility. The generated .psm1 used Add-Type, Select-Object, Set-Alias, New-Object and Remove-Variable, and the first use of any of them imports that module, which costs about 110 ms in a fresh PowerShell 7.6 process. The loader now comes in through Import-Module, binary-module aliases are defined at the module scope through the alias provider, and the rest uses .NET or session state calls. Windows PowerShell preloads the generated dependency list in one compiled call after checking for version conflicts.
  • Add opt-in ReadyToRun payloads for binary modules (New-ConfigurationBuild -NETReadyToRun, or Build.ReadyToRun in JSON). The build publishes a precompiled net10.0 payload per runtime identifier into Lib/Core-ReadyToRun-<rid>, and PowerShell 7.6 on a matching platform loads it instead of the portable build, which cuts first-call time. Other PowerShell 7 hosts and Windows PowerShell keep the portable payloads. -NETReadyToRunRuntimeIdentifier limits the platforms and -NETReadyToRunScope chooses between precompiling the module's own assemblies (default) or every assembly. Precompiled assemblies are signed with the rest of the module. Modules that don't set it build as before.
  • Pack RID-specific .NET tools (ToolPackageRuntimeIdentifiers, including the any fallback) in project builds. Each runtime is built and published on its own and packed from that output, so ReadyToRun assemblies are signed after they are compiled. Signing covers every assembly a runtime package ships, including dependencies, without turning on SignDependencyAssemblies for the rest of the build. The per-runtime packages are verified, signed and published with the tool, ahead of the package that points to them.
  • Put an iPhone Duo simulator into the closed or open pose before a capture with apple-simulator run --duo-pose. PowerForge confirms the pose from a screenshot of the outer or inner display at its App Store size, then passes the display to the command in POWERFORGE_DUO_DISPLAY. Xcode has no public hinge command, so PowerForge asks the person to set the pose in Device Hub and waits for it. With --duo-fold-tool (or POWERFORGE_DUO_FOLD_TOOL) it first tries the pinned duoctl 0.2.1 release, which uses private simulator interfaces, and falls back to the prompt when that doesn't produce the pose.
  • Preserve calls through approved module aliases when their script targets are merged. Report aliases that cannot be embedded or would conflict in the built module.
  • Follow approved-module helper calls in their original donor scope and fail the build when the merged package cannot preserve a command binding or runtime requirement.
  • Resolve the export assemblies and Windows PowerShell dependencies of binary modules when the module is built, so the generated .psm1 and .Libraries.ps1 no longer search Lib on every import. An export assembly that matches more than one nested Lib file now fails the build instead of the import. The generated loader runs in its own scope and leaves only its $PowerForge… state in the module.
  • Load binary and hybrid modules through a precompiled, signed-with-the-module loader (Loader/Core and Loader/Desktop) instead of script-level reflection, Add-Type -TypeDefinition compilation and private PSModuleInfo export calls, which endpoint protection such as Cortex XDR flagged at import. AssemblyLoadContext isolation, the Windows PowerShell resolver, type accelerators (AllowList, Assembly, Enums) with cleanup on Remove-Module, shared assemblies and development binaries keep their configuration. Module builds no longer need the .NET SDK to compile a per-module load context helper. Binary module commands and aliases stay available when the module is imported again (Import-Module -Force, including from a child scope such as a Pester BeforeAll, or after Remove-Module).
  • Handle version conflicts between modules clearly. Windows PowerShell reuses an already loaded dependency of the same major.minor and the same or a newer patch with one warning naming both modules, and stops with one actionable message for other versions. The check compares version numbers only: if a reused copy still lacks a type the module needs, the import stops with the same explanation instead of a raw type-load error. Accelerator conflicts are reported once per module and pass to the next module when their owner is removed.
  • Package every file a module manifest loads (RootModule, NestedModules, RequiredAssemblies, ScriptsToProcess, TypesToProcess, FormatsToProcess) even when the include patterns miss it, so a format file outside the default root includes no longer leaves a module that cannot import. A manifest entry whose file is missing from staging stops the artefact build with the manifest key and file name.
  • Resolve signing and package payload checks separately for every framework through MSBuild's TargetDir and TargetPath, with relative paths anchored to the project. Use a matching conventional framework directory only as a fallback, and fail when any framework remains unresolved.
  • Allow PowerShell-authored module builds to reuse prepared staging through the same no-rebuild controls as JSON-configured builds.
  • Resume a partially published coordinated release with ReusePreparedPackages to reuse its verified NuGet packages, symbols and project ZIPs without rebuilding or signing them again. Preserve the original checkpoint when recovery prerequisites or cached contents do not match.
  • Split a website pipeline's consecutive apidocs steps across several machines with pipeline --split-phase prepare|finish and the shared website workflows' apidocs_shards input. Shards rebuild the earlier steps, run a size-balanced share of the API docs, and archive what they produced; the finishing job verifies the archives cover every generator run exactly once and agree on shared files before running the remaining steps.
  • Preserve commands exported as Values, dictionary defaults with member names such as Count, and dictionary enumeration in help extraction and build helpers.
  • Keep accelerator registration and removal on the same monitor when an exported type is named SyncRoot.
  • Sign only build-owned files in retained Script artefacts. Validate mapped destination kinds against prepared dependency payloads before clearing module output, then reuse those prepared files for delivery.
  • Preserve directory entries, including empty folders, in legacy artefact CopyFiles mappings without copying unselected files. Validate copy sources and destination conflicts before changing existing artefact output.
  • Collect parameters named Keys without confusing their metadata with a dictionary's key collection or expanding that metadata during JSON serialization.
  • Preserve each parameter set's named or positional binding in generated PowerShell syntax help.
  • Retain private System.Management binaries in modern isolated module payloads, including Windows runtime assets. Preserve versioned library exclusions during dependency repair.
  • Resolve relative TOC links against evaluated collection output paths, including project and language prefixes, nested and index Markdown links, while retaining warnings for missing pages.
  • Preserve literal reserved characters in content output directories and encode them in canonical, social, and sitemap URLs.
  • Finalize unpacked module and delivery layouts after runtime support files are copied, so signing covers the delivered scripts as it does in ZIP packages. Keep retained caller files and removed disabled provenance out of signing scope, and reject overlapping signing-evidence outputs.
  • Verify final Apple app and extension signatures, configured teams, embedded bundle IDs and required signed entitlements before unified release export/upload; expose the same checks for standalone archive uploads. Honor the configured verification timeout and preserve existing recovery receipt identities when no entitlement keys are required.
  • Resolve C# API documentation dependencies from every documented assembly's output and dependency manifest in a collectible context, keeping the CLI's application dependencies out of reflection.
  • Preserve site-relative API suite routes on Linux instead of converting them to file URLs.
  • Sign standalone PowerForge and PowerForgeWeb Windows executables before packaging their release archives, and stop publication when signing or publisher verification fails.
  • Complete the package phase's exact GitHub release during a combined module release with fixed versions, without enabling generic reuse of pre-existing releases.
  • Stage locally signed NuGet packages in a draft GitHub release and publish their exact files through a protected GitHub OIDC workflow, with manifest integrity checks and author-signer verification on retries.
  • Keep shared dependency prefetches coalesced after one install branch takes ownership of the download.
  • Allow up to one second for cooperative async cmdlet cleanup when a pipeline is stopped, preserving prompt cancellation for hooks that do not finish within that grace period.
  • Resolve commands from manifest modules with a same-name nested binary without treating the binary's assembly metadata as a second manifest identity; keep wrong manifest GUID and version checks.
  • Keep selected runtime installation roots available while analyzing and importing transitive dependencies, ahead of unrelated globally installed module versions, and retain the build-entry search path for import validation.
  • Analyze the selected required-module versions when checking binary conflicts and import order, so unrelated newer installations do not change the build's dependency ordering or warnings.
  • Keep selected runtime dependencies ahead of their dependants when applying binary import preferences, and analyze approved helpers in that selected dependency context instead of autoloading newer installed versions.
  • Preserve module import errors in command-analysis reports and verbose build logs, including when another helper defines the same command, so a loader failure is distinguishable from a missing command.
  • Support native Windows PowerShell 5.1 AST metadata and larger selected-runtime analysis scopes without changing the caller's session capacity.
  • Recover Linux website builders with the repository's stable SDK policy, reuse compatible installed SDKs, and retain exact selection for older engine pins. Use servicing SDK floors and ordinary package restore without repository lock files.
  • Export exact route migrations as safe HTML redirect pages for GitHub Pages through the existing hosting pipeline step, preserving canonical content and API anchors.
  • Fix social-card generation failing with ImageMagick 7 while retaining ImageMagick 6 support, preserving gradient and opacity handling, and invalidating older Linux and macOS card caches so affected images regenerate.
  • Allow the public release entrypoint to bind its configured GitHub lanes to a process environment variable, preserving file credentials by default and keeping token values out of effective configuration and receipts.
  • Preserve the source bootstrapper through both deferred release passes and registry recovery, including frozen-source runs that skip module publication. Generate the current loader in staging, and report source-integrity failures as blocking the next operation without implying that earlier lanes have not published.
  • Remove each dotnet publish invocation's temporary staging directory after success or failure, retaining deployed output, checksum inputs, service state and other invocations' staging.
  • Decode approved signing lists consistently in Windows PowerShell 5.1 and PowerShell 7, and report macOS PFX imports as unsupported rather than falling back to keychain storage.
  • Use OpenAuthenticode's CMS result and explicit unsigned-file error contracts on non-Windows, pass supported signing parameters, and verify the selected signer after writing each signature.
  • Select module code-signing certificates from an ordered approved-thumbprint list, enforce the list for explicit certificates and PFX inputs, and report unusable candidates without probing private keys.
  • Keep PFX passwords and Base64 payloads out of signing child command lines; support lazy environment-variable references in build JSON and PowerShell configuration, clear child secret variables before provider operations, and import PFX keys ephemerally.
  • Add secret-free repository authentication diagnostics for native registrations, saved NuGet settings and publishing invocations, including safe failure reports and credential source metadata without decrypting stored secrets.
  • Retry Windows recovery replacements only when the native error guarantees unchanged file names; bound the delay, preserve cancellation and restore attempted partial replacements. Include the operation, asset paths and native error in recovery failures while retaining backups when rollback cannot finish.
  • Add per-artefact delivery source/destination mappings for selecting, renaming and rearranging packaged files and directories, with schema, collision checks and a packaging guide; keep DeliveryPath whole-tree copying as the default.
  • Keep source RequiredModule declarations available to the build while removing configured ApprovedModule donors from finalized manifests and package dependency graphs. Reject retained scripts, nested modules or XML that still require a removed donor, and bundle the remaining runtime dependencies.
  • Remove stale parameters from generated command help, including dynamic parameter metadata, so generated documentation matches the current command surface.
  • Add native Packed/Unpacked delivery bundle layouts with launcher/configuration files at the root or a per-artefact DeliveryPath and complete modules under configurable directories, replacing manual package relocation and ZIP creation. Validate promoted-file collisions before writing output, normalize delivery paths consistently and honor delivery signing preferences in both formats.
  • Allow locally available Windows Cloud Files inputs, including OneDrive-backed installed modules, when building artefacts while retaining strict link and finalized-output checks.
  • Read Windows directory case flags when validating artefact destinations, so empty output directories cannot hide case-only payload collisions.
  • Defer repository credential file and environment lookups until repository operations, so local builds and configuration exports do not require publishing secrets. Preserve the source through JSON configuration and resolve relative secret files against the project root.
  • Use the evaluated project version as the wildcard release baseline when no published package exists, preserve published-version priority, and persist each resolved package version locally so independently versioned references retain their package identities.
  • Keep identical shared type accelerators registered until their last module is removed, while preserving external and conflicting accelerator mappings.
  • Reject empty or unreadable Markdown readiness evidence, inspect visible main-content headings, and preserve external WebMCP renderers with explicit control bindings and unambiguous legacy observation.
  • Avoid Windows short-name expansion in generated benchmark paths while preserving deterministic names and collision resistance.
  • Fixed framework inheritdoc resolution for multi-assembly API references, added built-in summaries for common object/equality members when targeting-pack XML is unavailable, and added per-step API/command index copy. Pre-rendered headers and footers no longer warn about absent navigation placeholders.
  • PowerForge.Web PowerShell command references now read like Get-Help: syntax first, each parameter listed once with set-aware chips, Get-Help positional syntax, Module instead of Namespace, no stray PS> example lines, dedented example code, and new sectionLabel / moduleName apidocs options (with a {{SECTION_LABEL}} template token). Example code blocks no longer render a blank first line or an indented closing line.
  • Made generated module-scoped AssemblyLoadContext loaders deterministic and removed machine-specific temporary build paths from their embedded debug metadata.
  • Added side-by-side portable modern binary payloads for PowerShell modules, allowing a .NET 8 baseline and newer targets such as .NET 10 to be packaged together, checked for a consistent command surface, and selected from packaged target metadata at runtime with a safe Standard fallback.
  • Preserved aliases declared by module scripts when binary cmdlet and alias exports are discovered during packaging.
  • Made installed-module binary conflict analysis opt-in during builds; explicit pipeline conflict validation remains available when installed-state inspection is required.
  • Added portable visual-story bundle validation and staging, an optional trusted visual-story pipeline producer task, responsive site/blog shortcodes, completed PNG outcome enforcement, accessible transcripts/downloads, and API-doc story media with reduced-motion fallback.
  • Added pipeline-thread marshalling for terminating errors and ShouldContinue prompts raised after an asynchronous cmdlet await, while preserving derived cmdlet resource cleanup through virtual disposal.
  • Fixed module merging so using lines inside PowerShell here-strings and block comments remain in place instead of being moved into the generated module header.
  • Hardened the canonical AsyncPSCmdlet lifecycle with request-specific prompt and ShouldProcess replies while preserving PowerShell-thread execution until the first await.
  • Converted Task-backed App Store Connect and managed catalog cmdlets from sync-over-async blocking to cancellable asynchronous lifecycle hooks.
  • Added Import-IsolatedModule with a built-in ExchangeOnlineManagement profile that loads EXO binary assemblies through a module-scoped AssemblyLoadContext, allowing EXO's OData 7.22 dependency line to coexist with Az.Storage's OData 7.6 line in the same PowerShell 7 process.
  • Added a built-in MicrosoftTeams profile for Import-IsolatedModule that loads the Teams connect, Teams cmdlet, policy administration, and ConfigAPI binary surfaces through MicrosoftTeams.ALC.
  • Added Import-IsolatedModule -PreferIsolatedModulePath so downstream modules that import a profiled module by name can opt into resolving the generated isolated copy first for the current PowerShell process.
  • Added opt-in module-scoped UseAssemblyLoadContext / NETAssemblyLoadContext loading for binary modules. The PowerShell Core export bridge uses the private PSModuleInfo.AddExportedCmdlet method when available and falls back to a warning if a future PowerShell version removes it.
  • Preserved binary module aliases in the module-scoped AssemblyLoadContext export bridge so forced re-imports keep DSL aliases available.
  • Updated core PSPublishModule/PowerForge package references used by the release build.
  • Keep saved SEO-doctor JSON and backlog reports consistent with the final gate outcome, including warning failures and new gate-error counts.
  • Add reusable dotnet publish command hooks (Hooks[]) for restore, build, target publish, and bundle phases.
  • Add bundle composition primitives for primary subdirectories, copy items, module includes, and generated scripts.
  • Add bundle post-process signing and MSI harvest exclude patterns for package/MSI reuse across projects.
  • DotNet publish CLI overrides (--target, --runtime, --framework, --style) are applied before profile resolution so profile-filtered plan/export output matches the executed run.
  • DotNet publish manifest.json now emits readable string values for enum fields such as Category, Kind, and Style instead of numeric enum values. Consumers that parse the manifest should treat this as a manifest-contract change.
  • Generated WiX installer inputs can now set Required to block generated dialog navigation until the value is provided.
  • Generated WiX required-input prompts now list the required field labels for the current dialog.
  • Generated WiX authoring now validates WiX identifiers, product upgrade GUIDs, and public MSI input properties before writing installer source.
  • Generated WiX authoring now enforces the WiX 72-character identifier limit.
  • Generated installer inputs now carry validation metadata (MinLength, MaxLength, ValidationPattern, ValidationMessage) with authoring-time checks for metadata shape and default values.
  • Generated installer definition validation now lives in a dedicated validator instead of the WiX source emitter.

2.0.19 - 2025.06.17

What's Changed

  • Improve error handling in release utilities by @PrzemyslawKlys in #32
  • feat: ✨ Introduce New-DLLHandleRuntime function and integrate runti… by @PrzemyslawKlys in #33

Full Changelog: https://github.com/EvotecIT/PSPublishModule/compare/v2.0.18...v2.0.19

2.0.18 - 2025.06.06

What's new

  • Update to docs and small logic improved for Get-ProjectVersion and Set-ProjectVersion

2.0.17 - 2025.05.28

  • Make sure to error out on PSM1 file missing
  • Added support for .NET 8.0
  • Added Set-ProjectVersion cmdlet to allow for setting version of the project across (csproj/psd1/ps1) files for consistency in multi-file projects
  • Added Get-ProjectVersion cmdlet to allow for getting version of the project across (csproj/psd1/ps1) files for consistency in multi-file projects
Get-ProjectVersion -Path "C:\Support\GitHub\DnsClientX" -ExcludeFolders @('C:\Support\GitHub\DnsClientX\Module\Artefacts')
Set-ProjectVersion -Path "C:\Support\GitHub\DnsClientX" -NewVersion "0.4.0"
Set-ProjectVersion -Path "C:\Support\GitHub\DnsClientX" -VersionType Build

2.0.16 - 2024.10.27

  • Improve error handling

2.0.15 - 2024.10.11

What's Changed

  • Update BuildModule.yml by @SamErde in #27
  • Improve error handling
  • Improve DLL handling
  • Add new options for binary cmdlet scanning
  • Fixes detecting cmdlets in binary modules for PS 5.1
  • Other small improvements

New Contributors

  • @SamErde made their first contribution in #27

Full Changelog: https://github.com/EvotecIT/PSPublishModule/compare/v2.0.14...v2.0.15

2.0.14 - 2024.08.14

What's Changed

  • Adding cmdlet detection by @PrzemyslawKlys in #25
  • Add custom and builtin place holders replacement functionality by @PrzemyslawKlys in #26

Full Changelog: https://github.com/EvotecIT/PSPublishModule/compare/v2.0.13...v2.0.14

2.0.13 - 2024.07.13

  • When using New-ConfigurtionManifest and using CmdletsToExport it would not export them in PSM1 file. This is now fixed
  • Moved function to separate file to improve visibility

2.0.12 - 2024.05.06

  • Always publish to Github with PreReleaseTag if it's set
  • Added support for HelpOut module to be used for help generation (platyPS will stay default for now)
  • Added support for NETIgnoreLibraryOnLoad in New-ConfigurationBuild to allow for ignoring libraries on load (for example C/C++ dlls)
  • Added support for NETBinaryModule in New-ConfigurationBuild to allow for building binary modules (C#) and doing Import-Module in PSM1 for them
  • Improves detection of used functions/aliases in module (now it's more accurate)
  • When using New-ConfigurationArtefact with Script artefact type and removal of comments it would break the whole script. This is now fixed
  • Fixes case where during binary module building the DLL would not be used at all
  • Improvement to TargetFramework and TargetFrameworks support when using C# projects. TargetFrameworkVersion is not supported.
  • Added support for NETHandleAssemblyWithSameName in New-ConfigurationBuild to allow for handling of assemblies with same name (for example Newtonsoft.Json)
  • Improved loading of libraries to use foreach instead of loading one by one
  • Removed dependency on PlatyPS/HelpOut. Now it's optional and can be used if needed. HelpOut does have some issues that I hope will be solved sooner or later
  • Improved creating empty PSM1 file when Public/Private folders have no files or are not present
  • Added NETProjectPath to New-ConfigurationBuild to allow for specifying path to project file (csproj) when building binary modules
  • Improve New-ConfigurationManifest allowing to define FunctionsToExport and CmdletsToExport and AliasesToExport to allow for more control over exported functions/cmdlets/aliases (by default Aliaeses/Functions are exported but you can overwrite them)

2.0.11

  • Fix for broken script generation if New-ConfigurationCommand is used

2.0.10

  • Fix for paths that I've broken in 2.0.9

2.0.9

  • Added usage of OpenAuthenticode from @jborean93 to allow for signing of modules on Linux/MacOS
    • The module is not automatically installed, you need to install it yourself
    • May need to be updated, as haven't really tested it

2.0.8

  • Improve error handling
  • Added NETExcludeMainLibrary to not include Initialize library if no logic is required
  • Added NETExcludeLibraryFilter to allow for excluding libraries from being copied on build
  • Added PreScriptMergePath and PostScriptMergePath to allow for files implementation instead of direct code in New-ConfigurationArtefact
    • This supplements using PreScriptMerge and PostScriptMerge (which are still supported, but overwritten when using PreScriptMergePath and PostScriptMergePath)

2.0.7

  • Added to New-ConfigurationArtefact replacement of variables in paths (for example <TagModuleVersionWithPreRelease>)
  • Added to New-ConfigurationArtefact - DoNotClear parameter to allow for not clearing of artefact folder, by default it will delete it's content with excluded .zip files (if any)

2.0.6

  • Fixes problem with defaults such as IncludeAll, IncludePS1 and similar always being set preventing user from overwriting values on demand

2.0.5

What's new

  • Fixes remove comments functionality
  • Added remove empty lines functionality
  • Small fixes on PSD1 generation (sorting fixed)

Full Changelog: https://github.com/EvotecIT/PSPublishModule/compare/v2.0.4...v2.0.5

2.0.4

What's Changed

  • Adding support for Manual version bumping. by @cocazoulou in #21

New Contributors

  • @cocazoulou made their first contribution in #21

Full Changelog: https://github.com/EvotecIT/PSPublishModule/compare/v2.0.3...v2.0.4

2.0.3

  • Fix for non-terminating error when can't delete folders

2.0.2 - 2023.08.06

  • Fail build script if copying of module fails

2.0.1 - 2023.08.04

  • Improve New-ConfigurationArtefact to allow for more flexibility for "scripts"
    • Added PreScriptMerge and PostScriptMerge
    • Remove ScriptMerge (renamed to PostScriptMerge)
    • Added ScriptName to allow for custom name of script (renames the file from usual module name)

2.0.0 - 2023.08.03

  • Fixes to Import-Module functionality

1.8.0-Preview5

  • Fixes wrong path for packed zip

1.8.0-Preview4

  • Added handling of wrong certificate thumbrint
  • Prevent failure on required modules
  • Stop on missing requirede module

1.8.0-Preview3

  • Fixes ModuleVersionWithPreRelease -and TagModuleVersionWithPreRelease tags

1.8.0-Preview2

  • Fix for old configuration supporting releases and releases unpacked
  • Fix for ModuleName in old configuration
  • Allow to publish module Artefacts to GitHub using single New-ConfigurationPublish by marking multiple artefacts with same ID
  • Small visual improvements

1.8.0-Preview1

  • Added RequiredVersion to New-ConfigurationModule to allow specifying exact version instead the minimum version
  • Minor bugfix for potential issue with CommandModuleDependencies
  • Added ability to create multiple artefacts (not just 2) by using New-ConfigurationArtefact
  • Added ability to pick from 4 types of artefacts (Unpacked, Packed, Script, PackedScript)
    • Unpacked - unpacked module
    • Packed - packed module (as zip)
    • Script - script that is module in form of PS1 without PSD1 - only applicable to very simple modules
    • PackedScript - packed module (as zip) that is script that is module in form of PS1 without PSD1 - only applicable to very simple modules
  • Added ability to publish multiple artefacts (not just 2) by using New-ConfigurationPublish
  • Removed PreReleaseTag from New-ConfigurationPublish
  • Added PreReleaseTag to New-ConfigurationManifest to allow specifying pre-release tag
  • PreReleaseTag is autoamtically used for GitHub publishing when Manifest is set to prerelease

1.7.0

  • Improve New-ConfigurationBuild by adding CertificatePFXPath, CertificatePFXBase64, CertificatePFXPassword to support GitHub Actions/AzureDevOps
  • Fixes copy of files during build process
  • Fix exit code when build fails

1.6.0 - 2023.07.11

  • Improve logic for replacing expandable variables and allow disabling this feature
  • Impovements overall

1.5.1 - 2023.07.06

  • Improve logic for detection of used functions
  • Update default configuration for new modules

1.5.0 - 2023.07.04

  • Fixes detection of unknown functions in module

1.4.0 - 2023.07.03

  • Fixes minor issue with reading required modules

1.3.0 - 2023.07.03

  • Improve termination when things go wrong
  • Fix replacement of GUID in module manifest when creating new module
  • Fix for duplicate detection of used functions

1.2.0 - 2023.06.23

  • Improve termination when things go wrong
  • Small fixes here and there
  • Added ability to test after merge before publishing

1.1.0 - 2023.06.19

  • Improve initially provided files when creating new module for easy use
  • Autogenerate the example Build-Module.ps1 file for new projects
  • Update GUID/ModuleName based on data provided by user
  • Other small improvements

1.0.0 - 2023.06.18

  • Big rewrite of PSPublishModule allowing more configuration options
  • New configuration options
  • New safety checks in place

0.9.53 - 2022.12.31

  • Adds local versioning via BuildModule\LocalVersion property (bumps version on every build)
  • No longer delete older tagged unpacked releases (only current) when tagging is enabled
  • Allows to specify Releases property in BuildModule\Releases. Both Enabled/Path need to be specified. If not specified it will use default values.

0.9.52 - 2022.12.30

  • Changed loading of libraries so it's always done in following way:
  • If Standard, Core and Default are present -> load Default when PS 5, load Standard when PS 6+
  • If Standard, Default are present -> load Default when PS 5, load Standard when PS 6+
  • If Standard and Core are present -> load Standard only
  • If Core and Default are present -> load Default when PS 5, load Core when PS 6+
  • If Standard is present -> load Standard only for all PowerShell

I've removed the logic where Standard would always get loaded even if Default/Core was also provided which could lead to unexpected behavior.

  • Added ability to build libraries on demand (when using -BuildLibraries). Requires more testing.
  • Cleaned code a bit, moved things around
  • Added ability to ResolveBinaryConflicts (when using -ResolveBinaryConflicts). Requires more testing. Visible in project ImagePlayground
  • Removed need for DirectoryProjects in $Configuration.Information - if not present it will get the value itself

0.9.51 - 2022.09.26

  • Fixed path behavior for ReleasedUnpacked (hopefully)

0.9.43 - 2022.04.14

  • Small fixes for publishing modules with Standard Libraries only
  • Improved building of Artefacts