Skip to content

Releases: tiny-blocks/value-object

v5.0.1

23 May 21:07
fb43610

Choose a tag to compare

  • Replace get_object_vars() with a reflection-based property extractor for hashing and equality.
  • Add new test fixtures and extend behavior tests to cover private properties, mixed visibility, and static-property exclusion.

v5.0.0

18 May 15:23
9a1292c

Choose a tag to compare

  • Add recursive structural equality + hashing engine under src/Internal/, and expose hashCode() through ValueObject / ValueObjectBehavior.
  • Align repo tooling/docs/CI configuration with tiny-blocks ecosystem conventions (reports paths, stricter PHPUnit flags, static analysis, templates, etc.).

v4.0.2

21 Apr 21:56
f49beb4

Choose a tag to compare

  • Add export-ignore entries for phpunit.xml, phpstan.neon, phpcs.xml, and infection.json.dist.
  • Keep dev-only tooling/config files out of Packagist tarballs to reduce install size and noise.

v4.0.1

21 Apr 21:41
a85c5b6

Choose a tag to compare

  • Updates .gitignore to ignore common IDE/agent directories and local build/test artifacts.
  • Adjusts .gitattributes export-ignore rules to exclude dev-only files from Packagist archives.
  • Expands and clarifies naming and exception-guidance in .claude/rules/php-library-modeling.md.

v4.0.0

20 Apr 18:37
879293b

Choose a tag to compare

  • Removed the Immutable dependency from the ValueObject contract and dropped the immutability trait usage.
  • Updated equals() to enforce same-class checks and strict comparison of object properties.
  • Updated project tooling/docs (Infection config, CI actions versions, Makefile targets, README/FAQ, repo config files).

v3.2.0

14 Jan 17:37
6c8df15

Choose a tag to compare

  • Bump PHP requirement to 8.5 in composer.json and Docker image.
  • Update dev dependencies and scripts for latest tool versions.
  • Enhance Makefile with help, color output, and improved targets.
  • Add dependabot and CodeQL configuration for automated security and dependency checks.
  • Improve CI workflow, add build job, artifact caching, and optimize steps.
  • Remove phpmd from scripts and export-ignore lists.
  • Update .gitignore and phpstan config for better coverage.

v3.1.0

31 Dec 14:28
954d1c8

Choose a tag to compare

  • Updates dependencies.

v3.0.0

05 Oct 16:13
e88a707

Choose a tag to compare

  • Moved immutability logic into a dedicated library for reuse.
  • Updated the Value Object (VO) contract to ensure values are compared based on properties.

v2.1.0

04 Oct 14:16
5886b32

Choose a tag to compare

  • Adds segregation for immutability with an Immutable interface.

v2.0.1

17 Jun 14:54
ee7d81c

Choose a tag to compare

  • Fixes README.md and updates dependencies.