Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,24 @@

## [Unreleased]

## [2.1.2] - 2026-05-26
## [2.1.3] - 2026-06-18

### Changed
### Fixed

- CI workflows migrated to PowerShellOrg reusable CI and release
workflows ([#457](https://github.com/PowerShellOrg/Plaster/pull/457))
- `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

### Fixed

- `AddContent` path separators normalised to forward slash on PS5.1 —

Check warning on line 27 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Continuous Integration / Run Linters

Unknown word (normalised) Suggestions: (normalized, normalize, normalizer, normalcies, normalizes)
`Get-ChildItem -Name` returns backslash-separated paths on Windows
PS5.1, causing cross-platform inconsistencies in source/destination
attributes
Expand All @@ -27,7 +35,7 @@
closes [#460](https://github.com/PowerShellOrg/Plaster/issues/460))
- `New-PlasterManifest` emitted `xmlns` inline on PS5.1 — .NET XML
serializer ignores `XmlWriterSettings.NewLineOnAttributes` for
namespace declarations; output is post-processed to normalise

Check warning on line 38 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Continuous Integration / Run Linters

Unknown word (normalise) Suggestions: (normalize, normalcies, normalizes, normale, normals)
formatting
([#464](https://github.com/PowerShellOrg/Plaster/pull/464),
closes [#461](https://github.com/PowerShellOrg/Plaster/issues/461))
Expand Down Expand Up @@ -198,7 +206,7 @@
Studio Code
- Fixed Test-PlasterManifest on non-Windows running .NET Core 2.0 which failed
with path using \ instead of /. Thanks to
[@elmundio87](https://github.com/elmundio87) via PR

Check warning on line 209 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Continuous Integration / Run Linters

Unknown word (elmundio) Suggestions: (edmund, edmund's)
[#282](https://github.com/PowerShell/Plaster/pull/282)

## [1.0.1] 2016-12-16
Expand Down
2 changes: 1 addition & 1 deletion Plaster/Plaster.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
4 changes: 2 additions & 2 deletions Plaster/Plaster.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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))"
Loading