Skip to content

v6.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 19:56
· 31 commits to master since this release
9d2fc1e

Changes

  • break(value-object): 馃挜 Make equality type-aware

Release details

Pull request notes

Summary

Make Value Object equality type-aware.

  • Require the same concrete Value Object type and value for isEqual.
  • Add hasValue for explicit value-only comparisons.
  • Adapt Color, Media, Enum, and Timestamp comparisons.
  • Update relevant tests and documentation for the equality contract.

One commit based directly on current master, which already includes #53. The diff contains only the equality slice; package-format changes and NullObject control are excluded.

Semver

Breaking / major. Primitive or cross-type comparisons must migrate to hasValue.

Validation

Locally validated: 560 tests, ESLint, and TypeScript checking pass.