github alibaba/hooks v3.9.5

one day ago

What's Changed

  • 🆕 新功能
    • @Arktomson 贡献,在 #2844 中将 js-cookie 的类型包放到生产依赖中。
  • 🛠️ 代码重构
    • @BH4HPA 贡献,在 #2843 中对 useUrlState 进行重构,将 initialState 重命名为 baseState。
  • 🔧 项目配置
    • @crazylxr 贡献,在 #2848 中禁用了 es 构建的 sourceMap,以避免发布 .js.map 文件。
  • 📖 文档更新
    • @atharva6868 贡献,在 #2840 中为 useBoolean 钩子添加了新的使用示例。
  • 🐛 Bug 修复
    • @guaijie 贡献,在 #2838 中修复了 refreshDepsAction 提供后依赖刷新没有执行的 bug。

  • 🆕 New Features
    • Contributed by @Arktomson, added the type package of js-cookie to the production dependencies in #2844.
  • 🛠️ Code Refactoring
    • Contributed by @BH4HPA, refactored useUrlState and renamed initialState to baseState in #2843.
  • 🔧 Project Configuration
    • Contributed by @crazylxr, disabled the sourceMap for es build to avoid publishing .js.map files in #2848.
  • 📖 Documentation Updates
    • Contributed by @atharva6868, added a new usage example for the useBoolean hook in #2840.
  • 🐛 Bug Fixes
    • Contributed by @guaijie, fixed the bug that the dependency refresh did not execute after refreshDepsAction was provided in #2838.

New Contributors

Full Changelog: v3.9.4...v3.9.5

Don't miss a new hooks release

NewReleases is sending notifications on new releases.