Releases: korridor/laravel-computed-attributes
Releases · korridor/laravel-computed-attributes
3.1.0
3.0.0 - Laravel 10
Breaking
The version 3.0.0 is only compatible with Laravel 10.
If you want to use this package with an older Laravel version, you can still use the 2.2.* versions. (See README for installation instructions)
Changes
- Laravel 10 support
- PHP 8.2 support
- Strict types
- GitHub Actions
Added —chunk option
2.2.1 Codeformatting fix
Increased performance
Thanks to a PR from @Onatcer, the command computed-attributes:generate
now only saves the model if the recalculated computed property changed the model (checked with $model->isDirty()
).
Laravel 9
PHP 8 support
What's Changed
- Added PHP 8 support
- Removed support for PHP 7.1
- Added more return types
Full Changelog: v1.0.1...v2.0.0
Updated composer dependency
- Added gitattributes file with export-ignores
- Fixed travis-ci
- Updated readme and gitignore
First major release
New
- Added validation command that checks the current values of the given computed attributes (
artisan computed-attributes:validate
) - Added scopes for each command that can be used to alter the query used in the commands (f.e. add
->with('...')
for better performance) - Added unit tests
- Added StyleCI, TravisCI and codecov
- Enhanced readme, Added badges
Fixes
- Fixed bug in generate command (attribute parsing)
Added Laravel 7 and PHP 7.4 support
v0.0.3 Added laravel 7 and php 7.4 support
Initial release
v0.0.1 Initial commit