All notable changes to laravel-workflow
will be documented in this file.
- Add global DTOInterface and BaseDTO class by @Safemood in #8
Full Changelog: https://github.com/Safemood/laravel-workflow/compare/1.1.0...1.2.0
- Added Laravel Built-in Support for Conditional Execution with
when
andunless
by @mreduar in #6
- @mreduar made their first contribution in #6
Full Changelog: https://github.com/Safemood/laravel-workflow/compare/1.0.0...1.1.0
- Added
when
method for conditional execution by @Safemood in #2
Full Changelog: https://github.com/Safemood/laravel-workflow/compare/0.0.4...1.0.0
Release Description:
-
Refactoring and Updates:
- Removed
ShouldQueue
type hint from methods inActionsTrait
. - Updated dispatch logic for actions.
- Renamed Artisan command
make:action
tomake:workflow-action
. - Refactored
DummyJob
to extendAction
. - Added a job stub file and introduced
MakeJob
command. - Registered
MakeJob
command inWorkflowServiceProvider
.
- Removed
-
Testing and Improvements:
- Updated method names in
ManagesExecutionTest
to reflect new dispatch logic. - Refactored
Action
class to useActionState
enum and added corresponding tests. - Updated
TracksActionStates
to useActionState
enum.
- Updated method names in
-
Miscellaneous:
- Fixed code styling issues.
- Added method for conditional execution.
Full Changelog: https://github.com/Safemood/laravel-workflow/compare/0.0.3...0.0.4
Updated docs.
Making the workflow dumpable for debugging.
experimental release