Skip to content

Releases: asantibanez/laravel-eloquent-state-machines

v6.0.0

22 Aug 21:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.2.0...v6.0.0

v6.0.1

22 Aug 21:21
Compare
Choose a tag to compare

Fixed upgrade to Laravel 11

v5.2.0

31 Jan 14:52
7de6234
Compare
Choose a tag to compare

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

Full Changelog: v5.1.0...v5.2.0

v5.1.0

17 Feb 13:28
151793b
Compare
Choose a tag to compare

v5.0.1

25 Mar 02:12
Compare
Choose a tag to compare
  • Made callable null for whereHas query helper
  • Removed unused configuration

v5.0.0

25 Mar 02:01
f472f9f
Compare
Choose a tag to compare
  • Reverted afterTransitionHooks array key to use $to for definition

v4.0.0

13 Feb 00:22
Compare
Choose a tag to compare
  • Added changed_attributes field in state_histories to record model old/new values during transition (Breaking change)

v3.0.0

10 Feb 15:18
1868525
Compare
Choose a tag to compare
  • Added beforeTransitionHooks
  • Breaking Change: Renamed transitionHooks to afterTransitionHooks and changed arguments for callbacks
  • Refactored tests

v2.3.0

26 Jan 17:14
Compare
Choose a tag to compare
  • Added support for PHP 8.
  • Fixed Str import.

v2.2.1

22 Dec 17:25
Compare
Choose a tag to compare
  • Added snake_case() and camelCase() method for state machine field.
  • Fixed model::creating hook