Skip to content

v1.2.2

Choose a tag to compare

@github-actions github-actions released this 11 Oct 04:56
· 6 commits to main since this release

Changes

  • fix(deps): ⬆️ update dependency @haskou/value-objects to ^8.3.4

Release details

Pull request notes

This PR contains the following updates:

Package Change Age Confidence
@haskou/value-objects (source) ^8.3.3 → ^8.3.4 age confidence

Release Notes

haskou/value-objects (@​haskou/value-objects)

v8.3.4

Compare Source

Changes

  • fix(factories): 🐛 Return subclass from static factories (#​94)

Release details

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.