Skip to content

v1.3.0

Choose a tag to compare

@HelgeSverre HelgeSverre released this 03 Nov 15:40
· 42 commits to main since this release

Changes in v1.3.0

Added

Native PHP enum support for both BackedEnum and UnitEnum types:

  • BackedEnum values are extracted and normalized (e.g., Status::ACTIVE -> "active")
  • UnitEnum names are extracted and normalized (e.g., Counting::TWO -> "TWO")
  • Arrays of enum cases are properly encoded (e.g., HttpCode::cases() -> "[2]: 201,400")

Contributors

Thanks to @AmolKumarGupta for contributing this feature!