Skip to content

chore(release): publish 3.6.12

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Aug 02:21
f72825b

特性

小程序

  • 新的混合原生打包模式, 编译页面时同时编译本地化组件,并共享同一套运行时,参看示例工程 examples/new-blended
  • 调整钩子 modifyBuildAssets 调用顺序 #14324

H5

  • 对齐小程序 connectSocket API 限制 #14292

修复

  • 修复输入框事件传入的函数不会更新 #14293
  • 修复button组件丢失warn
  • 修复瀑布流普通模式列表数错误问题 #14285

小程序

  • 修复 config 新增默认 clean 配置项导致的微信小程序插件编译失败的问题 #14262
  • 修复 usingComponent 不能引用 node_modules 下依赖的问题 #14325

alipay

  • 适配 my.alert 成功后的回调函数 #14267

tt

  • 支持自定义下拉刷新控件 #14247

H5

  • 修复h5模式下页面返回destroyed、onShow生命周期时序 #14303
  • 优化 fetch 参数传递 fix #14222
  • 优化 Image 组件懒加载并修复下拉刷新类名错误 #14297
  • 修复 useDeprecatedAdapterComponent 的组件路径
  • 优化路由改变时,关闭全屏图片预览 #14320

预编译

  • 修复 pnpm worksapce 使用了不同 Taro 版本时报错的问题 #14224
  • 修复多端文件解析在开启 prebundle 功能时报错的问题 #14123
  • 修复虚拟模块冗余调用 #14257

不兼容更新

RN

新版本的配置使用异步获取,metro.config.js 需要手动更新

const { mergeConfig } = require('metro-config')
const { getMetroConfig } = require('@tarojs/rn-supporter')

module.exports = (async function (){
  return mergeConfig({
  // custom your metro config here
  // https://facebook.github.io/metro/docs/configuration
    resolver: {}
  }, await getMetroConfig())
})()