chore(release): publish 3.6.12
特性
小程序
- 新的混合原生打包模式, 编译页面时同时编译本地化组件,并共享同一套运行时,参看示例工程 examples/new-blended
- 调整钩子 modifyBuildAssets 调用顺序 #14324
H5
- 对齐小程序 connectSocket API 限制 #14292
修复
小程序
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())
})()