Skip to content

Releases: korridor/laravel-computed-attributes

3.2.0

03 Mar 22:52

Choose a tag to compare

  • Laravel 12 support
  • More type definitions

3.1.0

01 Mar 14:17

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

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

Choose a tag to compare

2.2.1

Codeformatting fix

Increased performance

10 Jun 20:40

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

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

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

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

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

Choose a tag to compare

v0.0.3

Added laravel 7 and php 7.4 support