Skip to content

Releases: korridor/laravel-computed-attributes

3.1.0

01 Mar 14:17
Compare
Choose a tag to compare
  • Added Laravel 11 support
  • Added tests for PHP 8.3
  • Added PHPstan (not yet in GitHub actions) and more type documentation

3.0.0 - Laravel 10

16 Feb 12:40
Compare
Choose a tag to compare

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

14 Aug 19:12
Compare
Choose a tag to compare
2.2.1

Codeformatting fix

Increased performance

10 Jun 20:40
Compare
Choose a tag to compare

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

09 Feb 11:39
Compare
Choose a tag to compare
  • Added Laravel 9 support
  • Added PHP 8.1 support
  • Updated php-cs-fixer

PHP 8 support

02 Nov 15:27
Compare
Choose a tag to compare

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

24 Jan 13:18
Compare
Choose a tag to compare
  • Added gitattributes file with export-ignores
  • Fixed travis-ci
  • Updated readme and gitignore

First major release

27 Sep 15:45
Compare
Choose a tag to compare

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

27 May 14:15
Compare
Choose a tag to compare
v0.0.3

Added laravel 7 and php 7.4 support

Initial release

06 Dec 14:37
Compare
Choose a tag to compare
v0.0.1

Initial commit