Releases: tiny-blocks/value-object
Releases · tiny-blocks/value-object
v5.0.1
v5.0.0
- Add recursive structural equality + hashing engine under
src/Internal/, and exposehashCode()throughValueObject/ValueObjectBehavior. - Align repo tooling/docs/CI configuration with tiny-blocks ecosystem conventions (reports paths, stricter PHPUnit flags, static analysis, templates, etc.).
v4.0.2
- Add
export-ignoreentries forphpunit.xml,phpstan.neon,phpcs.xml, andinfection.json.dist. - Keep dev-only tooling/config files out of Packagist tarballs to reduce install size and noise.
v4.0.1
- Updates
.gitignoreto ignore common IDE/agent directories and local build/test artifacts. - Adjusts
.gitattributesexport-ignorerules 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
- Removed the
Immutabledependency from theValueObjectcontract 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
- 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
- Updates dependencies.
v3.0.0
- 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
- Adds segregation for immutability with an Immutable interface.
v2.0.1
- Fixes README.md and updates dependencies.