From 37eccace87d5ee6c5d0bcc01b2aa6eab9700edb6 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Tue, 26 May 2026 16:12:53 -0700 Subject: [PATCH] chore(release): 2.1.2 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ Plaster/Plaster.psd1 | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a6b61a..375cfde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [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 — + `Get-ChildItem -Name` returns backslash-separated paths on Windows + PS5.1, causing cross-platform inconsistencies in source/destination + attributes +- `Resolve-ModuleVersionString` returned `[System.Version]` on PS5.1 + because `[System.Management.Automation.SemanticVersion]` is PS6+ + only; adds a C# shim that defines the type at module load time + ([#463](https://github.com/PowerShellOrg/Plaster/pull/463), + 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 + formatting + ([#464](https://github.com/PowerShellOrg/Plaster/pull/464), + closes [#461](https://github.com/PowerShellOrg/Plaster/issues/461)) +- `Get-Culture -Name` is PS6+ only; replaced with + `New-Object System.Globalization.CultureInfo` in tests + ([#462](https://github.com/PowerShellOrg/Plaster/pull/462), + closes [#459](https://github.com/PowerShellOrg/Plaster/issues/459)) + ## [2.1.1] - 2026-05-25 ### Fixed diff --git a/Plaster/Plaster.psd1 b/Plaster/Plaster.psd1 index 4058217..7a8792e 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.1' + ModuleVersion = '2.1.2' # Supported PSEditions CompatiblePSEditions = @('Desktop', 'Core')