Skip to content

Releases: Elao/PhpEnums

v0.4.0

13 Nov 11:43
v0.4.0
Compare
Choose a tag to compare

This release simply continues the job started in 7f7ab9e, which aims to better reflect enum types immutability and enum values acting as singletons.

Feature

[1ea250e] [BC BREAK] Rename flagged enums add/remove to with/without (@ogizanagi)

v0.3.0

10 Nov 10:25
v0.3.0
Compare
Choose a tag to compare

Feature

[618ae73] Reduce the size of the generated archive by using gitattributes (@ogizanagi)
[e7afccd] [BC BREAK] Make enum construct final and suggest to make enum classes final (@ogizanagi)
[7f7ab9e] [BC BREAK] Rename EnumInterface::create to get (@ogizanagi)
[160cf41] Lower requirements for provided integrations (allow sf 2.8) (@ogizanagi)

Bug fix

[d34cec0] Fix issues spotted by Scrutinizer (@ogizanagi)
[a452534] Fix some data transformers exceptions issues (@ogizanagi)

Documentation

[7d8dc2a] How to compare enums (@ogizanagi)
[631b6af] Mention valid and invalid use cases for enumerations (@ogizanagi)
[792bfef, 975799e] Improve documentation (@xavier-rdo, @chalasr)

v0.2.0

07 Nov 14:38
Compare
Choose a tag to compare

Features

[679617f] Allow enums to be created using callStatic (@benji07, @ogizanagi)
[b2ffe49] Enum values as singletons (@ogizanagi)
[dce810c] Add __toString method inside ReadableEnumInterface (@ogizanagi)

Documentation

[d9150bb] Explain reasons for developing another library (@ogizanagi)
[847d462] [Doc] Review integrations doc organization (@ogizanagi)

v0.1.0

06 Nov 18:11
v0.1.0
Compare
Choose a tag to compare
0.1.0