Skip to content

Releases: henzeb/enumhancer

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

v1.19.0

15 Dec 15:36
Compare
Choose a tag to compare
  • 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

14 Dec 13:53
Compare
Choose a tag to compare
  • Added Magic method functionality to State
  • Added to and tryTo methods to State
  • Added is, isNot, isIn and isNotIn to Comparison

v1.17.0

13 Dec 21:20
Compare
Choose a tag to compare

v1.16.0

11 Dec 10:01
Compare
Choose a tag to compare
  • 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.

v1.15.0

21 Jun 20:43
Compare
Choose a tag to compare
  • Made the Laravel Reporter configurable
  • added key method to Value

v.1.14.0

19 Jun 08:48
Compare
Choose a tag to compare
  • Added transition hooks State
  • Makers & From now allow you to use integer keys on basic and string enums

v1.12.1

17 Jun 08:55
Compare
Choose a tag to compare
  • replacing laravel function as this can cause major issues on projects outside laravel

v1.12.0

15 Jun 12:11
Compare
Choose a tag to compare
  • Added casting support for State

v1.11.1

14 Jun 19:12
Compare
Choose a tag to compare
  • code refactored
  • added codeclimate coverage badge