What's Changed
- 🐛 fix(useResponse): adds default export by @CJY0208 in #2555
- 🐛 fix(useSelections):
setSelected
should support non-array value by @liuyib in #2559 - 🐛 fix(useResetState): reset random initial value incorrectly by @hemengke1997 in #2562
- 🐛 fix: resolves depsEqual performance issues by @caorushizi in #2578
- 🐛 fix:
TypeError: props.hasOwnProperty is not a function
by @ShaofeiZi in #2596 - 🐛 fix: resolves useRquest debounce issue by @ruixingshi in #2606
- 🐛 fix: solve the compatibility issue of useLongPress on desktop Safari by @mscststs in #2602
- 🛠 chore(useRequest): the official useRequest hooks documentation has an error. In version 2, the option parameter should be throwOnError by @chovrio in #2563
- 🛠 chore: bump js-cookie to ^3.0.5 by @fisherspy in #2600
- 🤖 ci: "intall" word error, should be "install" by @long36708 in #2587
- 🤖 ci: change node.js version to 18, 20 and update actions version by @liuyib in #2604
- ⚡ test: update useLatest test case by @FEliuyg in #2586
- 📚 docs: fix the Chinese mirror by @zhangmo8 in #2608
- 🐛 fix(useResponse): 添加默认导出,由 @CJY0208 提交于 #2555
- 🐛 fix(useSelections):
setSelected
应该支持非数组值,由 @liuyib 提交于 #2559 - 🐛 fix(useResetState): 重置随机初始值错误,由 @hemengke1997 提交于 #2562
- 🐛 fix: 解决 depsEqual 性能问题,由 @caorushizi 提交于 #2578
- 🐛 fix: 修复
TypeError: props.hasOwnProperty is not a function
由 @ShaofeiZi 提交于 #2596 - 🐛 fix: 解决 useRquest 防抖问题,由 @ruixingshi 提交于 #2606
- 🐛 fix: 解决 useLongPress 在桌面端 Safari 不兼容的问题,由 @mscststs 提交于 #2602
- 🛠 chore(useRequest): 官方文档 useRequest hooks 文案错误,v2 中的 option 参数应该是 throwOnError,由 @chovrio 提交于 #2563
- 🛠 chore: 将 js-cookie 升级到 ^3.0.5,由 @fisherspy 提交于 #2600
- 🤖 ci: "intall" 单词错误,应为 "install",由 @long36708 提交于 #2587
- 🤖 ci: 将 node.js 版本更改为 18、20 并更新 actions 版本,由 @liuyib 提交于 #2604
- ⚡ test: 更新 useLatest 测试用例,由 @FEliuyg 提交于 #2586
- 📚 docs: 修复中文镜像,由 @zhangmo8 提交于 #2608
New Contributors
- @chovrio made their first contribution in #2563
- @caorushizi made their first contribution in #2578
- @long36708 made their first contribution in #2587
- @FEliuyg made their first contribution in #2586
- @ShaofeiZi made their first contribution in #2596
- @mscststs made their first contribution in #2602
- @zhangmo8 made their first contribution in #2608
- @ruixingshi made their first contribution in #2606
- @fisherspy made their first contribution in #2600
Full Changelog: v3.8.0...v3.8.1