Releases: zerodahero/laravel-workflow
v3.2.1
Adds missing support for Announce event (thanks, @klimenttoshkov !)
Adds missing support for events_to_dispatch
option (thanks, @klimenttoshkov !) (added in Symfony 5.2)
Fixes false-y values as markings not being read correctly (thanks, @adiletmaks)
Adds support for PHP 8
v3.2.0 Add support for Laravel 8
Included in this release:
- Bump Laravel dependencies to support Laravel 8
- Support for Lumen (Thanks @squarezhou !)
- Support for different workflow dump output paths (Thanks @rachediabdenacer !)
v3.1.2: Merge pull request #23 from halservice/develop
Minor patch to include workflow name for transitions in the state. Thanks to @makroxyz for the catch, and the fix!
v3.1.1
Fixes issue with queued events by switching all workflow events to this package's flavor.
v3.1.0
This release addresses the serialize error from the underlying Symfony event.
It also adds support for the events to proxy to the original (Symfony) event.
Minor version bumped since I needed to bump the package requirements.
3.0.1
This release removes the requirement to set the setMarking
and getMarking
methods on your model. It will now defer those methods to the eloquent model.
In the config, you can override this in the marking store config by setting 'marking_store.class' to a class of another marking store (i.e. MethodMarkingStore
).
v3.0.0
Upgrade from v2 to v3:
The biggest changes from v2 to v3 are the dependencies. To match the Symfony v5 components, the Laravel version is raised to v7. If you're on Laravel v6 or earlier, you should continue to use the v2 releases of this package.
To match the changes in the Symfony v5 workflow component, the "arguments" config option has been changed to "property". This describes the property on the model the workflow ties to (in most circumstances, you can simply change the key name from "arguments" to "property", and set to a string instead of the previous array).
Also, the "initial_place" key has been changed to "initial_places" to align with the Symfony component as well.
v2.1.0
No real changes needed according to the Laravel v6 docs, so this is just a version bump to support Laravel 6. Please open issues or PRs if I overlooked anything!
v2.0.4
Added more info to the doc.
You can now get the underlying workflow from the trait, using $model->workflow_get()
, as well as using the registry Workflow::get($model, $workflowName)
.
v2.0.2
Symfony Workflow Component 4.2.9+ fires the "entered event" on initializing the workflow. This release fixes those event expectations.