Skip to content

Releases: PSModule/Build-PSModule

v4.0.2

01 Jun 23:31
0d98e7d

Choose a tag to compare

🩹 [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, including Build-PSModule.ps1, Build-PSModuleManifest.ps1, and Build-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 the Action-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 as Build-PSModuleManifest.ps1 and Get-PSModuleAliasesToExport.ps1. [1] [2] [3] [4]

Suppression Attribute Adjustments:

  • Updated Diagnostics.CodeAnalysis.SuppressMessageAttribute to include Scope = 'Function' for consistency in scripts like Get-PSModuleClassesToExport.ps1 and Get-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

19 Apr 11:04
3f9d3e8

Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v4...v4.0.1

v4.0.0

17 Apr 13:44
8cccec4

Choose a tag to compare

What's Changed

🌟 Breaking Changes

Full Changelog: v3...v4.0.0

v3.0.5

07 Mar 23:29
7f3f350

Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v3...v3.0.5

v3.0.4

07 Mar 22:40
d778e56

Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v3...v3.0.4

v3.0.3

20 Feb 00:52
1e3d612

Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v3...v3.0.3

v3.0.2

20 Feb 00:20
d454e3a

Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v3...v3.0.2

v3.0.1

16 Feb 11:58
8819705

Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v3...v3.0.1

v3.0.0

13 Feb 11:39
b75256c

Choose a tag to compare

What's Changed

🌟 Breaking Changes

Full Changelog: v2...v3.0.0

v2.2.0

07 Feb 03:03
4a43798

Choose a tag to compare

What's Changed

🚀 New Features

Full Changelog: v2...v2.2.0