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

Choose a tag to compare

@tntrex tntrex released this 19 Feb 15:58

Added

  • Support installation on PHP 8.

1.7.0

Choose a tag to compare

@tntrex tntrex released this 20 Dec 19:29

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

Choose a tag to compare

@tntrex tntrex released this 06 Oct 16:47

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

Choose a tag to compare

@tntrex tntrex released this 27 Sep 10:18

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

Choose a tag to compare

@tntrex tntrex released this 09 Aug 09:31
4edf0e5

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

Choose a tag to compare

@tntrex tntrex released this 18 Jun 16:17
2a11269

Fixed

  • Make value object strategy more flexible

Added boolean hydrator strategy

Choose a tag to compare

@tntrex tntrex released this 15 Jun 14:22
7e29a24

Added

  • Added BooleanStrategy

Added Nullable hydrator strategy

Choose a tag to compare

@tntrex tntrex released this 12 Jun 17:36
09eee0f

Added

  • Added NullableStrategy

Some code improvements

Choose a tag to compare

@tntrex tntrex released this 21 Apr 19:24
0c111c8

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

Choose a tag to compare

@tntrex tntrex released this 13 Apr 14:54
eb4a5c6

Fixed

  • Support ramsey/uuid@^4.0

For more info see diff