Skip to content

Releases

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 03:27
a3c4248

Major Changes

  • #8 d8bda5d Thanks @SoraYama! - 1.0.0 — API freeze. The public surface (core methods, rule DSL, ConsumeResult, adapter contracts) is reviewed and frozen; no breaking changes in this release. Additions: coverage report in CI (vitest --coverage), README badges, and documentation for three previously implicit details — remaining is Infinity when no count-based rule applies, deniedBy is the identical rule object you passed in (match with ===), and custom SyncStorage implementations own their error handling.

fatigue-kit@1.0.1

Choose a tag to compare

@github-actions github-actions released this 22 Oct 09:40
807e7ba

Patch Changes

  • #10 79759ad Thanks @SoraYama! - Re-export WebStorageAdapterOptions from the local-storage and session-storage public subpaths so TypeScript consumers do not depend on a private generated declaration chunk.

fatigue-kit-react@1.0.1

Choose a tag to compare

@github-actions github-actions released this 22 Oct 09:49
18765cc

Patch Changes

  • #12 b665772 Thanks @SoraYama! - Publish the React bindings under the available fatigue-kit-react npm package name after npm rejected the unavailable scoped package.

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 21 Oct 10:12
0b8c7b4

Patch Changes

  • #6 b666db6 Thanks @SoraYama! - Toolchain refresh: TypeScript 6 (see PR notes for why not 7 yet), vitest 5, tsup 9, size-limit 14 (rolldown engine) and Changesets CLI 3 with changesets/action v2. Rebuilt output is slightly smaller (core 2.17 kB → 2.06 kB). No API changes.

v0.2.0

Choose a tag to compare

@SoraYama SoraYama released this 21 Oct 08:29

Minor Changes

  • Initial public release: sync atomic core (tryConsume/peek) with composable sliding-window, calendar, cooldown and lifetime rules; on-demand storage adapters for Web, mini-programs (WeChat/Alipay), React Native and Node.js; injectable clock; versioned self-pruning records; legacy {times,date,duration,todayCount} migration helper.

npm install fatigue-kit