Skip to content

Releases: wmzy/react-toolroom

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 07 Sep 00:31

1.1.1 (2026-09-07)

Bug Fixes

  • useMutation 回调抛错不再破坏调用结果;persistence 监听随 provider 可达性回收;usePolling 兼容无 document 环境 (bfa1e04)

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 00:44

1.1.0 (2026-09-05)

Features

  • useInfinite 新增 resetOn 选项——'args' 模式下重跑不再清空已翻页聚合 (cf20913)

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 00:36

1.0.0 (2026-09-05)

  • fix!: createMemoryCacheProvider 默认 cacheTime 改为 5 分钟——对齐 TanStack gcTime,消除 loader 预写条目永久驻留 (0b71608)

Features

  • 新增 useKeyedResult——useResult 收窄到单个 args key 的一等读取 (5e6a0c7)

BREAKING CHANGES

  • createMemoryCacheProvider 的 cacheTime 缺省值从 Infinity 变为 5 * 60_000;依赖默认永久驻留的调用方需显式传 cacheTime: Infinity。

v0.24.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 10:04

0.24.0 (2026-09-04)

Features

  • 导出 hashArgs——多通道 cache key 组合 stableHash(stripVolatile(args)) 一等化 (66bcf89)

v0.23.0

Choose a tag to compare

@github-actions github-actions released this 03 Sep 23:50

0.23.0 (2026-09-03)

Features

  • createMemoryCacheProvider 新增 opts.persist——localStorage 持久化官方化 (ce5583e)

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 03 Sep 23:32

0.22.0 (2026-09-03)

Bug Fixes

  • stableHash 按 symbol 身份折叠——注册键与 description 进入哈希 (c850714)
  • useInfinite 在飞防抖——同方向重复调用不再重复抓页 (3e4c082)

Features

  • hash 归一公开化——stableHash 丢 undefined 键 + 导出 stripVolatile (6f9bb05)

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 03 Sep 02:39

0.21.0 (2026-09-03)

Bug Fixes

  • async: useRetry 遵循调用中止纪律并为预设退避加 ±25% 抖动 (85b87a6)
  • async: useSuspenseResult 悬挂超过宽限期且无调用启动时 DEV 告警 (c8a0ddd)
  • async: 焦点/重连重验证支持按条目年龄门控,rejection 不再裸 void (b5f3f00)

Features

  • async: useCache stale 判定迁移为 KeyedStore per-key 字段 (c63032a)

v0.20.0

Choose a tag to compare

@github-actions github-actions released this 02 Sep 02:36

0.20.0 (2026-09-02)

Bug Fixes

  • usePolling tick 失败不再对上层不可见——无人观看的失败也记入错误通道,成功 tick 后清除 (7fd10df)

Features

  • useRun 并发同参共享——无缓存路径对齐 TanStack 默认请求去重 (9d5a6f7)

v0.19.0

Choose a tag to compare

@github-actions github-actions released this 01 Sep 15:09

0.19.0 (2026-09-01)

Features

  • useMutation 派生 status 四态 + useArgsStatus error 泛型化 (3e8f1cd)

v0.18.4

Choose a tag to compare

@github-actions github-actions released this 31 Aug 04:13

0.18.4 (2026-08-31)

Bug Fixes

  • provider.load in-flight 槽在 abort 时同步让位,替换消费者不再 join 死 promise (7003cf4)