Skip to content

Releases: henzeb/enumhancer

v2.3.0

10 Mar 08:17
Compare
Choose a tag to compare
  • tested for Laravel 11

v2.2.0

09 Jun 20:38
Compare
Choose a tag to compare
  • fixed serious bug in Getters where
    getting by integer would not match value first.
  • added support for BIT_MODIFIER

v2.1.0

12 May 12:19
Compare
Choose a tag to compare

v2.0.0

28 Feb 20:21
Compare
Choose a tag to compare
  • Now supports Laravel 10
  • dropped support for laravel 8

Upgrade notes

  • Makers (make, tryMake etc.) are removed in favor
    of Getters

v1.23.0

05 Feb 15:44
Compare
Choose a tag to compare
  • added PHPStan support
  • added IDE-helper (requires another package)
  • added global class for configuring Enumhancer
  • added global Macro support

v1.22.0

07 Jan 14:05
Compare
Choose a tag to compare
  • added asEnum to laravel's FormRequests
  • tiny fix in isEnum validation: When Defaults are used, it should fail validation.

v1.21.1

07 Jan 10:06
Compare
Choose a tag to compare
  • bugfix where enums wouldn't get substituted on parameters with default null

v1.21.0

06 Jan 22:48
Compare
Choose a tag to compare

1.21.0 - 2023-01-06

  • added (basic) enum binding allowing you to bind basic enumerations to your routes and use Enumhancers secret sauce.
  • Fixed a lot of potential issues with PHPstan.

v1.20.1

05 Jan 11:52
Compare
Choose a tag to compare
  • fixes issue where a Bitmask instance wasn't treated as a whole in some cases.

v1.20.0

04 Jan 21:32
Compare
Choose a tag to compare
  • bugfix in Default where configured defaults would
    not override the by const defined value
  • bugfix in Mappers where mapping to integers was
    not allowed

Extended features

  • You can now set Mapper FQCN in constants starting with
    map and map_flip
  • Mappers methods now are usable statically
  • All Laravel rules have now macro's set on Rule

New features