Releases: henzeb/enumhancer
Releases · henzeb/enumhancer
v2.3.1
- fixes #6 where transitions weren't allowed when using backed enums.
v2.2.0
- fixed serious bug in Getters where
getting by integer would not match value first.
- added support for BIT_MODIFIER
v2.0.0
- Now supports Laravel 10
- dropped support for laravel 8
Upgrade notes
- Makers (make, tryMake etc.) are removed in favor
of Getters
v1.23.0
- added PHPStan support
- added IDE-helper (requires another package)
- added global class for configuring Enumhancer
- added global Macro support
v1.22.0
- added asEnum to laravel's FormRequests
- tiny fix in isEnum validation: When Defaults are used, it should fail validation.
v1.21.1
- bugfix where enums wouldn't get substituted on parameters with default null
v1.21.0
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
- fixes issue where a Bitmask instance wasn't treated as a whole in some cases.