Skip to content

Releases: mapbox/locking

v5.0.0

03 Oct 18:08
2f7903f
Compare
Choose a tag to compare
  • Convert to typescript
  • Test with node.js 20.x
  • Replace TravisCI with GitHub Actions

v4.0.0

23 Jul 15:35
15c3283
Compare
Choose a tag to compare

BREAKING

  • library now exports two items, Locking and LockingAsync
  • Locking function, which contains the same interface as previous versions
  • LockingAsync class, for managing async/promise functions of arbitrary parameters
  • update lru-cache 7.x, this includes updated options:
    • stale is now allowStale
    • maxAge is now ttl
  • use jest as a test runner
  • test on node 16 & 18, drop node 10 & 12

v3.3.0

08 Feb 18:07
Compare
Choose a tag to compare
  • Made sure to check if data exist before fetching it