Skip to content

chore(release): publish 3.6.19

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Nov 13:11
1812872

特性

小程序

  • createCameraContext 补充支付宝小程序的传参说明,fix #14705 by @liuchuzhang
  • 微信小程序 channel-video 组件添加 feed-token 属性,fix #14608 by @TheKonka
  • 完善抖音小程序 input 组件属性,fix #14650 by @TheKonka
  • 完善微信小程序 LivePlayer 组件属性,fix #14648 by @TheKonka
  • 完善微信小程序 map 组件属性,fix #14634 by @TheKonka
  • 支持支付宝小程序 root-portal 组件,fix #14168 by @TheKonka
  • plugin-html 支持把 div 转换成 static-view 或 pure-view,fix #14657 by @leiyu0932
  • 把 properties 转换为 React 的 state,支持可读可写,by @Hyunly
  • 微信/支付宝小程序支持使用 PageMeta 和 NavigationBar 组件,fix #6092 by @Chen-jj
  • 补全京东小程序 Input、TextArea 组件的属性,by @Chen-jj
  • 字节小程序支持 sjs,fix #14635 by @Chen-jj
  • 为 postcss 插件 postcss-pxtransform 增加 375 设计稿的默认配置,fix #14729 by @jc-yang

修复

小程序

  • 修复 Vue2 使用 componentsMap 配置时报错的问题,fix #13299 #14520 #14607 by @Chen-jj
  • 修复 babel-plugin-transform-taroapi 插件对 canIUse 入参 scheme 处理问题,by @tangcq-code
  • 修复由于 http2 的 header 小写 cookie 不起作用的问题,by @myml
  • 修复调用 posix 获取路径导致 window 平台引用资源路径错误的问题,fix #14771 by @al80402
  • 修复小程序可选 DOM API 的相关提示,fix #14764 by @Chen-jj
  • 修复编译小程序时重复编译 App 和 Page 的问题,by @Chen-jj

H5

React-Native

  • 修复新版本的 react native screen 编译不过的问题,by @zhiqingchen

Typings

cli-convertor

  • convertor 转换能力增强,by @Hyunly @caoyang818 @guoenxuan @xiaoyan428820 @QLXWS @yintyuan @yusjie @qican777 @fahasikei
    • 支持 wxs(文件/标签)中使用 getRegExp 创建正则表达式对象
    • 支持用户在 convert.config.json 的 external 字段配置不转换的目录
    • 支持自定义属性 data-* 引用数据类型
    • 支持 template 中 is 值包含动态变量场景
    • 支持转换小驼峰命名风格的组件
    • 支持 es6 的语法,如?.
    • 支持 wx:for 和 wx:if 同时使用,wx:i f使用了 key 或 item 的场景
    • 支持页面引用组件时如果组件下文件名为 index 时路径可省略 index 的场景
    • 增加日志收集功能,日志存放于 taroConvert/.convert/convert.log
    • 内联样式中 px/rpx 转换为 rem
    • wxss 样式文件注释中的引用不进行转换
    • 当源工程存在 tsconfig.json,转换时平移到转换后的工程目录下
    • 当模块中存在 commonjs 的导出,转换时,导入的 taro 模块也使用 commonjs 格式
    • 修复使用 template 模版时传递的 data 中包含多个变量转换异常问题
    • 修复 template 中使用 wxs 转换后路径异常问题