Datum.InvokeCommand.psd1
|
@{ RootModule = 'Datum.InvokeCommand.psm1' ModuleVersion = '0.4.1' GUID = '31b6472c-069c-40c2-aaa9-ac8c2de55081' Author = 'Raimund Andree' CompanyName = 'NA' Copyright = '(c) 2019 Raimund Andree. All rights reserved.' Description = 'Datum Handler module to dynamically invoke PowerShell commands and expand strings within Datum configuration data. Enables embedding script blocks and expandable strings in YAML configuration files for DSC (Desired State Configuration) data resolution.' FunctionsToExport = @('Invoke-InvokeCommandAction','Test-InvokeCommandFilter') AliasesToExport = @() PowerShellVersion = '4.0' PrivateData = @{ PSData = @{ Tags = @('DesiredStateConfiguration', 'DSC', 'DSCResource', 'Datum') LicenseUri = 'https://github.com/raandree/Datum.InvokeCommand/blob/main/LICENSE' ProjectUri = 'https://github.com/raandree/Datum.InvokeCommand' IconUri = 'https://dsccommunity.org/images/DSC_Logo_300p.png' Prerelease = '' ReleaseNotes = '## [0.4.1] - 2026-02-25 ### Fixed - Fix `Test-InvokeCommandFilter` emitting `$false` for every non-matching pipeline element in the `process` block, causing `[bool]@($false,$false,$false)` to evaluate as `$true` and triggering the handler on non-string collections - Fix incorrect property name `.Key` to `.Name` in `HashArray2[2]` and `HashArray3[-1]` test cases in `HashArrays.tests.ps1` ### Changed - Renamed `master` branch to `main`. - Enhance integration tests to assert no handler warnings and non-null resolved values, preventing silent passes on handler failures - Fix 4 unit tests in `Invoke-InvokeCommandAction.tests.ps1` that asserted an undefined `$result` variable after `Should -Throw` ### Added - Add `Get-DatumRsopSafe` helper to `TestHelpers.psm1` that captures the warning stream alongside the RSOP result for test assertions - Add pipeline collection tests for `Test-InvokeCommandFilter` to verify correct behavior with non-string collections and mixed input ' } } } |