Skip to content

v1.1.0

Choose a tag to compare

@Freddywhest Freddywhest released this 03 Dec 22:10
· 2 commits to main since this release

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() and onUpdate() method implementations
  • Persistence configuration moved to $persistenceType property

Migration Guide:

  1. Update existing stores to implement middlewares() method returning array of middleware class instances
  2. Add onUpdate() method for state change handling logic
  3. Set $persistenceType property instead of config array