Taro 周报 2020 年 12 月 05 日 - 2020 年 12 月 12 日 ,更多的Taro周报点击

Taro 大事件

58 技术发布文章《开源 | Taro 3 支持 React Native》

Taro 3 发布后暂不支持 React-Native 平台,于是我们向社区提交了一份实现草案,希望把 58 在 React-Native 上的技术积累分享到社区,同时也从社区对 Taro 的共建上获益。

Taro 2 发布 v2.2.16

  • [修复] H5 路由地址替换错误
  • [修复] 修复插件中引用 taro-ui 组件路径错误

Taro 3 发布 v3.2.0-canary.2

快速修复了试用 Taro 3 React Native 的开发者提出的多个 issue。

收获的案例

本周小伙伴们分享了 3 个案例:

e代驾 来自 eazdp 提交

e代驾微信小程序

e代驾支付宝小程序

逃大拿 来自 王树立 提交

逃大拿

乐日Day自习室 来自 yun-cheng-yue 提交

乐日Day自习室

欢迎大家提交案例(名称 + 小程序码/二维码),和数万开发小伙伴分享您的成果,它将出现在 Taro 文档「案例」页和 「Taro 社区」公众号的周报中。

案例提交地址:

https://github.com/NervJS/taro-user-cases

ISSUES

上周有 48 个新 issue。
其中 20 个 issue 已经被关闭,28 个 issue 仍然保持打开状态。

OPEN ISSUES

🙋‍ #8253 [chore(deps): [security] bump ini from 1.3.5 to 1.3.8](https://github.com/NervJS/tar... by [dependabot-preview[bot]](https://github.com/apps/depen...

🙋‍ #8252 tabbar 希望支持跳转页面和跳转小程序等功能增强, by zhaoxu-me

🙋‍ #8251 chore(deps-dev): bump @types/node from 12.12.62 to 14.14.12, by [dependabot-preview[bot]](https://github.com/apps/depen...

🙋‍ #8250 chore(deps): bump mini-css-extract-plugin from 0.8.0 to 1.3.3, by [dependabot-preview[bot]](https://github.com/apps/depen...

🙋‍ #8249 chore(deps): bump @babel/register from 7.9.0 to 7.12.10, by [dependabot-preview[bot]](https://github.com/apps/depen...

🙋‍ #8248 Taro3.0.18 Scrollview的scrollIntoView设置无效, by darkfiredarkhalo

🙋‍ #8246 通过object类型传入的styles,无法删除某个属性, by rookie125

🙋‍ #8242 Vue3 使用 vant-weapp 微信小程序组件,@click 等事件无响应, by Mikasa33

🙋‍ #8241 调用Taro.redirectTo不能正常跳转, by gxsandzxl

🙋‍ #8239 Taro 组件使用 Enzyme 的 mount / render 方法做 UI 测试, by P233

🙋‍ #8238 componentDidShow钩子内调用Taro.redirectTo引起的bug, by gxsandzxl

🙋‍ #8237 Uncaught TypeError: Cannot read property 'componentProto' of undefined, by hao-li

🙋‍ #8236 fix(diff): view层级过多会导致栈溢出, by wyyxdgm

🙋‍ #8235 textarea在ios中使用表情maxlength有问题, by Asarua

🙋‍ #8228 Taro.pageScrollTo无法滚动到指定位置, by GoodbyeNJN

🙋‍ #8226 引用taro-ui,最后yarn run dev:weapp,运行小程序插件,提示组件路径错误, by antbrothers

🙋‍ #8225 Input组件focus会弹出两次键盘 #7014 未解决, by QingATech

🙋‍ #8222 Taro3.0组件在h5环境下的View支持 viewProps,类Image组件的imgProps, by heiazu

🙋‍ #8221 最外层的容器使用flex布局在safari浏览器中滚动时无法隐藏底部、顶部操作栏, by SyMind

🙋‍ #8220 默认初始化, by i-coder-robot

🙋‍ #8219 @tarojs/components Image组件在h5环境下缺少imgProps字段, by heiazu

🙋‍ #8218 Taro3 h5平台Taro.pageScrollTo失效, by Asarua

🙋‍ #8215 TypeError undefined is not an object (evaluating 'w.isProxied'), by GZWZC

🙋‍ #8213 是否支持全局生命周期钩子, by bibidu

🙋‍ #8211 taro3的列表页面 DOM数量提示超过1000,不支持#shadow-root,导致点击事件延迟, by xiaoice

🙋‍ #8210 taro/extend 字段返回错误, by zsymor

