Skip to content

Releases: mupperton/phunky

v2.0.0

22 Nov 21:16
Compare
Choose a tag to compare

Full Changelog: v1.2.0...v2.0.0

Breaking changes

  • Dropped commonjs support - switched to Bun for builds and tests (672ba25)

v1.2.0

10 Apr 14:02
Compare
Choose a tag to compare

Full Changelog: v1.1.0...v1.2.0

Features

  • Added callback option to manually check for a stale value (97b4d85)

Fixes

  • isResolved() now returns true when an initial value is provided (7b54bc3)

v1.1.0

06 Nov 15:37
Compare
Choose a tag to compare

Full Changelog: v1.0.0...v1.1.0

Features

  • Added option to set an initial value (418e19c)

v1.0.0

15 Oct 22:03
Compare
Choose a tag to compare

Official Release 🚀

Full Changelog: v0.2.1-beta...v1.0.0

Tests

  • Test suite added with 100% test coverage (7ec47ab)

v0.2.1-beta

11 Oct 15:38
Compare
Choose a tag to compare
v0.2.1-beta Pre-release
Pre-release

Full Changelog: v0.2.0-beta...v0.2.1-beta

Fixes

  • Fixed typings for promises, no longer have return types of Promise<Promise<T>> (425e3ed)

v0.2.0-beta

11 Oct 15:08
Compare
Choose a tag to compare
v0.2.0-beta Pre-release
Pre-release

Full Changelog: v0.1.0-alpha...v0.2.0-beta

Features

  • Added ttl config option to automatically re-invoke your function if it is considered stale (ad7bfde)

Documentation

  • Added documentation of the config options and class methods for Phunk (50dd6b7)

v0.1.0-alpha

10 Oct 22:13
Compare
Choose a tag to compare
v0.1.0-alpha Pre-release
Pre-release

Features

  • Added cacheRejections config option to opt-in to caching the result even when an error is thrown (79b88af)