Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Releases: spaceonfire/value-object

1.7.1

19 Feb 15:58

Choose a tag to compare

Added

  • Support installation on PHP 8.

1.7.0

20 Dec 19:29

Choose a tag to compare

Added

  • Method equals() now available on any value object with strict value comparison.

Deprecated

  • IntValue::equalsTo() method deprecated and should be replaced with new equals() method.

Fixed

  • Enum value object now accept only public constants (#5).
  • Enum value objects now strictly compared due to new method equals().

1.6.0

06 Oct 16:47

Choose a tag to compare

Deprecated

  • Classes spaceonfire\ValueObject\Bridge\LaminasHydrator\BooleanStrategy and spaceonfire\ValueObject\Bridge\LaminasHydrator\NullableStrategy
    were moved to spaceonfire/laminas-hydrator-bridge library. Class alias provided for backwards compatibility,
    but will be removed in next major release.

1.5.0

27 Sep 10:18

Choose a tag to compare

Deprecated

  • Namespace spaceonfire\ValueObject\Integrations\HydratorStrategy renamed to spaceonfire\ValueObject\Bridge\LaminasHydrator.
    Class aliases provided for backwards compatibility, but will be removed in next major release.

Updated NullableStrategy

09 Aug 09:31
4edf0e5

Choose a tag to compare

Added

  • Added optional $nullValuePredicate argument to NullableStrategy constructor
    that allows you to specify which values should be considered as null

1.3.1: small improvements in value object hydrator strategy

18 Jun 16:17
2a11269

Choose a tag to compare

Fixed

  • Make value object strategy more flexible

Added boolean hydrator strategy

15 Jun 14:22
7e29a24

Choose a tag to compare

Added

  • Added BooleanStrategy

Added Nullable hydrator strategy

12 Jun 17:36
09eee0f

Choose a tag to compare

Added

  • Added NullableStrategy

Some code improvements

21 Apr 19:24
0c111c8

Choose a tag to compare

Added

  • Added phpDoc comments as possible
  • Updated code style checks
  • Added PHPStan linter
  • Make UuidValue non abstract class

For more info see diff

Support ramsey/uuid 4.0

13 Apr 14:54
eb4a5c6

Choose a tag to compare

Fixed

  • Support ramsey/uuid@^4.0

For more info see diff