Skip to content

Releases: tiny-blocks/value-object

v5.0.1

Choose a tag to compare

@gustavofreze gustavofreze released this 23 May 21:07
fb43610
  • 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

Choose a tag to compare

@gustavofreze gustavofreze released this 18 May 15:23
9a1292c
  • 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

Choose a tag to compare

@gustavofreze gustavofreze released this 21 Apr 21:56
f49beb4
  • 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

Choose a tag to compare

@gustavofreze gustavofreze released this 21 Apr 21:41
a85c5b6
  • 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

Choose a tag to compare

@gustavofreze gustavofreze released this 20 Apr 18:37
879293b
  • 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

Choose a tag to compare

@gustavofreze gustavofreze released this 14 Jan 17:37
6c8df15
  • 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

Choose a tag to compare

@gustavofreze gustavofreze released this 31 Dec 14:28
954d1c8
  • Updates dependencies.

v3.0.0

Choose a tag to compare

@gustavofreze gustavofreze released this 05 Oct 16:13
e88a707
  • 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

Choose a tag to compare

@gustavofreze gustavofreze released this 04 Oct 14:16
5886b32
  • Adds segregation for immutability with an Immutable interface.

v2.0.1

Choose a tag to compare

@gustavofreze gustavofreze released this 17 Jun 14:54
ee7d81c
  • Fixes README.md and updates dependencies.