Releases: henzeb/enumhancer
Releases · henzeb/enumhancer
v1.20.0
- 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
v1.19.0
- You can now use constants for Mappers and Defaults
- you can now flag a unit enum as
strict
, so you don't have to worry about casing in Values.
v1.18.0
- Added Magic method functionality to State
- Added
to
and tryTo
methods to State
- Added
is
, isNot
, isIn
and isNotIn
to Comparison
v1.16.0
- Added Configure
- Added Dropdown
- Comparison now accepts null values
- Fixed bug in Casting where in the latest Laravel versions
the Keep Enum Value Case
switch no longer worked.
v.1.14.0
- Added transition hooks State
- Makers & From now allow you to use integer keys on basic and string enums
v1.12.1
- replacing laravel function as this can cause major issues on projects outside laravel
v1.12.0
- Added casting support for State
v1.11.1
- code refactored
- added codeclimate coverage badge