Skip to content

[0.2.0] August 12, 2025

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Aug 00:38
· 2 commits to main since this release
a6488ab

Added

  • UICulture configuration support for PowerShell localization
    • New powershellLocalization.uiCulture setting to specify default UI culture (e.g., 'en-US', 'fr-FR')
    • Setting validates culture format using pattern ^[a-z]{2}(-[A-Z]{2})?$
  • Command palette commands for UICulture switching
    • PowerShell Localization: Switch UI Culture - Interactive input box for custom culture
    • PowerShell Localization: Set UI Culture to English (en-US) - Quick switch to English
    • PowerShell Localization: Set UI Culture to French (fr-FR) - Quick switch to French
  • Automatic cache clearing when UICulture changes
    • Decorations refresh automatically when culture is changed via settings or commands
    • Ensures localization values are immediately updated to reflect new culture
  • Windows PowerShell fallback support for better compatibility
    • Extension now automatically detects and uses available PowerShell executable
    • Tries PowerShell 7+ (pwsh) first, then falls back to Windows PowerShell 5.1 (powershell)
    • Enables extension to work in enterprise environments where only Windows PowerShell is available
    • Caches detected executable to avoid repeated detection calls
    • Enhanced error handling with clearer error messages when no PowerShell is found
  • Changelog update instructions to Copilot instructions
    • Clear process for updating CHANGELOG.md for every PR
    • Guidelines for using Keep a Changelog format categories
    • Examples and validation checklist for changelog entries
  • Configurable logging levels to control debug message visibility
    • New powershellLocalization.logLevel setting with four hierarchical levels:
      • error - Only error messages
      • warn - Error and warning messages
      • info - Error, warning, and info messages (default)
      • debug - All messages including debug output
    • Smart log filtering that respects the configured log level
    • Debug messages are now filtered out by default, providing cleaner output

Fixed

  • LocalizationParser.ps1 now defaults to en-US culture when UICulture parameter is not provided
    • Fixes Import-LocalizedData failures in environments with invariant culture
    • Ensures localization files can be found in culture-specific subdirectories
  • Updated Pester configuration syntax in psake.ps1 for compatibility with Pester 5.x
    • Replaced deprecated [PesterConfiguration]@{} with New-PesterConfiguration
    • Fixed PassThru parameter usage for modern Pester API