Releases: PSModule/Build-PSModule
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
@salmanmkc
in actions/checkout#2226- Prepare v5.0.0 release by
@salmanmkc
in 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
@motss
in actions/checkout#1971- Add internal repos for checking out multiple repositories by
@mouismail
in actions/checkout#1977- Documentation update - add recommended permissions to Readme by
@benwells
in actions/checkout#2043- Adjust positioning of user email note and permissions heading by
@joshmgross
in actions/checkout#2044- Update README.md by
@nebuk89
in actions/checkout#2194- Update CODEOWNERS for actions by
@TingluoHuang
in actions/checkout#2224- Update package dependencies by
@salmanmkc
in actions/checkout#2236- Prepare release v4.3.0 by
@salmanmkc
in actions/checkout#2237New Contributors
@motss
made their first contribution in actions/checkout#1971@mouismail
made their first contribution in actions/checkout#1977@benwells
made their first contribution in actions/checkout#2043@nebuk89
made their first contribution in actions/checkout#2194@salmanmkc
made their first contribution in actions/checkout#2236Full Changelog: actions/checkout@v4...v4.3.0
v4.2.2
What's Changed
url-helper.ts
now leverages well-known environment variables by@jww3
in actions/checkout#1941- Expand unit test coverage for
isGhes
by@jww3
in 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
@orhantoy
in actions/checkout#1924New Contributors
@Jcambass
made 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
@salmanmkc
in actions/checkout#2226V4.3.0
- docs: update README.md by
@motss
in actions/checkout#1971- Add internal repos for checking out multiple repositories by
@mouismail
in actions/checkout#1977- Documentation update - add recommended permissions to Readme by
@benwells
in actions/checkout#2043- Adjust positioning of user email note and permissions heading by
@joshmgross
in actions/checkout#2044- Update README.md by
@nebuk89
in actions/checkout#2194- Update CODEOWNERS for actions by
@TingluoHuang
in actions/checkout#2224- Update package dependencies by
@salmanmkc
in actions/checkout#2236v4.2.2
url-helper.ts
now leverages well-known environment variables by@jww3
in actions/checkout#1941- Expand unit test coverage for
isGhes
by@jww3
in actions/checkout#1946v4.2.1
- Check out other refs/* by commit if provided, fall back to ref by
@orhantoy
in actions/checkout#1924v4.2.0
- Add Ref and Commit outputs by
@lucacome
in 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
@dependabot
in actions/checkout#1739- Bump actions/checkout from 3 to 4 by
@dependabot
in actions/checkout#1697- Check out other refs/* by commit by
@orhantoy
in actions/checkout#1774- Pin actions/checkout's own workflows to a known, good, stable version. by
@jww3
in actions/checkout#1776v4.1.6
- Check platform to set archive extension appropriately by
@cory-miller
in 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 theuses
directive for running PowerShell scripts with theshell: pwsh
option and updated therun
block to execute the build script directly. Simplified artifact upload by changing the path reference to usesteps.build.outputs.ModuleOutputFolderPath
instead of parsing JSON.
Updates to script handling:
scripts/main.ps1
: Added a new environment variable$env:GITHUB_REPOSITORY_NAME
derived from$env:GITHUB_REPOSITORY
for repository name extraction. ReplacedSet-GitHubOutput
calls with direct appending to$env:GITHUB_OUTPUT
for compatibility with GitHub Actions. [1] [2]
Updates to URI generation:
scripts/helpers/Build/Build-PSModuleManifest.ps1
: Simplified the generation ofLicenseUri
andIconUri
by using$env:GITHUB_REPOSITORY
directly instead of combining$env:GITHUB_REPOSITORY_OWNER
and$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
#Requires
statements for unused module dependencies (GitHub
,Utilities
,Hashtable
) across multiple scripts, includingBuild-PSModule.ps1
,Build-PSModuleManifest.ps1
, andBuild-PSModuleRootModule.ps1
files. [1] [2] [3] [4]
Configuration Updates:
- Consolidated file exclusions in
.github/linters/.jscpd.json
by replacing specific file paths with a wildcard (**/scripts/helpers/**
).
Workflow Simplification:
- Removed the
Initialize-PSModule
step from theAction-Test.yml
workflow, streamlining the setup process. [1] [2] [3]
Code Readability Improvements:
- Replaced custom
IsNotNullOrEmpty
function calls with native.NET
methods like[string]::IsNullOrEmpty
for better clarity and maintainability in scripts such asBuild-PSModuleManifest.ps1
andGet-PSModuleAliasesToExport.ps1
. [1] [2] [3] [4]
Suppression Attribute Adjustments:
- Updated
Diagnostics.CodeAnalysis.SuppressMessageAttribute
to includeScope = 'Function'
for consistency in scripts likeGet-PSModuleClassesToExport.ps1
andGet-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
v3.0.4
What's Changed
Other Changes
- 🩹 [Patch]: Remove dependency on
Utilities
by @MariusStorhaug in #111
Full Changelog: v3...v3.0.4
v3.0.3
What's Changed
Other Changes
- 🪲 [Fix]: Fix
Variables
being$null
by @MariusStorhaug in #110
Full Changelog: v3...v3.0.3
v3.0.2
What's Changed
Other Changes
- 🩹 [Patch]: Swap out
Utilities
withHashtable
by @MariusStorhaug in #109
Full Changelog: v3...v3.0.2
v3.0.1
What's Changed
Other Changes
- 🩹 [Patch]: Update linter configurations and license year by @MariusStorhaug in #106
Full Changelog: v3...v3.0.1