Repository navigation
v1.1.0
Changes:
- Added
middlewares()method for class-based middleware support - Added
onUpdate()lifecycle hook for automatic state change handling - Updated store stub with new architecture pattern
- Fixed persistence type configuration in generated stores
- Improved documentation for new middleware class system
- Enhanced store examples with real-world use cases
Breaking Changes:
- Stores require
middlewares()andonUpdate()method implementations - Persistence configuration moved to
$persistenceTypeproperty
Migration Guide:
- Update existing stores to implement
middlewares()method returning array of middleware class instances - Add
onUpdate()method for state change handling logic - Set
$persistenceTypeproperty instead of config array