特性
CLI
- 支持使用包管理器的
create
命令创建 Taro 项目,如:yarn create @tarojs/app
,by @kingzez
RN
- 支持获取原生
View
组件的 ref 引用,将原生View
组件的 ref 挂在ref.current.$ref
属性上,by @peterczg - 支持在 style 文件中 (css, sass...),使用
vw
,vh
等单位,by @biorz
修复
小程序
- 补充对淘宝小程序
ArCamera
组件的支持,by @weilaiqishi
H5
- 优化
Swiper
组件的样式引入,#12034
CLI
- 修复
taro build
命令设置port
参数无效的问题,#12024,by @Binbiubiubiu
@tarojs/plugin-react-devtools
- 修复 react devtools 在 wsl2 下使用报错的问题,by @SeeSaySee
Typings
- 补充
getFuzzyLocation
的类型,by @DBvc - 添加
vibrateShort
API震动参数类型,by @FengFuLiu - 修复
canvasToTempFilePath.Option.canvas
类型错误问题,by @lf7817 - 修复
uploadFile/downloadFile
返回结果类型不正确的问题,#12048 - 补充
RequestParams
缺省类型,#12047