Repository navigation
v7.1.0
Changes
- feat(docs): ✨ Explain value objects through practical examples
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/7.1.0
- Pull request: #76
- Source branch:
feat/library-discovery - Version bump:
minor
Pull request notes
Rework the README around the problems value objects solve: repeated primitive validation, domain invariants, and missing values. Add a custom Username example, explain NullObject behavior and assertions, and make installation, API discovery and contribution links easier to find. Add the weekly npm downloads badge.
The Username example preserves NullObject construction, and the Email explanation distinguishes validated values from absence.
Validation: executed the README's Username example against the built library with valid, invalid, null and undefined inputs; all checks pass. git diff --check passes. Only README.md changes.