Skip to content

Releases: nthndnn/laravel-state-history

v1.0.3

18 Sep 20:58

Choose a tag to compare

What's New

This release handles the following:

  • Implements silent handling of the same state transitions in StateManager
  • Dynamically sets the model field instead of using setAttribute

Full Changelog: v1.0.2...v1.0.3

v1.0.2

25 Aug 07:36

Choose a tag to compare

What's New

This release introduces significant improvements to the package naming and structure for better clarity and Laravel conventions.

  • Improved Naming Convention: Renamed core model from ModelState to StateHistory for better clarity
  • Better Table Naming: Migration now creates state_histories table instead of model_states
  • Enhanced Performance: All string concatenations replaced with sprintf for better performance
  • Cleaner Codebase: Improved code consistency and maintainability

Full Changelog: v1.0.1...v1.0.2

v1.0.1

24 Aug 23:33

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

24 Aug 23:00

Choose a tag to compare

The first stable release of Laravel State History, a package for managing enum-based model states with enforced transitions and automatic history tracking.

✅ What’s in v1.0.0

  • Core package scaffolding
  • Enum-based state casting
  • Transition maps & pluggable state machines
  • Append-only history logging with metadata
  • Configurable current state columns
  • Guards, effects, and event system
  • Multi-field state support
  • Full Laravel integration with migrations & config