This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Workflow/CHANGELOG.md

43 lines
1.7 KiB
Markdown
Raw Normal View History

2016-03-25 15:43:30 +00:00
CHANGELOG
=========
2017-01-18 14:08:35 +00:00
4.1.0
-----
2017-10-29 17:58:58 +00:00
* Deprecate the usage of `add(Workflow $workflow, $supportStrategy)` in `Workflow/Registry`, use `addWorkflow(WorkflowInterface, $supportStrategy)` instead.
* Deprecate the usage of `SupportStrategyInterface`, use `WorkflowSupportStrategyInterface` instead.
* The `Workflow` class now implements `WorkflowInterface`.
* Deprecated the class `ClassInstanceSupportStrategy` in favor of the class `InstanceOfSupportStrategy`.
2017-10-29 17:58:58 +00:00
* Added TransitionBlockers as a way to pass around reasons why exactly
transitions can't be made.
2018-02-08 17:13:25 +00:00
* Added a `MetadataStore`.
2018-04-02 12:38:08 +01:00
* Added `Registry::all` to return all the workflows associated with the
specific subject.
4.0.0
-----
* Removed class name support in `WorkflowRegistry::add()` as second parameter.
3.4.0
-----
* Added guard `is_valid()` method support.
* Added support for `Event::getWorkflowName()` for "announce" events.
* Added `workflow.completed` events which are fired after a transition is completed.
2017-01-18 14:08:35 +00:00
3.3.0
-----
2017-04-05 10:30:54 +01:00
* Added support for expressions to guard transitions and added an `is_granted()`
function that can be used in these expressions to use the authorization checker.
* The `DefinitionBuilder` class now provides a fluent interface.
* The `AuditTrailListener` now includes the workflow name in its log entries.
* Added `workflow.entered` events which is fired after the marking has been set.
2017-01-18 14:08:35 +00:00
* Deprecated class name support in `WorkflowRegistry::add()` as second parameter.
Wrap the class name in an instance of ClassInstanceSupportStrategy instead.
* Added support for `Event::getWorkflowName()`.
2017-04-05 10:30:54 +01:00
* Added `SupportStrategyInterface` to allow custom strategies to decide whether
or not a workflow supports a subject.
* Added `ValidateWorkflowPass`.