Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.89 KB

CHANGELOG.md

File metadata and controls

42 lines (31 loc) · 1.89 KB

Changelog

All notable changes to PSWindowUI are documented here.

[1.1.0] - 2026-03-17

Added

  • 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 GroupName parameter
  • Configurable button labels (SubmitButtonText, CancelButtonText) in New-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 .git and test files from reaching PSGallery

Fixed

  • Required parameter now accepts "True"/"False" strings from ConvertFrom-Csv — no more type coercion error
  • CheckBox and RadioButton Value parameter: robust boolean conversion via ConvertTo-BoolSafe (handles "", "True", "1", $null)
  • ValueDelimiter uses literal string split ([regex]::Escape) — a . delimiter no longer acts as regex wildcard
  • Redundant Add-Type removed from function files — assemblies load via manifest RequiredAssemblies
  • CompatiblePSEditions corrected to 'Core' only — Desktop (Windows PowerShell 5.x) is incompatible with PowerShellVersion = '7.4'
  • using namespace syntax: invalid quotation marks removed
  • Examples.ps1: dot-source paths corrected (public/ subdirectory)
  • Performance: array concatenation (+=) in New-Window replaced with List<T>

[1.0.0] - 2025-03-26

Added

  • Initial release
  • New-Control cmdlet — Headline, TextBox, CheckBox, ComboBox
  • New-Window cmdlet with Submit / Cancel dialog
  • Pester tests for module structure and manifest

Maintained by Attila Krick