Repository navigation
Releases
Releases · SoraYama/fatigue-kit
v1.0.0
Major Changes
- #8
d8bda5dThanks @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 —remainingisInfinitywhen no count-based rule applies,deniedByis the identical rule object you passed in (match with===), and customSyncStorageimplementations own their error handling.
fatigue-kit@1.0.1
fatigue-kit-react@1.0.1
v0.2.1
v0.2.0
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