FFFF
Skip to content

Releases: marc-mabe/php-enum

4.7.2 Fix deprecation message on PHP 8.5

Choose a tag to compare

@marc-mabe marc-mabe released this 14 Sep 11:32
bb426fc

What's Changed

Full Changelog: v4.7.1...v4.7.2

4.7.1 Fully Support PHP 8.2, 8.3 and 8.4

Choose a tag to compare

@marc-mabe marc-mabe released this 28 Nov 04:59
7159809

Improvements

Bugfixes

  • fix deprecation warning in EnumSet and EnumMap

BC-breaks

None

4.7.0 Explicit Stringable interface

Choose a tag to compare

@marc-mabe marc-mabe released this 19 Apr 02:26
3da42cc

Improvements

  • #156 Enums explicitly implements Stringable interface (with stub for PHP < 8)

Bugfixes

None

BC-breaks

None

4.6.1 Bugfix release

Choose a tag to compare

@marc-mabe marc-mabe released this 13 Feb 06:30

Bugfixes

  • #155 fix error exception on clone $enum

BC-breaks

None

3.2.0 Support PHP 8.1

Choose a tag to compare

@marc-mabe marc-mabe released this 13 Feb 05:47
021dae8

Support PHP 8.1

4.6.0 Support PHP 8.1

Choose a tag to compare

@marc-mabe marc-mabe released this 06 Jan 08:17
207002c

Same as v4.6.0-rc1 but with updated dev dependencies

4.6.0-RC1 Support PHP 8.1

Pre-release

Choose a tag to compare

@marc-mabe marc-mabe released this 04 Sep 04:29
v4.6.0-rc1 < 10BC0 /div>
266fd14

Improvements

  • #150 PHP-8.1 Support
    • Added Attribute ReturnTypeWillChange to EnumMap.offsetGet
    • Upgrade phpbench to ^1.0.4
    • Upgrade phpstan to ^0.12.96

Bugfixes

  • #150 PHP-8.1 Support
    • Added Attribute ReturnTypeWillChange to EnumMap.offsetGet

BC-breaks

None

Fifth Minor Release of 4.x

Choose a tag to compare

@marc-mabe marc-mabe released this 12 Oct 21:32
e9dd470

Improvements

  • #147 #148 PHP-8 Support

    • make Enum::__clone to be final protected instead of final private (we don't consider this a BC break) - thanks @shmurakami
    • Restrict required PHP version to be ^7.1 or ^8.0
    • Tests & Benchmark: Removed assertion polyfill code in bootstrap
    • Tests: removed usage of assert_options
  • #149 Migrate from Travis CI + Scurinizer to Github Workflow + Codecov

    • This simplifies test runs on specific PHP versions using official docker images including PHP-8

Bugfixes

None

BC-breaks

None

Third Minor Release of 4.x

Choose a tag to compare

@marc-mabe marc-mabe released this 27 Apr 10:00

Improvements

  • #138 #140 Static analyzer improvements for PHPStan & Psalm

    • Generics for EnumSet & EnumMap
    • Better argument and return type information
    • purity markers for Psalm
  • #141 Added __debugInfo() for human readable internals of EnumSet & EnumMap for var_dump()

Bugfixes

None

BC-breaks

None

Third Minor Release of 4.x (Release Candidate)

Choose a tag to compare

@marc-mabe marc-mabe released this 26 Apr 16:36
fba3870

Improvements

  • #138 #140 Static analyzer improvements for PHPStan & Psalm

    • Generics for EnumSet & EnumMap
    • Better argument and return type information
    • purity markers for Psalm
  • #141 Added __debugInfo() for human readable internals of EnumSet & EnumMap for var_dump()

Bugfixes

None

BC-breaks

None

0