Skip to content

Releases: sourceboat/laravel-enumeration

3.1.1

31 Mar 08:07
Compare
Choose a tag to compare

Changed

  • Laravel 9 Support #45
  • fixing test namespaces #24
  • Exclude tests and configs from package installation #49

Dependency updates

  • bump slevomat/coding-standard to 7.0.12 #38
  • Update slevomat/coding-standard requirement from 7.0.14 to 7.1 #48

3.1.0

26 Nov 08:25
Compare
Choose a tag to compare

Added

  • now supporting the installation for PHP 8 bc93ffd

Removed

  • dependency on eloquent/enumeration #23
  • dev dependency on consistence/coding-standard bc93ffd

3.0.0

28 Sep 19:41
Compare
Choose a tag to compare

Added

  • Support for Laravel 8 #19 #20

Changed

  • Updated dev dependencies #18 #17 #16
  • updated branch alias for master branch #20

Removed

  • Dropped support for Laravel versions lower than 8 #19 #20
  • CHANGELOG.md 7e847e7

2.1.0

12 Sep 21:16
Compare
Choose a tag to compare

Added

  • Implementation of the Castable interface of Laravel 7.5

2.0.0

29 Mar 13:25
Compare
Choose a tag to compare

Added

  • Laravel 7.x support
  • Laravel 7 custom casts
  • Configurable-trait for enums

Changed

  • Dropped Support for version of Laravel lower than 7.0
  • Dropped Support for versions of PHP lower than 7.3
  • Removed HasEnums-trait in favor of custom casts
  • Removed possibility to set weight path by static property to prevent notices when accessing undefined properties

1.3.0

31 Oct 19:36
Compare
Choose a tag to compare

Added

  • weighted enums

Changed

  • various fixes regarding the readme

1.2.2

04 Oct 06:49
6c4de74
Compare
Choose a tag to compare

Changed

  • fix laravel dependency version notation

1.2.1

29 Sep 15:01
79932e0
Compare
Choose a tag to compare

Changed

  • update orchestral/testbench and phpunit

1.2.0

25 Jan 15:59
Compare
Choose a tag to compare

Changed

  • __toString has proper return type hint
  • Dependencies now properly allow laravel 5.7+

Added

  • is(EnumValue) method to Enumeration #2
  • is<EnumValue>() methods to Enumeration via __call #2

1.1.0

25 Jan 15:53
Compare
Choose a tag to compare

Fixed

  • the lint:phpmd-script no longer searches for a non existing directory
  • localization for the EnumerationValue-message

Changed

  • __toString now returns the value and not the key of the member

Added

  • defaultMember method to Enumeration
  • HasEnums trait for laravel models