Skip to content

Version 5.2

Latest

Choose a tag to compare

@Pnwcomputers Pnwcomputers released this 22 Jun 20:18
211dec0

📝 Release Description

🚀 Release v5.2: Menu Fixes, Pipeline Repairs, & Stability Enhancements

This release focuses heavily on squashing runtime bugs, improving CI/CD reliability, and refining code quality to ensure a smoother, crash-free deployment experience.

🐛 Bug Fixes

  • Interactive Menu Repaired: Rewrote QuickStart.cmd to use the correct PowerShell parameters (-SkipBloatwareRemoval, -SkipAppInstall, -SkipSystemConfig, -UpdateApps) instead of the non-existent -ConfigFile. All 4 menu choices now execute flawlessly.
  • Menu Crash Resolved: Added the missing :start label to QuickStart.cmd. Invalid inputs will now loop back to the menu correctly instead of crashing cmd.exe.
  • Winget Parsing Patch: Fixed a silent failure where winget --version outputting multiple lines caused the array replacement and [Version] cast to fail. Added Where-Object and Select-Object -Last 1 to ensure the minimum version check parses robustly.
  • CI Pipeline Restored: Updated the test assertion in tests/DeployWorkstation.Tests.ps1 to correctly check for QuickStart.cmd, resolving a permanent CI failure.
  • GitHub Actions Upgraded: Bumped the deprecated upload-artifact@v3 to @v4 in .github/workflows/test-powershell.yml.

🧹 Code Quality & Under-the-Hood

  • Fail-Safe Execution Policy: Moved Set-ExecutionPolicy to the top of DeployWorkstation.ps1 (line 26). Previously, if this threw an error mid-file, it could leave the machine in a partially configured state.
  • Optimized Reporting: Removed a redundant Get-CimInstance Win32_OperatingSystem call in Export-HtmlReport. It now correctly reuses the cached $script:OsInfo variable to speed up report generation.
  • Variable Cleanup: Removed $script:IsWin11, which was computed but never referenced in the codebase.

🔖 Versioning Consistency

  • Unified Branding: Bumped all internal version strings (window title, banner, localization, HTML report, and .cmd launcher) from v5.1 to v5.2 to match the repository versioning.

Full Changelog: v5.11...v5.2