Skip to content

Releases: Elao/PhpEnums

v1.17.0-beta.1: Symfony 6 compatibility

27 Oct 10:17
Compare
Choose a tag to compare
Pre-release

This version fixes Symfony 5.4 types deprecations and allows Symfony 6.
A minor BC break is expected if you extended some of the DBAL type methods, due to #156.

This release also adds support for Doctrine DBAL types default value on null from configuration,
as well as better support for XML/CSV denormalization of integer based enums.

Changelog

[bbc7f2e] feature #157 Allow Symfony 6 (@ogizanagi)
[f2e761a] feature #132 Support default value for generated Doctrine types (@mbrodala)
[a27eece] feature #158 Support for denormalizing XML to an integer Readable enum (@ogizanagi)
[9440cbd] minor #155 [CI] Use Flex for testing multiple Symfony versions (@ogizanagi)
[ed782a9] minor #156 Fix 5.4 deprecs & types (@ogizanagi)
[40a1a5a] minor #159 [CI] Limit mongo tests to edges checks (@ogizanagi)

Full Changelog: v1.16.0...v1.17.0-beta.1

v1.16.0

26 Aug 14:15
Compare
Choose a tag to compare

Changelog

[7d4cb3c] bug #150 fix collection enum types for ODM (@IonBazan)
[345586f] feature #153 add native jsonSerialize (@IonBazan)
[075003f] bug #152 handle readable enums that contain values which need escaping in javascript (@bendavies)

v1.15.1

17 Aug 15:31
Compare
Choose a tag to compare

Changelog

[2727f3c] minor #148 Improve PHPStan and Psalm annotations (@B-Galati, @IonBazan)

v1.15.0: ODM types

04 Aug 13:39
Compare
Choose a tag to compare

Changelog

[f7308ab] minor #144 improve return types phpdocs (@IonBazan)
[097c995] feature #146 add Stringable interface (@IonBazan)
[e8e3c73] feature #145 Add Doctrine ODM bridge (@IonBazan)
[c533ec1] minor #147 Don't always require mongodb for tests (@ogizanagi)

v1.14.2

25 Jun 14:08
Compare
Choose a tag to compare

Changelog

[baf6165] bug #139 138: Fix Api Platform swagger documentation for nullable enum (@romain-coiffard)
[5b57142] bug #141 Add requiresSQLCommentHint to AbstractJsonCollectionEnumType (@notFloran)

v1.14.1

31 May 14:31
Compare
Choose a tag to compare

Changelog

[accf9f5] minor #127 Fix return type for Enum::instances() (devster)
[bee09af] minor #131 Fix phpdoc return types (IonBazan)

Misc

[32a9e1a] minor #128 Document usage with easy admin 3 bundle (pluk77, ogizanagi)
[ac3b8e1] minor #133 Use GitHub Actions (IonBazan)
[a1717cc] minor #137 fixing Windows tests (IonBazan)
[0fbdccf] minor #136 [CI] Add dedicated lint job + minor workflow tweaks (ogizanagi)

v1.14.0

19 Feb 13:35
Compare
Choose a tag to compare

Changelog

[69a74a3] feature #123 120: add nullability and arrays to ElaoEnumType for API platform (JenniferSpry, ogizanagi)

v1.13.0

14 Dec 15:09
Compare
Choose a tag to compare

Changelog

[59768df] feature #112 Drop PHP & Symfony EOL versions & fix Symfony 5.2 & PHP 8 build (ogizanagi)
[fc6c4b2] feature #114 [Validator] Allow to use Enum constraint with PHP8 attributes (ogizanagi)
[a7f1003] minor #115 Run & fix inspections (ogizanagi)
[f7badd1] feature #113 Expose Enum static methods to Twig (Tom32i, ogizanagi)

v1.12.2

13 Nov 14:55
Compare
Choose a tag to compare

This is the last release with PHP 7.0, 7.1, 7.2 and Symfony 3.4 support.

Changelog

[089b783] bug #109 Fix invalid libPath on windows when using unix path in config (Jan Christoph Beyer)
[49cece6] bug #111 Add appveyor configuration & fix Windows issues (Jan Christoph Beyer)

Fix autodiscovered values contiguous indices

06 Nov 17:09
Compare
Choose a tag to compare

Changelog

[373ecfa] bug #107 Fix autodiscovered values contiguous indices (ogizanagi)