🙋‍ #8209 在自定义平台插件下 webpackConfig中的runtimePath 会解析错误 导致无法加载扩展的runtime文件, by leo-ran

🙋‍ #8207 API 中webpackChain option中没有publicpath 的选型, by LiyumingBen

CLOSED ISSUES

🛠 #8247 canvasToTempFilePath 中 canvasId 不再是必传项, by Swordword

🛠 #8245 docs: 修复 readme 特别鸣谢中头像超链与本人不一致问题, by allenou

🛠 #8244 [chore(deps): [security] bump ini from 1.3.5 to 1.3.7](https://github.com/NervJS/tar... by [dependabot-preview[bot]](https://github.com/apps/depen...

🛠 #8243 canvasToTempFilePath 中 canvasId 不再是必传项, by Swordword

🛠 #8240 3.x vue版 如何再dist目录生成package.json文件,以此使用小程序里面的npm包功能??, by jigsaw-china

🛠 #8234 chore(deps): bump mini-css-extract-plugin from 0.8.0 to 1.3.2, by [dependabot-preview[bot]](https://github.com/apps/depen...

🛠 #8233 canvas hook 写法 draw is not a function, by Swordword

🛠 #8232 支付宝小程序设置title 无效Taro.setNavigationBarTitle({ title: '12312'}), by shenggen1987

🛠 #8231 v2.2.16 发布, by luckyadam

🛠 #8230 v2.2.16, by luckyadam

🛠 #8229 chore(cli): 调整 taro 支持的 node 最低版本, by luckyadam

🛠 #8227 v2.2.16 发布, by luckyadam

🛠 #8224 build:weapp报错, by xiaoai7904

🛠 #8217 迁移并更新文档:RN端开发前注意, by iChengbo

🛠 #8216 Parse errors in imported module, by Loomark

🛠 #8214 chore(release): publish 3.2.0-canary.2, by shinken008

🛠 #8212 taro3扩展编译平台 -> 模版,文档描述看起来是可以自定义一些功能,求个DEMO案例, by xiaoice

🛠 #8208 新建的taro3.0的项目 配置了组件和页面 但是提示渲染失败?, by yuxilins

🛠 #8206 Fix/command, by LaxusJie

🛠 #8205 项目周报 (2020 年 11 月 28 日 - 2020 年 12 月 5 日), by [taro-bot2[bot]](https://github.com/apps/taro-...

    • -

PULL REQUESTS

上周有 29 个 pull request 被创建、更新或 merge。

UPDATED PULL REQUEST

上周有 20 个 pull request 更新:

❤️ #8253 [chore(deps): [security] bump ini from 1.3.5 to 1.3.8](https://github.com/NervJS/tar... by [dependabot-preview[bot]](https://github.com/apps/depen...

❤️ #8251 chore(deps-dev): bump @types/node from 12.12.62 to 14.14.12, by [dependabot-preview[bot]](https://github.com/apps/depen...

❤️ #8250 chore(deps): bump mini-css-extract-plugin from 0.8.0 to 1.3.3, by [dependabot-preview[bot]](https://github.com/apps/depen...

❤️ #8249 chore(deps): bump @babel/register from 7.9.0 to 7.12.10, by [dependabot-preview[bot]](https://github.com/apps/depen...

❤️ #8236 fix(diff): view层级过多会导致栈溢出, by wyyxdgm

❤️ #8202 chore(deps): bump typescript from 3.9.7 to 4.1.2, by [dependabot-preview[bot]](https://github.com/apps/depen...

❤️ #8135 feat(mini-runner/mini-split-chunks): 添加小程序提取公共模块插件,主包没有引用的,且分包内引用的mod…, by huangcj99

❤️ #8123 chore(deps): bump sass-loader from 6.0.7 to 10.1.0, by [dependabot-preview[bot]](https://github.com/apps/depen...

❤️ #8115 chore(taro-mini-runner): upgrade less-loader version to support additionalData config (#7921), by ZeroTo0ne

❤️ #7706 chore(deps-dev): bump @types/autoprefixer from 9.7.0 to 9.7.2, by [dependabot-preview[bot]](https://github.com/apps/depen...

❤️ #7704 chore(deps-dev): bump @types/resolve from 1.14.0 to 1.17.1, by [dependabot-preview[bot]](https://github.com/apps/depen...

❤️ #7397 chore(deps-dev): bump @types/detect-port from 1.1.0 to 1.3.0, by [dependabot-preview[bot]](https://github.com/apps/depen...

