Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 2.73 KB

UPGRADE.md

File metadata and controls

63 lines (38 loc) · 2.73 KB

Upgrade Guide

The migration guide explains the actions and configuration examples for each release. These entries list released incompatibilities.

0.4.0

  • Update php-forge/foxy to ^0.4 with --with-all-dependencies; PHP 8.3 projects must use a compatible Symfony Console 7.4 release.

  • Manager validation now happens when an install, update or explicit audit needs it. CI that depended on an earlier failure must run composer install or composer foxy:audit.

  • Native audits require the registry bulk advisories endpoint when foxy.lock contains registry packages. A lock with only local file: packages skips the registry request. Native audits still reject --no-dev, so audit the complete graph. The first native install writes .foxy-installed.json and extracts registry packages once.

  • Asset restoration now precedes foxy.post-solve; listeners that throw there no longer trigger that restoration. Composer rollback now dispatches package events: guard root package-event scripts that must not run during rollback.

  • Custom AbstractAssetManager subclasses must remove the former default-binary argument to buildCommand() and buildUnconfiguredCommand() and override getDefaultBinary() when needed.

0.3.0

  • Upgrade to PHP 8.3 or later and Composer 2.10.2 or later, and install a supported manager version when execution or audit requires one; see the requirements.

  • Update the Foxy constraint to ^0.3 and explicitly allow the Composer plugin.

  • Select a manager explicitly when several recognized lockfiles exist, remove obsolete lockfiles and upgrade older manager versions as described in the migration guide.

  • Move runtime frontend requirements into dependencies, optionalDependencies or peerDependencies; embedded lifecycle scripts and other publishing metadata are no longer propagated. Keep embedded manifests within the library installation directory and verify custom generated directories contain only Foxy-managed data.

  • Review fallback settings and the root composer.json after failed require or remove operations: Composer rollback does not restore that file. Disabled manager execution still allows explicit audits.