Repository navigation
v1.2.2
Changes
- fix(deps): ⬆️ update dependency @haskou/value-objects to ^8.3.4
Release details
- npm: https://www.npmjs.com/package/@haskou/metrics/v/1.2.2
- Pull request: #9
- Source branch:
- Version bump:
Pull request notes
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @haskou/value-objects (source) | ^8.3.3 → ^8.3.4 |
Release Notes
haskou/value-objects (@haskou/value-objects)
v8.3.4
Changes
- fix(factories): 🐛 Return subclass from static factories (#94)
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/8.3.4
- Pull request: #95
- Source branch:
fix/subclass-static-factories - Version bump:
patch
Pull request notes
Closes #94
UUID.generate, ShortId.generate, Timestamp.now/new/fromSeconds and Duration.from* now instantiate through the receiver (new this(...)) with a typed this, so subclasses get subclass instances and types, and isEqual works against them.
Note: calling the factories detached (const f = UUID.generate; f(), .map(Duration.fromDays)) no longer works.
Adds regression tests in tests/value-objects/SubclassFactories.spec.ts.
Configuration
📅 Schedule: (in timezone Europe/Madrid)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.