Releases: PSModule/Build-PSModule
v4.0.8
Bump actions/upload-artifact from 4 to 5 (#120)
Bumps actions/upload-artifact from 4 to 5.
Release notes
Sourced from actions/upload-artifact's releases.
v5.0.0
What's Changed
BREAKING CHANGE: this update supports Node
v24.x. This is not a breaking change per-se but we're treating it as such.
- Update README.md by
@GhadimiRin actions/upload-artifact#681- Update README.md by
@nebuk89in actions/upload-artifact#712- Readme: spell out the first use of GHES by
@danwkennedyin actions/upload-artifact#727- Update GHES guidance to include reference to Node 20 version by
@patrikpolyakin actions/upload-artifact#725- Bump
@actions/artifacttov4.0.0- Prepare
v5.0.0by@danwkennedyin actions/upload-artifact#734New Contributors
@GhadimiRmade their first contribution in actions/upload-artifact#681@nebuk89made their first contribution in actions/upload-artifact#712@danwkennedymade their first contribution in actions/upload-artifact#727@patrikpolyakmade their first contribution in actions/upload-artifact#725Full Changelog: actions/upload-artifact@v4...v5.0.0
v4.6.2
What's Changed
- Update to use artifact 2.3.2 package & prepare for new upload-artifact release by
@salmanmkcin actions/upload-artifact#685New Contributors
@salmanmkcmade their first contribution in actions/upload-artifact#685Full Changelog: actions/upload-artifact@v4...v4.6.2
v4.6.1
What's Changed
- Update to use artifact 2.2.2 package by
@yacaovsncin actions/upload-artifact#673Full Changelog: actions/upload-artifact@v4...v4.6.1
v4.6.0
What's Changed
- Expose env vars to control concurrency and timeout by
@yacaovsncin actions/upload-artifact#662Full Changelog: actions/upload-artifact@v4...v4.6.0
v4.5.0
What's Changed
- fix: deprecated
Node.jsversion in action by@hamirmahalin actions/upload-artifact#578- Add new
artifact-digestoutput by@bdehamerin actions/upload-artifact#656New Contributors
@hamirmahalmade their first contribution in actions/upload-artifact#578
... (truncated)
Commits
330a01cMerge pull request #734 from actions/danwkennedy/prepare-5.0.003f2824Updategithub.dep.yml905a1ecPreparev5.0.02d9f9cdMerge pull request #725 from patrikpolyak/patch-19687587Merge branch 'main' into patch-12848b2cMerge pull request #727 from danwkennedy/patch-19b51177Spell out the first use of GHEScd231caUpdate GHES guidance to include reference to Node 20 versionde65e23Merge pull request #712 from actions/nebuk89-patch-18747d8cUpdate README.md- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
v4.0.7
🩹 [Patch]: Move documentation and link to Process-PSModule (#119)
Description
This pull request significantly reduces and simplifies the documentation and metadata for the Build-PSModule GitHub Action, focusing on minimalism and removing detailed usage and implementation information.
Documentation simplification:
- The
README.mdfile was almost entirely rewritten, removing all detailed explanations about supported module types, build steps, repository structure, manifest generation, and references. It now contains only a single line briefly describing the action and its relation to the PSModule framework.
Metadata cleanup:
- In
action.yml, the action'snamewas simplified, and thebrandingsection specifying the icon and color was removed to further streamline the action's metadata.
v4.0.6
🩹 [Patch]: Encode all PowerShell files using UTF8 with BOM (#118)
Description
This pull request makes a minor change to the Planets.ps1 files in both test repositories. The only update is the addition of a Unicode Byte Order Mark (BOM) at the beginning of each file to ensure proper encoding.
- Added a Unicode BOM to the start of
Planets.ps1in bothsrcTestRepoandsrcWithManifestTestRepoto enforce UTF-8 encoding.
v4.0.5
🩹 [Patch]: Update Dependabot configuration to include labels for GitHub Actions (#117)
Description
This pull request makes a small configuration change to the Dependabot settings by adding default labels for GitHub Actions updates.
- Added
dependenciesandgithub-actionslabels to all GitHub Actions updates in.github/dependabot.yml
v4.0.4
Bump actions/checkout from 4 to 5 (#116)
Bumps actions/checkout from 4 to 5.
Release notes
Sourced from actions/checkout's releases.
v5.0.0
What's Changed
- Update actions checkout to use node 24 by
@salmanmkcin actions/checkout#2226- Prepare v5.0.0 release by
@salmanmkcin actions/checkout#2238
⚠️ Minimum Compatible Runner Versionv2.327.1
Release NotesMake sure your runner is updated to this version or newer to use this release.
Full Changelog: actions/checkout@v4...v5.0.0
v4.3.0
What's Changed
- docs: update README.md by
@motssin actions/checkout#1971- Add internal repos for checking out multiple repositories by
@mouismailin actions/checkout#1977- Documentation update - add recommended permissions to Readme by
@benwellsin actions/checkout#2043- Adjust positioning of user email note and permissions heading by
@joshmgrossin actions/checkout#2044- Update README.md by
@nebuk89in actions/checkout#2194- Update CODEOWNERS for actions by
@TingluoHuangin actions/checkout#2224- Update package dependencies by
@salmanmkcin actions/checkout#2236- Prepare release v4.3.0 by
@salmanmkcin actions/checkout#2237New Contributors
@motssmade their first contribution in actions/checkout#1971@mouismailmade their first contribution in actions/checkout#1977@benwellsmade their first contribution in actions/checkout#2043@nebuk89made their first contribution in actions/checkout#2194@salmanmkcmade their first contribution in actions/checkout#2236Full Changelog: actions/checkout@v4...v4.3.0
v4.2.2
What's Changed
url-helper.tsnow leverages well-known environment variables by@jww3in actions/checkout#1941- Expand unit test coverage for
isGhesby@jww3in actions/checkout#1946Full Changelog: actions/checkout@v4.2.1...v4.2.2
v4.2.1
What's Changed
- Check out other refs/* by commit if provided, fall back to ref by
@orhantoyin actions/checkout#1924New Contributors
@Jcambassmade their first contribution in actions/checkout#1919Full Changelog: actions/checkout@v4.2.0...v4.2.1
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
Changelog
V5.0.0
- Update actions checkout to use node 24 by
@salmanmkcin actions/checkout#2226V4.3.0
- docs: update README.md by
@motssin actions/checkout#1971- Add internal repos for checking out multiple repositories by
@mouismailin actions/checkout#1977- Documentation update - add recommended permissions to Readme by
@benwellsin actions/checkout#2043- Adjust positioning of user email note and permissions heading by
@joshmgrossin actions/checkout#2044- Update README.md by
@nebuk89in actions/checkout#2194- Update CODEOWNERS for actions by
@TingluoHuangin actions/checkout#2224- Update package dependencies by
@salmanmkcin actions/checkout#2236v4.2.2
url-helper.tsnow leverages well-known environment variables by@jww3in actions/checkout#1941- Expand unit test coverage for
isGhesby@jww3in actions/checkout#1946v4.2.1
- Check out other refs/* by commit if provided, fall back to ref by
@orhantoyin actions/checkout#1924v4.2.0
- Add Ref and Commit outputs by
@lucacomein actions/checkout#1180- Dependency updates by
@dependabot- actions/checkout#1777, actions/checkout#1872v4.1.7
- Bump the minor-npm-dependencies group across 1 directory with 4 updates by
@dependabotin actions/checkout#1739- Bump actions/checkout from 3 to 4 by
@dependabotin actions/checkout#1697- Check out other refs/* by commit by
@orhantoyin actions/checkout#1774- Pin actions/checkout's own workflows to a known, good, stable version. by
@jww3in actions/checkout#1776v4.1.6
- Check platform to set archive extension appropriately by
@cory-millerin actions/checkout#1732v4.1.5
- Update NPM dependenci...
v4.0.3
🩹 [Patch]: Refactor Build-PSModule action without Github-Script (#115)
Description
This pull request includes updates to the PowerShell module build process and related scripts, focusing on improving compatibility with GitHub Actions and simplifying output handling. The changes primarily affect the action.yml file and several PowerShell scripts.
Updates to GitHub Actions configuration:
action.yml: Replaced theusesdirective for running PowerShell scripts with theshell: pwshoption and updated therunblock to execute the build script directly. Simplified artifact upload by changing the path reference to usesteps.build.outputs.ModuleOutputFolderPathinstead of parsing JSON.
Updates to script handling:
scripts/main.ps1: Added a new environment variable$env:GITHUB_REPOSITORY_NAMEderived from$env:GITHUB_REPOSITORYfor repository name extraction. ReplacedSet-GitHubOutputcalls with direct appending to$env:GITHUB_OUTPUTfor compatibility with GitHub Actions. [1] [2]
Updates to URI generation:
scripts/helpers/Build/Build-PSModuleManifest.ps1: Simplified the generation ofLicenseUriandIconUriby using$env:GITHUB_REPOSITORYdirectly instead of combining$env:GITHUB_REPOSITORY_OWNERand$env:GITHUB_REPOSITORY_NAME. [1] [2]
Type of change
- 📖 [Docs]
- 🪲 [Fix]
- 🩹 [Patch]
-
⚠️ [Security fix] - 🚀 [Feature]
- 🌟 [Breaking change]
Checklist
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
v4.0.2
🩹 [Patch]: Remove initialization step and dependency on Utilities (#114)
Description
This pull request simplifies the codebase by removing redundant module dependencies and improving code readability across various scripts. It also consolidates file exclusions in the .jscpd.json configuration and updates logic for handling module manifest properties.
Module Dependency Removal:
- Removed
#Requiresstatements for unused module dependencies (GitHub,Utilities,Hashtable) across multiple scripts, includingBuild-PSModule.ps1,Build-PSModuleManifest.ps1, andBuild-PSModuleRootModule.ps1files. [1] [2] [3] [4]
Configuration Updates:
- Consolidated file exclusions in
.github/linters/.jscpd.jsonby replacing specific file paths with a wildcard (**/scripts/helpers/**).
Workflow Simplification:
- Removed the
Initialize-PSModulestep from theAction-Test.ymlworkflow, streamlining the setup process. [1] [2] [3]
Code Readability Improvements:
- Replaced custom
IsNotNullOrEmptyfunction calls with native.NETmethods like[string]::IsNullOrEmptyfor better clarity and maintainability in scripts such asBuild-PSModuleManifest.ps1andGet-PSModuleAliasesToExport.ps1. [1] [2] [3] [4]
Suppression Attribute Adjustments:
- Updated
Diagnostics.CodeAnalysis.SuppressMessageAttributeto includeScope = 'Function'for consistency in scripts likeGet-PSModuleClassesToExport.ps1andGet-PSModuleCmdletsToExport.ps1. [1] [2]
Type of change
- 📖 [Docs]
- 🪲 [Fix]
- 🩹 [Patch]
-
⚠️ [Security fix] - 🚀 [Feature]
- 🌟 [Breaking change]
Checklist
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
v4.0.1
What's Changed
Other Changes
- 📖 [Docs]: Update to docs by @MariusStorhaug in #113
Full Changelog: v4...v4.0.1
v4.0.0
What's Changed
🌟 Breaking Changes
- 🌟 [Major]: Standalone Module Builder with isolation by @MariusStorhaug in #108
Full Changelog: v3...v4.0.0
v3.0.5
What's Changed
Other Changes
- Revert "🩹 [Patch]: Remove dependency on
Utilities(#111)" by @MariusStorhaug in #112
Full Changelog: v3...v3.0.5