❤️ #7326 fix: 解构 props 后,如果作用域中不包含 children, 其他 renderProps 可能识别失败 close #7315, by ivan-94

❤️ #7324 fix(tranformer-wx): taroize 转换后的组件不支持 对象 style, by ivan-94

❤️ #7292 fix(transformer-wx): 非实例方法 bind 应该转换为匿名回调, by ivan-94

❤️ #6951 fix(mini-runner): 开发模式修改文件会刷新所有json,导致开发工具加载过慢, by 0JARVIS0

❤️ #6444 feat(input): 添加输入事件延迟触发, by zgs225

❤️ #5779 Revert "fix(taro-h5): 响应体无数据时抛错进入reject (#4599)", by rsnzh

❤️ #5297 锁定版本, by zsirfs

❤️ #5153 feat(transformer-wx)增加TARO-UI侧的快应用转换支持,不支持部分组件默认支持为DIV,支持部分默认为原生组件名, by Issacpeng

MERGED PULL REQUEST

上周 merge 了 9 个 pull request:

💻 #8247 canvasToTempFilePath 中 canvasId 不再是必传项, by Swordword

💻 #8245 docs: 修复 readme 特别鸣谢中头像超链与本人不一致问题, by allenou

💻 #8231 v2.2.16 发布, by luckyadam

💻 #8230 v2.2.16, by luckyadam

💻 #8229 chore(cli): 调整 taro 支持的 node 最低版本, by luckyadam

💻 #8227 v2.2.16 发布, by luckyadam

💻 #8217 迁移并更新文档:RN端开发前注意, by iChengbo

💻 #8214 chore(release): publish 3.2.0-canary.2, by shinken008

💻 #8105 feat(taro-runtime): consistent window object, by atzcl

    • -

COMMITS

上周共有 5 个 提交:

🙏 fix(h5): 修复h5下的pageScrollTo函数的selector参数支持问题 by no name

🙏 feat(taro-runtime): consistent window object (#8105) by atzcl

🙏 chore(cli): 调整 taro 支持的 node 最低版本 by luckyadam

🙏 docs: 修复 readme 特别鸣谢中头像超链与本人不一致问题 by allenou

🙏 canvasToTempFilePath 中 canvasId 不再是必传项 (#8247) by Swordword

    • -

CONTRIBUTORS

上周共有 5 名独立贡献者:

🤝 atzcl

🤝 luckyadam

🤝 allenou

🤝 Swordword

感谢你们对开源事业做出的贡献。🤝

    • -

STARGAZERS

上周获得了 89 个 star。它们分别来自于:

panlt123

clyquan

cxj-github

LiyumingBen

xuduogui

rehmetjan

rrr5t6y7

LouisYLWang

instkffff

xuqiang521

Joranson

blacksola

ShrinkLynn

Wsmzh

kunbowu

tw19920521

wuyanwei

wranswer

AmemiyaSigure

yuanqichao514

kgdkhntak

xiaoice

developer-os

lvgit3mc

lihai5566

Jeekai

qicunshang

cobra180825

bestshenggao

Lock-And-Key

Jiny3213

chenyang351

liyingkun1237

HolenZhou

datoulei

looles

joe-szmn

charleyxie

scott-leung

yuzhuguan

foolzhang

ManiaciaChao

KuangjuX

season7

helperAI

sliverraven

autoConfiguration

pipiciweia

Mrchen128

nicett

feixiao

mickmetalholic

geekspeng

bearxsh

cicizhao

idea-zone

yanmei122

JorkeMooN

zenblo

ryanwang520

kaclarpt

Akatsuki-kurumi

FFlainsF

pgzhouyangyang

LJYq

BrooksWon

wyyxdgm

jutoukeji

GMlc

lx463785

wozzup

littlecxm

Mavi

lynxkor

Ttou

openideal

ZeyanGuo

rsq1259

lideyang

qige2016

ioiioo

rainame

klxq

ioth5

xingangw

maokty

beipingdengni

sevenseablue

phamquangquy92vd

You all are the stars! ⭐

    • -

RELEASES

上周有 2 个新版本发布。

🚀 v2.2.16 发布
🚀 v3.2.0-canary.2 发布

    • -

以上就是本周的项目周报。你可以点击 weekly-digest 查看往期的项目周报。


欢迎关注凹凸实验室博客:aotu.io

或者关注凹凸实验室公众号(AOTULabs),不定时推送文章。


凹凸实验室
2.3k 声望5.5k 粉丝

凹凸实验室(Aotu.io,英文简称O2) 始建于2015年10月,是一个年轻基情的技术团队。