Releases: henzeb/enumhancer
Releases · henzeb/enumhancer
v1.7.0
- When using Comparison, you can now assert with
is
or isNot
v1.6.3
- serious bug where the prefix when mapping wasn't the enum FQCN
v1.6.2
- labels method should be static
v1.6.1
- fixed an issue where comparison not always worked correctly with basic enumerations.
v1.6.0
- added Eloquent Casting support for basic enumerations.
v1.5.4
- made some updates to the documentation to reflect the functionality better
- made some changes to Labels, to have better backwards compatibility with Spatie's PHP Enum
v1.5.3
- fixes #1. integer backed enums are now also comparable.
v1.5.2
- limit extraction to whole words rather than parts (enum should match enum, not enums)
v1.5.1
- bugfix in retrieving keys from mappers with prefixes
- allowing case insensitive mapping of keys
- allowing to use mappers with Extractor, even when not using Mappers.
V1.5.0
- added
Extractor
to extract enums from a string mentioned by value
- some documentation repairs