Skip to content

taro-ui@3.4.1

Choose a tag to compare

@robinv8 robinv8 released this 25 Sep 09:24
· 9 commits to next since this release

Bug Fixes

  • types:重新将 types/ 纳入 npm 发布产物,修复 3.4.0 类型声明缺失导致的 TypeScript 解析失败 (#1904)
    • files 增加 types
    • types / exports["."].types 指向 types/index.d.ts
    • 增加 ./types、./types/* 子路径导出,恢复 taro-ui/types/* 深度导入

从 3.3.3 升级时

3.4.0 已发到 npm,但当时没有生成 GitHub Release。这一版包含 3.4.0 的改动:

  • 全部组件从 Class Component 迁移为 Function Component,props API 保持兼容 (#1886)
  • 新增 ConfigProvider 与 zh_CN / en_US 语言包 (#1891)
  • 恢复 lib/style/*、lib/* 到 dist/ 的 exports 映射
  • 修复 Taro PX 单位被 Prettier 转成小写的问题 (#1901)

完整记录见 CHANGELOG。