Skip to content

1.7.0 - Fix PHAR bundled command discovery and path handling on Windows

Choose a tag to compare

@allanmcarvalho allanmcarvalho released this 03 Nov 16:04
· 22 commits to 1.x since this release

Fixed

  • Windows: register bundled commands for PHAR

    • Bundled PHAR CLI command discovery/registration is now explicitly performed so command-name resolution behaves consistently on Windows.
    • User impact: Windows users running the bundled PHAR should no longer see commands missing from the CLI.
    • Compatibility/Migration: No public API changes; this corrects packaged command registration behavior.
  • PHAR: normalize archive paths and improve distributed PHAR reliability

    • PHAR archive path handling is normalized to avoid platform-specific path separator issues (e.g., Windows backslashes) that can break PHAR-internal path resolution.
    • Added tests covering distributed PHAR packaging/startup behavior, including smoke coverage for loading bundled defaults.
    • User impact: More reliable PHAR execution across platforms, especially for distributed PHAR scenarios (notably on Windows).
    • Compatibility/Migration: No functional API changes; consumers should not rely on non-normalized Windows separators inside phar:// paths.
  • Windows: resolve bundled config paths in Maintainer PHAR

    • Fixed Windows-specific resolution of bundled configuration asset paths inside the Maintainer PHAR.
    • User impact: Bundled configuration assets are located correctly on Windows, restoring expected behavior for configuration publishing/maintenance tasks.
    • Compatibility/Migration: No public API changes; this corrects internal asset path resolution for Windows.