Skip to content

chore(release): publish 3.6.6

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Apr 14:28
1cc9410

特性

  • 新增 Taro.interceptorify API
  • 新增 Taro.getAppInfo API

小程序

  • 支付宝小程序支持使用自定义 Tabbar,#13610,by @TheKonka
  • 新增 getRenderer 方法获取页面渲染引擎类型,#13587
  • 新增 injectNewStyleProperties 运行时钩子,用于注入需要额外支持的 CSS 属性

CLI

  • 新增了全局插件和插件集配置,可以在没有项目 config 文件的情况下运行 Taro 相关插件,参考文档

babel-preset-taro

  • 支持修改 react presets 的配置

修复

小程序

  • 修复 virtual-list 导出问题,#13360 #13442 #13702,by @TheKonka
  • 修复微信小程序视频号相关 API 没有 Promise 化的问题,by @b1ngx
  • 修复 logInterceptor 在生产环境没有 Log 输出的问题,#11576,by @icksky
  • 修复 history.state 的返回不符合 web 规范的问题,#13723
  • 支持设置 aspectRatio 样式属性

H5

  • 修复 Swiper 组件衔接模式的 initial 值,#13589
  • 支持 Textarea 组件的 confirm 事件,#12911
  • 补充 cleanInterceptors 方法,#11339
  • 修复 Swiper 组件轮播显示问题,#13589
  • 修复 multi 路由模式跳转错误,#13685

postcss-pxtransform

  • H5 支持 px 单位,小程序支持 rempx 单位,#7637 #10212

@tarojs/plugin-http

@tarojs/create-app

  • 修复 npm create 导致项目初始化后自动安装依赖报错的问题

Typings

  • 修复 View 组件 disableScroll 属性的类型定义,by @eiinu
  • 修复 getRandomValues 方法的类型问题,#13673
  • 修复 designWidth 类型

Perf

  • 优化小程序环境调用 getElementsByClassName 方法的性能