Skip to content

Releases: giladgd/lifecycle-utils

v3.1.0

03 Feb 00:17

Choose a tag to compare

3.1.0 (2026-02-03)

Features

Bug Fixes

  • never throw when calling EventRelay's .dispose() (ab377cf)

v3.0.1

12 Jul 16:08

Choose a tag to compare

3.0.1 (2025-07-12)

Bug Fixes

  • withLock: more flexible TS types (3cc379a)

v3.0.0

11 Jul 16:32

Choose a tag to compare

3.0.0 (2025-07-11)

  • feat(withLock)!: support scope array (17eb563)

BREAKING CHANGES

  • the signatures of withLock and related methods now receive a scope array instead of scope and key.
    To update to the new version, modify your usages of withLock and related methods from withLock(scope, key, callback) to withLock([scope, key], callback).
    Methods with updated signatures: withLock, isLockActive, acquireLock, waitForLockRelease.

v2.1.0

09 Jul 15:15

Choose a tag to compare

2.1.0 (2025-07-09)

Features

  • add WeakValueMultiKeyMap and WeakValueMap (417fba5)

v2.0.1

06 Jun 20:49

Choose a tag to compare

2.0.1 (2025-06-06)

Bug Fixes

  • splitText: separate separator types for better TypeScript guards (d08ad13)

v2.0.0

25 Dec 04:27

Choose a tag to compare

2.0.0 (2024-12-25)

  • feat(withLock)!: improve efficiency (c588ed7)

BREAKING CHANGES

  • locks use fewer microtask cycles

v1.7.3

25 Dec 04:15

Choose a tag to compare

1.7.3 (2024-12-25)

Bug Fixes

  • withLock: revert improvements due to behavioral change (bdc3b77)

v1.7.2

25 Dec 00:13

Choose a tag to compare

1.7.2 (2024-12-25)

Bug Fixes

  • acquireLock: return earlier (3f3b33f)

v1.7.1

19 Dec 22:02

Choose a tag to compare

1.7.1 (2024-12-19)

Bug Fixes

  • AsyncDisposableHandle: when dispose function fails, return the fail value on future calls (002d6c9)
  • withLock: improve queue efficiency (79a98d2)

v1.7.0

17 Sep 21:57

Choose a tag to compare

1.7.0 (2024-09-17)

Features

  • add DisposableHandle and AsyncDisposableHandle (3df1087)