Releases: Elao/PhpEnums
v2.1.0: Symfony 6.2 compat & ReadableEnum attribute
Changelog
[b20e8e8] minor #198 [CI] Update edges (@ogizanagi)
[e0bc146] minor #200 [CI] Fix Github Actions deprecations (@ogizanagi)
[a7aeecc] minor #202 [Tests] Remove unnecessary 6.2 config (@ogizanagi)
[74ba8a2] minor #204 Remove obsolete dump JS enum binary (@ogizanagi)
[baae644] feature #201 [Readable] Allow to configure a common suffix/prefix & use the enum case value/name as default label (@ogizanagi)
v2.0.1: fix EnumCase inheritance usages
Changelog
[306c78d] minor #189 [Docs] Explain how to use enums with Doctrine ORM QueryBuilder (@pluk77)
[52b33dd] minor #193 Fix PhpStan issue with FlagBag missing template on static methods (@laurentmuller)
[a296673] bug #197 Fix #[EnumCase] inheritance to set & get extras (@ogizanagi)
v2.0.0: Rewrite with PHP 8.1 enums
This is a complete rewrite of the library to leverage & add new capabilities over new PHP 8.1 native enums.
Some features are still awaited (#124), but the main interfaces should not change by now, and the library will be improved in the next minor releases.
Thanks to every contributor who helped moving forward to this new version 🎉 ✨
Changelog
[e841eb6] feature #165 V2: Rewrite with PHP 8.1 enums (@ogizanagi)
[0bc5a0b] feature #167 Add VarDumper caster for readables (@ogizanagi)
[e4dacde] feature #168 Add VarDumper caster for flag bag (@ogizanagi)
[2aefece] feature #169 [HttpKernel] Add a controller argument resolver for backed enums (@ogizanagi)
[55781e1] minor #171 [Docs] Mention the official Doctrine ORM integration (@ogizanagi)
[7d08ee2] minor #173 fix phpstan phpdoc (@Kleinast)
[ec16823] bug #174 Override the block prefix (@benji07)
[c447d57] minor #175 Throw bad method call on attempt to call ReadableEnumTrait::readableForValue on non backed enum (@ogizanagi)
[1a1c3d6] feature #170 Allow to provide extra values to EnumCase attribute (@ogizanagi)
[27e0c46] feature #177 add Faker provider (@IonBazan, @ogizanagi)
[ad2d4fd] feature #176 Add Doctrine ODM integration (@IonBazan)
[98a03f3] feature #181 Add FlagBag::fromAll to instantiate a bag with all of its flags (@michnovka)
[7600213] feature #183 FlagBagType support (@michnovka)
[e623ba2] feature #182 Add SQL Enum support (@michnovka, @ogizanagi)
[7a6c730] feature #186 Initial DBAL FlagBag support (@michnovka)
[e6735d6] minor #187 Add missing ODM extensions test + XSD types (@ogizanagi)
v2.0.0-rc.1
Changelog
[e841eb6] feature #165 V2: Rewrite with PHP 8.1 enums (ogizanagi)
[0bc5a0b] feature #167 Add VarDumper caster for readables (ogizanagi)
[e4dacde] feature #168 Add VarDumper caster for flag bag (ogizanagi)
[2aefece] feature #169 [HttpKernel] Add a controller argument resolver for backed enums (ogizanagi)
[55781e1] minor #171 [Docs] Mention the official Doctrine ORM integration (ogizanagi)
[7d08ee2] minor #173 fix phpstan phpdoc (Kleinast)
[ec16823] bug #174 Override the block prefix (benji07)
[c447d57] minor #175 Throw bad method call on attempt to call ReadableEnumtrait::readableForValue on non backed enum (ogizanagi)
[1a1c3d6] feature #170 Allow to provide extra values to EnumCase attribute (ogizanagi)
[27e0c46] feature #177 add Faker provider (IonBazan, ogizanagi)
[ad2d4fd] feature #176 Add Doctrine ODM integration (IonBazan)
[98a03f3] feature #181 Add FlagBag::fromAll to instantiate a bag with all of its flags (michnovka)
[7600213] feature #183 FlagBagType support (michnovka)
[e623ba2] feature #182 Add SQL Enum support (michnovka, ogizanagi)
Since v2.0.0-beta.2
:
[7a6c730] feature #186 Initial DBAL FlagBag support (@michnovka)
[e6735d6] minor #187 Add missing ODM extensions test + XSD types (@ogizanagi)
v2.0.0-beta.2
Changelog
[98a03f3] feature #181 Add FlagBag::fromAll to instantiate a bag with all of its flags (@michnovka)
[7600213] feature #183 FlagBagType support (@michnovka)
[e623ba2] feature #182 Add SQL Enum support (@michnovka, @ogizanagi)
v2.0.0-beta.1
Changelog
[27e0c46] feature #177 add Faker provider (@IonBazan, @ogizanagi)
[ad2d4fd] feature #176 Add Doctrine ODM integration (@IonBazan)
Full Changelog: v2.0.0-alpha.3...v2.0.0-beta.1
v2.0.0-alpha.3
Changelog
[c447d57] minor #175 Throw bad method call on attempt to call ReadableEnumtrait::readableForValue on non backed enum (@ogizanagi)
[1a1c3d6] feature #170 Allow to provide extra values to EnumCase attribute (@ogizanagi)
Full Changelog: v2.0.0-alpha.1...v2.0.0-alpha.3
v2.0.0-alpha.2
Changelog
[55781e1] minor #171 [Docs] Mention the official Doctrine ORM integration (@ogizanagi)
[ec16823] bug #174 Override the block prefix (@benji07)
Full Changelog: v2.0.0-alpha.1...v2.0.0-alpha.2
v1.17.1
v2.0.0-alpha.1
Changelog
[e841eb6] feature #165 V2: Rewrite with PHP 8.1 enums (@ogizanagi)
Which includes:
- readables
- flagbag
- symfony readable form type
- dbal types generations
[0bc5a0b] feature #167 Add VarDumper caster for readables (@ogizanagi)
[e4dacde] feature #168 Add VarDumper caster for flag bag (@ogizanagi)
[2aefece] feature #169 [HttpKernel] Add a controller argument resolver for backed enums (@ogizanagi)