Releases: asantibanez/laravel-eloquent-state-machines
Releases · asantibanez/laravel-eloquent-state-machines
v6.0.0
v6.0.1
v5.2.0
What's Changed
- Laravel 10.x Compatibility by @laravel-shift in #38
- Several updates and typo fix in Readme by @ajaxray in #37
- Added data to the transition exception by @jezzdk in #30
- Added ability to use wildcard in allowed state changes by @jezzdk in #28
- Added support for arrays in transition query methods by @jezzdk in #27
New Contributors
- @laravel-shift made their first contribution in #38
- @ajaxray made their first contribution in #37
- @jezzdk made their first contribution in #30
Full Changelog: v5.1.0...v5.2.0
v5.1.0
- Added support for Laravel 9. By @leohubert in #32
- Improved CI. By @leohubert in #32
v5.0.1
- Made
callable
null forwhereHas
query helper - Removed unused configuration
v5.0.0
- Reverted
afterTransitionHooks
array key to use$to
for definition
v4.0.0
- Added
changed_attributes
field instate_histories
to record model old/new values during transition (Breaking change)
v3.0.0
- Added
beforeTransitionHooks
- Breaking Change: Renamed
transitionHooks
toafterTransitionHooks
and changed arguments for callbacks - Refactored tests
v2.3.0
- Added support for PHP 8.
- Fixed
Str
import.
v2.2.1
- Added
snake_case()
andcamelCase()
method for state machine field. - Fixed model::creating hook