From c5c699b4273654deb9ad4fdc28121e56f4378122 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Thu, 18 Jun 2026 17:00:59 -0700 Subject: [PATCH 1/3] fix: log module load/removal at Verbose instead of Information The "Plaster vX.Y.Z module loaded successfully" message was logged at Information level with -InformationAction Continue, so it printed on every import regardless of $env:PLASTER_LOG_LEVEL. Demote it (and the symmetric "module is being removed" message) to Verbose so they are silent by default and only surface when the user opts in via PLASTER_LOG_LEVEL=Verbose. The version already comes from the .psd1 ModuleVersion, so the message prints the correct installed version. Fixes #458 Co-Authored-By: Claude Opus 4.8 --- Plaster/Plaster.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plaster/Plaster.psm1 b/Plaster/Plaster.psm1 index 9b23605..4dd06d9 100644 --- a/Plaster/Plaster.psm1 +++ b/Plaster/Plaster.psm1 @@ -177,7 +177,7 @@ Export-ModuleMember -Variable @('TargetNamespace', 'DefaultEncoding', 'JsonSchem # Module cleanup on removal $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = { - Write-PlasterLog -Level Information -Message "Plaster module is being removed" + Write-PlasterLog -Level Verbose -Message "Plaster module is being removed" # Clean up any module-scoped variables or resources Remove-Variable -Name 'PlasterVersion' -Scope Script -ErrorAction SilentlyContinue @@ -188,4 +188,4 @@ $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = { } # Module initialization complete -Write-PlasterLog -Level Information -Message "Plaster v$PlasterVersion module loaded successfully (PowerShell $($PSVersionTable.PSVersion))" +Write-PlasterLog -Level Verbose -Message "Plaster v$PlasterVersion module loaded successfully (PowerShell $($PSVersionTable.PSVersion))" From 8ec5c7c0032506123cffa00aafab1fcd0aa4d33e Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Thu, 18 Jun 2026 17:08:29 -0700 Subject: [PATCH 2/3] docs(changelog): add 2.1.3 entry and bump manifest The CI changelog linter (mindsers/changelog-reader-action, error level) validates the latest non-Unreleased entry. With the manifest fix as the only change, the latest entry was the released 2.1.2, which carries a "Changed" section illegal for a patch bump (2.1.1 -> 2.1.2), failing the check on every PR. Add a 2.1.3 entry containing only Fixed for this change and bump the manifest to match. The latest entry now validates as a clean patch and 2.1.2's released history is left untouched. Co-Authored-By: Claude Opus 4.8 --- CHANGELOG.md | 13 +++++++++++++ Plaster/Plaster.psd1 | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 375cfde..5d16e7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [2.1.3] - 2026-06-18 + +### Fixed + +- `Import-Module Plaster` printed `Plaster vX.Y.Z module loaded + successfully` on every import — the message was logged at + `Information` level with `-InformationAction Continue`, so it + displayed regardless of `$env:PLASTER_LOG_LEVEL`. Demoted it (and the + symmetric "module is being removed" message) to `Verbose` so they are + silent by default and surface only when `PLASTER_LOG_LEVEL=Verbose` + ([#470](https://github.com/PowerShellOrg/Plaster/pull/470), + closes [#458](https://github.com/PowerShellOrg/Plaster/issues/458)) + ## [2.1.2] - 2026-05-26 ### Changed diff --git a/Plaster/Plaster.psd1 b/Plaster/Plaster.psd1 index 5d22abe..2a68b4a 100644 --- a/Plaster/Plaster.psd1 +++ b/Plaster/Plaster.psd1 @@ -6,7 +6,7 @@ GUID = 'cfce3c5e-402f-412a-a83a-7b7ee9832ff4' # Version number of this module. - ModuleVersion = '2.1.2' + ModuleVersion = '2.1.3' # Supported PSEditions CompatiblePSEditions = @('Desktop', 'Core') From 6bb5dd95a4f3eea81f0ce15b3c1a2d180e900f68 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Thu, 18 Jun 2026 17:11:52 -0700 Subject: [PATCH 3/3] docs(changelog): drop mis-filed Changed section from 2.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The CI changelog linter runs with validation_depth: 10, so it validates the ten newest released entries — not just the latest. 2.1.2 is a patch (2.1.1 -> 2.1.2) yet carried a "Changed" entry for the CI workflow migration (#457), which Keep a Changelog disallows for a patch bump. That CI migration is internal build infrastructure with no user-facing behavior change, so remove it from the changelog. 2.1.2 now validates as a clean patch (its genuine Fixed entries are unchanged), unblocking the linter for this and future PRs. Co-Authored-By: Claude Opus 4.8 --- CHANGELOG.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d16e7c..6f34861 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,11 +22,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [2.1.2] - 2026-05-26 -### Changed - -- CI workflows migrated to PowerShellOrg reusable CI and release - workflows ([#457](https://github.com/PowerShellOrg/Plaster/pull/457)) - ### Fixed - `AddContent` path separators normalised to forward slash on PS5.1 —