Repository navigation
[v6] #292 - Apply the behaviours announced by the deprecations of v5 - #520
Merged
Merged
Conversation
Lot 4 of #292: - an exception thrown by the initialize() of a task makes the process fail before any task is executed, with a ProcessFailedException (#222); ProcessManager::$failedInitializations is removed; - the event_dispatcher task no longer dispatches its event under the class name of the event too when event_name is set (#189); - the mapping transformer throws an UnexpectedValueException for a target property of an array destination that is neither a simple property name nor an index notation (#117); - the additional_parameters option of the callback transformer is removed; - a negative flush_every of the counter task is rejected (#491). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 34 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Last part of #292 (lot 4: the behaviours announced by the deprecations of v5). Lots 1 to 3 are #517, #518 and #519; #371 (recursive execution of a process) is tracked by #380. Once merged, no deprecation of #292 is left in
src/.initialize()of a task makes the process fail before any task is executed, with aProcessFailedExceptionwhose previous exception is the one thrown (logged as critical,cleverage_process.faileddispatched). The tasks already initialized are finalized, not the failing one.ProcessManager::$failedInitializationsand the 5.1 deprecation are removed;event_dispatchertask with anevent_nameno longer dispatches its event under theEventDispatcherTaskEventclass name too;mappingtransformer throws anUnexpectedValueExceptionfor a target property of an array destination that is neither a simple property name nor an index notation (address.city,address[city]): write[address.city]or[address][city];additional_parametersoption of thecallbacktransformer is removed (UndefinedOptionsException): useright_parameters;flush_everyof thecountertask is rejected (InvalidOptionsException), like 0.No usage of
additional_parametersor of a negativeflush_everyin the bridges or the demo application.Upgrade notes:
UPGRADE.md,## v6.0, "Behaviours announced by the deprecations".Requirements
Breaking changes
Major (v6.0): an initialization failure makes the process fail right away;
event_dispatcherno longer dispatches under the event class name whenevent_nameis set;mappingrejects non-simple target properties of an array destination;callbacklosesadditional_parameters;counterrejects a negativeflush_every.🤖 Generated with Claude Code