Releases: PSModule/Build-PSModule
Releases · PSModule/Build-PSModule
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
v3.0.4
What's Changed
Other Changes
- 🩹 [Patch]: Remove dependency on
Utilitiesby @MariusStorhaug in #111
Full Changelog: v3...v3.0.4
v3.0.3
What's Changed
Other Changes
- 🪲 [Fix]: Fix
Variablesbeing$nullby @MariusStorhaug in #110
Full Changelog: v3...v3.0.3
v3.0.2
What's Changed
Other Changes
- 🩹 [Patch]: Swap out
UtilitieswithHashtableby @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
v3.0.0
What's Changed
🌟 Breaking Changes
- 🌟 [Major]: Moved docs generation to
Document-PSModuleby @MariusStorhaug in #105
Full Changelog: v2...v3.0.0
v2.2.0
What's Changed
🚀 New Features
- 🚀 [Feature]: Adds customizable build steps by @MariusStorhaug in #103
Full Changelog: v2...v2.2.0