Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v6.2.0...v6.3.0
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v6.1.0...v6.2.0
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v6.0.0...v6.1.0
--with-metadata support for workflow:dump command by @cfong63 in https://github.com/zerodahero/laravel-workflow/pull/97Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v5.0.1...v6.0.0
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v5.0.0...v5.0.1
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.2.0...v5.0.0
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.1.2...v4.2.0
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.1.1...v4.1.2
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.1.0...v4.1.1
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.5...v4.1.0
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.4...v4.0.5
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.3...v4.0.4
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.2...v4.0.3
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.1...v4.0.2
workflow_apply() when working with the default workflow for that subject.Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.0...v4.0.1
Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v3.3.3...v4.0.0
workflow_apply (thanks to @makroxyz for the PR on that!)Fixes:
#44 Event names with . fail to dispatch events properly
Thanks to @simonworkhouse for finding that and the PR!
Fixes #40 Fixes #41
This version changes the way events are fired from the Symfony component into the Laravel dispatcher. We introduced an adapter that allows the Symfony events to be dispatched directly through Laravel's dispatcher, and were able to remove some of the tedium of listening and re-dispatching Laravel-style events. A lot of the eventing work in this package was simplified because of that.
Please open an issue (or PR) if you encounter any backward compatibility issues with this version around events.
Fixes issue #38
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
Included in this release:
Minor patch to include workflow name for transitions in the state. Thanks to @makroxyz for the catch, and the fix!
Fixes issue with queued events by switching all workflow events to this package's flavor.
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.
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).
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.
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!
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).
Symfony Workflow Component 4.2.9+ fires the "entered event" on initializing the workflow. This release fixes those event expectations.
How can I help you explore Laravel packages today?