All notable changes to laravel-attribute-observer
will be documented in this file.
- Compatibility update for Laravel 12+
- Make config parsing more forgiving and easier to reason about
- Convert objects to classes, in the off chance
- Enforce the fact that deletion events are always valid
- Ensure
created
events are captured properly by @dm-pf in #5 - Prevent conflicts between method-local vs. arrow-function variable name
- Dynamically check if the model was changed or is dirty by @dm-pf in #4
- Fix for Laravel 9 by @neopheus in #3
All changes squashed: https://github.com/alexstewartja/laravel-attribute-observer/compare/1.2.1...1.5.0
- Updated code style in Service Provider - Credit: @RobinBastiaan
- Added Artisan command tests
- Updated GH Sponsor/FUNDING information
- Optimized error handling logic
- Updated README
- Relaxed PHP and Laravel version requirements
- Updated README
- Made PHP 8+ a hard requirement
- Updated README
- Optimized parsing of attribute observer methods
- Updated README
- Initial release