Repository navigation
Halt on fist patch failure by default
This release changes the default behaviour of the module and removed bunch of old environment values that were introduced before 'composer patch' command was available.
Breaking
- logic: installation/update/applying patches fails on first patch failure (used to be activated by COMPOSER_PATCHES_FATAL_FAIL); old default behaviour restorable via setting COMPOSER_PATCHES_GRACEFUL or using --graceful flag
- config: removed COMPOSER_PATCHES_REAPPLY_ALL, COMPOSER_FORCE_PATCH_REAPPLY; replaced by 'composer patch:redo'
- config: removed COMPOSER_PATCHES_FATAL_FAIL, COMPOSER_EXIT_ON_PATCH_FAILURE; replaceb by COMPOSER_PATCHES_GRACEFUL
- config: removed COMPOSER_PATCHES_FROM_SOURCE, COMPOSER_PATCHES_PREFER_OWNER; replaced with --from-source flag on commands (was meant for testing out a patch)
- config: removed COMPOSER_SKIP_PATCH_PACKAGES, COMPOSER_PATCHES_SKIP_PACKAGES; never really used for anything, could be achieved via using patcher configuration
Feature
- allow patch failures to be passed over gracefully with --graceful flag on 'composer patch:*' commands
- allow patch failures to be passed over gracefully with COMPOSER_PATCHES_GRACEFUL flag
- allow patch failures to be passed over gracefully with extra/patcher/graceful configuration in root package