All notable changes to PSWindowUI are documented here.
- New control types:
DatePicker,RadioButton,PasswordBox - Configurable column widths (
LabelWidth,ValueWidth) per control - Required-field validation with visual feedback (red border on submit)
- Regex pattern validation (
ValidationPattern) for text-based controls - RadioButton grouping via
GroupNameparameter - Configurable button labels (
SubmitButtonText,CancelButtonText) inNew-Window - ComboBox auto-selects first item on creation
- Descriptive XAML error messages via structured
ErrorRecord - GitHub Actions CI pipeline (Pester tests on push / PR)
- Staging-based publish script (
scripts/Publish-PSWindowUI.ps1) — prevents.gitand test files from reaching PSGallery
Requiredparameter now accepts"True"/"False"strings fromConvertFrom-Csv— no more type coercion errorCheckBoxandRadioButtonValueparameter: robust boolean conversion viaConvertTo-BoolSafe(handles"","True","1",$null)ValueDelimiteruses literal string split ([regex]::Escape) — a.delimiter no longer acts as regex wildcard- Redundant
Add-Typeremoved from function files — assemblies load via manifestRequiredAssemblies CompatiblePSEditionscorrected to'Core'only —Desktop(Windows PowerShell 5.x) is incompatible withPowerShellVersion = '7.4'using namespacesyntax: invalid quotation marks removedExamples.ps1: dot-source paths corrected (public/subdirectory)- Performance: array concatenation (
+=) inNew-Windowreplaced withList<T>
- Initial release
New-Controlcmdlet — Headline, TextBox, CheckBox, ComboBoxNew-Windowcmdlet with Submit / Cancel dialog- Pester tests for module structure and manifest
Maintained by Attila Krick