Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 716 Bytes

CHANGELOG.md

File metadata and controls

18 lines (15 loc) · 716 Bytes

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

2.0.0 - 2021-06-06

  • Remove support for php 7 (now package works only with php 8)
  • Remove bool type for enum member values
  • Allow strict typing
  • Add implementing Stringable interface
  • Now __toString() returns (string) $this->value
  • Add id() method for return unique string for enum member (composed of FQCN and enum member name)
  • Add toArray() method
  • Add toValues() and toNames methods

1.0.0 - 2020-11-10

  • Basic package functionality