Releases: haskou/value-objects
Releases · haskou/value-objects
v2.13.1
Changes
- fix(docs): 🐛 separate documentation sections
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/2.13.1
- Pull request: #24
- Source branch:
fix/docs-navigation - Version bump:
patch
Pull request notes
What changed
- Split documentation navigation into separate Getting Started, Guide, and Reference sections.
- Added a Guide index page.
- Removed the VitePress logo configuration and deleted the unused logo asset.
- Simplified the reference overview copy.
Why
The previous documentation sidebar mixed unrelated sections, which made the docs feel harder to navigate.
Validation
- Ran
yarn docs:build.
v2.13.0
Changes
- feat(deps): ⬆️ add Renovate dependency updates
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/2.13.0
- Pull request: #23
- Source branch:
feat/add-renovate-dependency-updates - Version bump:
minor
Pull request notes
What changed
- Added
renovate.jsonso Renovate can open dependency update PRs. - Added a Renovate-enabled badge to the README.
- Updated the README introduction.
- Updated direct devDependencies currently reported by
yarn outdated:@haskou/eslint-configto^0.1.2@types/nodeto^26.0.1vueto^3.5.39
Why
The package had dependency drift, and Renovate will keep future dependency updates visible as reviewable PRs.
Validation
- Parsed
renovate.jsonwith Node. - Ran
yarn outdatedafter updating dependencies. - Ran
yarn test. - Ran
yarn build.
v2.12.0
Changes
- feat(eslint): ➕ Add @haskou/eslint-config
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/2.12.0
- Pull request: #21
- Source branch:
feat/eslint-config - Version bump:
minor
Pull request notes
Replace eslint configurations with generic one.
v2.11.0
v2.10.1
Changes
- fix(package): 🐛 Harden npm package configuration
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/2.10.1
- Pull request: #19
- Source branch:
fix/library-packaging-quality - Version bump:
patch
Pull request notes
Changes
- Add stricter npm package metadata:
exports,engines,sideEffects, and runtimetslib. - Require coverage thresholds and remove the test mode that allowed no tests.
- Generate UUID and ShortId values internally using existing secure random bytes, removing external ID generator dependencies.
- Modernize lint/Jest/TypeScript config for the latest toolchain.
- Update and prune dependencies so the package stays lighter.
Why
The published package referenced tslib from dist without declaring it as a runtime dependency, which breaks clean consumers. The package also carried avoidable runtime/dev dependencies and older tooling config.
Validation
yarn lintyarn buildyarn test:coveragewith 100% global coveragenpm pack+ install in a clean temporary consumer + require package + generate UUID, ShortId, and SymmetricKeyyarn outdatedreturns no outdated packages
v2.10.0
Changes
- feat(crypto): ✨ Raise symmetric payload limit
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/2.10.0
- Pull request: #18
- Source branch:
feat/symmetric-payload-limit - Version bump:
minor
Pull request notes
Summary
- Raise
SymmetricKeypayload and ciphertext limit from 1 MiB to 8 MiB. - Keep asymmetric payload encryption capped at 1 MiB.
- Validate decoded ciphertext size before strict Base64 regex checks to avoid expensive/fragile validation on oversized payloads.
- Update README and technical documentation with separate asymmetric and symmetric limits.
Validation
yarn lintyarn buildyarn test:coverage(100% statements, branches, functions, and lines)
v2.9.0
Changes
- feat(crypto): ✨ Add OWASP-aligned crypto formats
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/2.9.0
- Pull request: #17
- Source branch:
feat/owasp-crypto-recommendations - Version bump:
minor
Pull request notes
- Added versioned asymmetric payload encryption with ephemeral X25519, HKDF-SHA256 and AES-256-GCM.
- Added symmetric AES-256-GCM keys and password-derived keys.
- Added encrypted private key v3 with
scrypt.N16384.r8.p5 + AES-256-GCM. - Preserved backward-compatible decrypt support for previous payload formats.
- Added strict Base64 validation and domain errors for encrypted private key format issues.
v2.8.0
Changes
- feat(crypto): ✨ Add symmetric encrypted payloads
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/2.8.0
- Pull request: #16
- Source branch:
feat/symmetric-encrypted-payload - Version bump:
minor
Pull request notes
Summary
- Add
SymmetricKeyfor AES-256-GCM payload encryption and decryption. - Add typed symmetric/asymmetric encrypted payload value objects and scheme detection.
- Reuse
SymmetricKeyinternally forEncryptedPrivateKeyV2while keeping the existing serialized private-key format. - Document symmetric encryption, deterministic password-based key derivation, payload formats, and security boundaries.
- Extend tests to keep global coverage at 100%.
Validation
yarn lintyarn test:coverage(100% statements, branches, functions, and lines)yarn build