Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

同步 next 分支代码 #8867

Merged
merged 297 commits into from
Mar 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
297 commits
Select commit Hold shift + click to select a range
113cbcc
fix(cli): 修复 vue 不能渲染平台新增的组件模板的问题
Chen-jj Oct 28, 2020
85015cf
fix: ci
Chen-jj Oct 28, 2020
533bae3
fix(runtime): 修复 Vue2 入口组件生命周期多次触发的问题,#7179
Chen-jj Oct 28, 2020
e26ab55
fix(mini-runner): 修复多端文件没按extension解析的问题,fix #6786
Chen-jj Oct 29, 2020
4159d79
fix(loader): 修复分享 API 在使用 redux 时无法生效的问题,fix #7232
Chen-jj Nov 2, 2020
649a5e5
Merge remote-tracking branch 'origin/next' into chore/mini-program
Chen-jj Nov 6, 2020
42b6a09
fix(runtime): 同步3.0修改
Chen-jj Nov 7, 2020
98da09d
fix(router): 支持 H5 路由 404 时触发 App.onPageNotFound, fix #7474
Chen-jj Nov 7, 2020
f7259cf
fix: ci
Chen-jj Nov 7, 2020
354ceaa
feat(mini): 组件 View 增加 catch move 属性,解决滚动穿透问题。
Chen-jj Nov 8, 2020
7ce7766
chore(release): publish 3.1.0-beta.1
Chen-jj Nov 8, 2020
3a1531f
fix(cli): 可以运行 taro convert 命令
Chen-jj Nov 10, 2020
d79b063
fix(taro-with-weapp): 修复 convert 一些问题
Chen-jj Nov 13, 2020
4c76f94
fix(shared): 同步 3.0 修改
Chen-jj Nov 16, 2020
93f5ce5
fix: ci
Chen-jj Nov 17, 2020
eb7d069
fix(convert): 修复反向转换没有处理样式中字体文件的问题,fix #3444
Chen-jj Nov 17, 2020
a8a1f86
fix(taroize): 支持 catch 事件
Chen-jj Nov 17, 2020
cc6de1c
fix(taroize): 兼容自定义 tabbar
Chen-jj Nov 17, 2020
018263b
fix(taroize): 修复 include 缓存问题
Chen-jj Nov 18, 2020
e44c09c
fix(taroize): 完善 template 传递 data 的语法支持程度
Chen-jj Nov 18, 2020
96a5a3b
fix(taroize): 修复反向转换的一些问题
Chen-jj Nov 19, 2020
d6e8cc2
chore(release): publish 3.1.0-beta.2
Chen-jj Nov 20, 2020
80f4cf4
chore(release): publish 3.1.0-beta.2
Chen-jj Nov 20, 2020
d6d81f8
chore(release): publish 3.1.0-beta.2
Chen-jj Nov 20, 2020
4403e45
fix(with-weapp): 修复 buble 打包的类不能被 babel 类成功继承的问题
Chen-jj Nov 23, 2020
c09d799
fix(taroize): 补全微信内置组件
Chen-jj Nov 23, 2020
41391b4
fix(taroize): 修复问题
Chen-jj Nov 23, 2020
1bcf5df
chore(taro-mini-runner): upgrade less-loader version to support addit…
ZeroTo0ne Nov 24, 2020
f7e2cd9
fix(taroize): 反向转换支持配置全局 usingComponents
Chen-jj Nov 24, 2020
9d7c282
feat(taroize): 反向转换支持 behavior, #5873
Chen-jj Nov 24, 2020
22f09a8
fix(with-weapp): 修复 App.onShow 获取不到路由参数的问题
Chen-jj Nov 25, 2020
b7c2e7c
fix(taroize): 自动处理循环的 key 值
Chen-jj Nov 25, 2020
f0e7dc3
fix(taroize): 修复 taroize 一些问题
Chen-jj Nov 27, 2020
2b548ed
chore(release): publish 3.1.0-beta.3
Chen-jj Nov 27, 2020
4e58ed0
feat: 让微信小程序可以自定义project.config.json文件的源文件名 (#7745)
younthu Dec 2, 2020
fe50ebc
fix(alipay): 修复 my.getStorageSync 返回 falsy 值时的判断错误 (#8186)
GoodbyeNJN Dec 4, 2020
82616b8
fix(taro): 编译缺少 framework 字段时报错
Chen-jj Dec 2, 2020
f0b76ac
Fix/components (#8178)
Chen-jj Dec 4, 2020
32ea25d
fix(taro-h5): 补全 taro-h5 导出的散装 API, fix #8189 (#8192)
Chen-jj Dec 4, 2020
8ca8ab6
fix(router): 修复初始路由参数未被传递的问题
Chen-jj Dec 4, 2020
4dd5aa1
chore(release): publish 3.0.18 (#8194)
Chen-jj Dec 4, 2020
7d80ec0
canvasToTempFilePath 中 canvasId 不再是必传项 (#8247)
Swordword Dec 11, 2020
76b715d
Merge branch 'next' into chore-taro-mini-runner
luckyadam Dec 11, 2020
4399b87
docs: 修复 readme 特别鸣谢中头像超链与本人不一致问题
Dec 11, 2020
ac7266d
chore(cli): 调整 taro 支持的 node 最低版本
luckyadam Dec 9, 2020
6f3456c
feat(taro-runtime): consistent window object (#8105)
Dec 11, 2020
e07b9ff
fix(h5): 修复h5下的pageScrollTo函数的selector参数支持问题
Nov 17, 2020
ed0f9d9
fix(components): pull to refresh api error
ZakaryCode Dec 12, 2020
54172bb
fix(h5): fix h5 api about get canvas
ZakaryCode Dec 12, 2020
0abf111
fix(taro-components): fix radio component disabled property doesn't w…
ZeroTo0ne Nov 24, 2020
5cba119
fix(h5-canvas): 修复canvasToTempFilePath 获取节点
Ininit Oct 27, 2020
12fb4c9
fix(h5-canvas): 修复 Canvas 同步方法
Ininit Oct 27, 2020
2cab013
fix(h5-canvas): 完善canvasToTempFilePath
Ininit Nov 2, 2020
06ebb90
fix: 修复 video methods
helsonxiao Oct 21, 2020
1010689
fix: add more fullscreenchange
helsonxiao Oct 22, 2020
b678074
test: 增加 control bar test 和 method test
helsonxiao Nov 27, 2020
ee6bdb5
fix: 支持更多浏览器的退出事件
helsonxiao Nov 27, 2020
acdbfd9
fix: 卸载时移除事件
helsonxiao Nov 27, 2020
a942f48
Merge branch 'next' into next-fix-ptrf
ZakaryCode Dec 12, 2020
084edc9
fix(components): 同步小程序组件属性
Chen-jj Dec 14, 2020
66ae9bd
fix(api): 补全支付宝小程序 getPhoneNumber api,fix #8177
Chen-jj Dec 14, 2020
26812a3
Merge remote-tracking branch 'origin/next' into chore/mini-program
Chen-jj Dec 14, 2020
4a86bc4
feat(weapp): 让微信小程序可以自定义project.config.json文件的源文件名
Chen-jj Dec 14, 2020
356215a
fix: ci
Chen-jj Dec 14, 2020
53e1c66
chore(release): publish 3.1.0-beta.4
Chen-jj Dec 14, 2020
0bcffb9
补充uploadFile的timeout,fileName参数功能
zhaoguoweiLLHC Dec 2, 2020
afa19cd
Merge branch 'next' into next-fix-ptrf
ZakaryCode Dec 14, 2020
9b3bce5
chore(release): publish 3.1.0-beta.4
Chen-jj Dec 14, 2020
4492c3d
Merge pull request #8255 from NervJS/next-fix-ptrf
ZakaryCode Dec 14, 2020
11d03cc
fix(runtime): 修复短期内重新开启小程序白屏,fix #8103
Chen-jj Dec 14, 2020
20f86bd
fix(shared): 嵌套到第15层碰到 Text 导致子文本节点丢失,fix #6054
Chen-jj Dec 16, 2020
e61ef91
fix: ci
Chen-jj Dec 17, 2020
d2c4aaf
refactor(api): 重构跳转预加载 API
Chen-jj Dec 17, 2020
265889d
fix(component): 组件 view 可以增加 catchMove 属性阻止滚动穿透 (#8285)
Chen-jj Dec 18, 2020
1dca00b
chore(runtime): 页面onUnmount的事件改为同步触发,避免降低微信体验评分
Chen-jj Dec 18, 2020
3cf9275
chore(release): publish 3.0.19 (#8291)
Chen-jj Dec 18, 2020
63638b8
chore(release): publish 3.0.19
Chen-jj Dec 18, 2020
af52610
feat: virtual-list could use unlimitedSize
ZakaryCode Dec 18, 2020
6acd42e
feat(virtual-list): deprecated absolute
ZakaryCode Dec 18, 2020
6f75cc0
fix: add renderBottom param
ZakaryCode Dec 18, 2020
7b67154
fix: upoload docs
ZakaryCode Dec 18, 2020
b38497f
fix: reset ablout absolute for limitedSize
ZakaryCode Dec 18, 2020
7fb775f
fix: add typing for virtual-list
ZakaryCode Dec 18, 2020
2cc7015
feat: add position for absolute layout
ZakaryCode Dec 19, 2020
6976b3b
fix(runtime): 修复判断是否 pure-view 的正则表达式错误
Chen-jj Dec 19, 2020
ee644c3
fix: virtual-list relative size
ZakaryCode Dec 19, 2020
8a45762
fix(virtual-list): onScroll
ZakaryCode Dec 19, 2020
4148d4a
增加生成原生自定义组件 CustomWrapper,以应对低端机数据更新过慢的情况 (#8305)
luckyadam Dec 19, 2020
0a5afcd
chore(release): publish 3.0.20 (#8307)
Chen-jj Dec 19, 2020
b32cff0
fix(runtime): 更换 lodash 为 es 版本
Chen-jj Dec 19, 2020
b8f8538
chore(release): publish 3.0.21 (#8317)
Chen-jj Dec 19, 2020
bb5a728
fix(runtime): 补全 window 对象的关键属性
Chen-jj Dec 21, 2020
412dc46
fix(runtime): 兼容某些小程序没有 __data__ 属性的情况 (#8345)
luckyadam Dec 22, 2020
1dcfa92
fix: make picker value optional (#8374)
taoqf Dec 27, 2020
3f48a63
update(workflow): 更新 taro-issue-helper 链接 (#8395)
honlyHuang Dec 30, 2020
0602643
feat(runtime): 静态 html 解析器支持解析 style 标签 (#8413)
Chen-jj Jan 4, 2021
b1a2eaf
fix(runtime): 修复 custom-wrapper 若干问题 (#8372)
Chen-jj Jan 4, 2021
306da94
fix(custom-wrapper): 修复 CustomWrapper 在 H5 平台未导出的问题
vdfor Dec 27, 2020
252dd08
feat(h5): 在 H5 平台添加 custom-wrapper 组件
Chen-jj Jan 4, 2021
8a4bf12
fix(runtime): 修复 app 不能使用Show/Hide钩子的问题,fix #8348 (#8430)
Chen-jj Jan 4, 2021
8141ca2
chore(release): publish 3.0.22 (#8432)
Chen-jj Jan 4, 2021
00b1db2
fix(mini-runner): 修复 app 样式打包错误的问题
Chen-jj Jan 5, 2021
3408af3
fix(runtime): 在微信中clearTimeout要绑定global,fix #7749
Chen-jj Jan 5, 2021
48fd285
fix(mini-runner): 修复 Vue3 运行时报错,fix #8426
Chen-jj Jan 5, 2021
e607cc9
fix(components): 修复 swiper 组件 current 改变事件重复调用问题
ZakaryCode Jan 6, 2021
33047af
Update common.ts
jin-yufeng Jan 6, 2021
4c2e8ef
fix(runtime): 修复使用vant时一系列问题,fix #8407 #8242 #8364 (#8460)
Chen-jj Jan 7, 2021
8399d5b
refactor(with-weapp): 重构 app 挂载额外属性的方式
Chen-jj Jan 8, 2021
fc0c77f
feat(runtime): 同步 3.1 修改,让小程序 app 对象上可以挂载自定义属性
Chen-jj Jan 8, 2021
6c44da3
chore(release): publish 3.0.23 (#8474)
Chen-jj Jan 8, 2021
14f0d71
feat(taro-api): add gyroscope related apis (#8496) (#8497)
ZeroTo0ne Jan 11, 2021
332d1fb
fix(mini-runner): 支持 template 递归的小程序平台不需要生成递归组件 (#8509)
luckyadam Jan 13, 2021
1a63dae
fix(type): navigateTo.success with eventChannel (#8523)
Aysnine Jan 14, 2021
67e29d8
fix(h5): scroll-page event
ZakaryCode Jan 13, 2021
611657b
fix(ts): ban-ts-ignore
ZakaryCode Jan 13, 2021
f9b034a
fix(cli): 修复百度 Text 不显示文本的问题 (#8521)
Chen-jj Jan 14, 2021
d04e677
fix(runtime): 修复react事件回调里没有合并更新的问题,fix #8516
Chen-jj Jan 15, 2021
25723a6
fix(react): 修复 react 不能取消事件监听的问题
Chen-jj Jan 14, 2021
3a54d90
fix(runtime): 修复组件切换属性和事件时出现的问题, fix #8520
Chen-jj Jan 14, 2021
d56e3a3
fix(runtime): 组件 id 必须是 string,fix #8515
Chen-jj Jan 14, 2021
0966ba9
fix: ci
Chen-jj Jan 15, 2021
5a1a85b
chore(release): publish 3.0.24 (#8542)
Chen-jj Jan 15, 2021
0aa75e1
fix(loader): 修正 taro-loader 处理 (#8553)
luckyadam Jan 19, 2021
e66a7cb
feat(cli/mini-runner/loader): 增加原生混合 Taro 的编译模式
Chen-jj Jan 19, 2021
f01d531
fix(h5):修复Video组件ref为空而无法暂停播放的问题(NervJS#8550)
Jan 18, 2021
ce56d5b
feat(mini-runner): 引用原生组件支持 alias,close #8472
Chen-jj Jan 21, 2021
8159e99
chore: 混合模式的入口组件直接调用 launch
Chen-jj Jan 22, 2021
9abc52a
feat(mini-runner): 增加 onCompilerMake 钩子
Chen-jj Jan 22, 2021
9ff5601
fix(runtime):修复解析html不显示换行问题 fix #7003 #8549
Jan 20, 2021
5d6e28b
Merge remote-tracking branch 'origin/next' into feat/blended-build
Chen-jj Jan 22, 2021
0d13aac
Merge pull request #8568 from NervJS/feat/blended-build
Chen-jj Jan 22, 2021
71c73ee
feat(mini-runner/logHelper): 编译成功时输出时间 (#8569)
kdxcxs Jan 22, 2021
210d897
chore(release): publish 3.0.25 (#8571)
Chen-jj Jan 22, 2021
988e1f3
Merge branch 'next' into chore/mini-program
Chen-jj Jan 25, 2021
a03b488
fix: ci
Chen-jj Jan 25, 2021
7d65185
chore(weapp): 按钮组件增加 business-id 属性,fix #8342
Chen-jj Jan 25, 2021
79e1901
chore(components/qq): 补全 types,close #8346
Chen-jj Jan 25, 2021
7a2b9dc
feat(alipay): 增加 life-follow 组件,fix #8277
Chen-jj Jan 25, 2021
58de7bd
feat(weapp): 补全LivePusher,LivePlayer 的属性,fix #8363
Chen-jj Jan 26, 2021
38bba62
chore(cli): 更新默认模板 Vue2 的入口文件,fix #8546
Chen-jj Jan 26, 2021
7d5f5c4
fix(components): 修复表单组件 slot 兼容问题,fix #7363
Chen-jj Jan 27, 2021
2b05425
fix(taro-runtime): fix (#7296) problem that router path field is empt…
ZeroTo0ne Nov 24, 2020
5c70952
fix: ci
Chen-jj Jan 27, 2021
8b1bbe7
fix(components): 修复 view 和 text 组件多行截断样式失败问题
Chen-jj Jan 27, 2021
2b082da
feat(alipay): 支持 input 标签的 enableNative 属性,fix #7226
Chen-jj Jan 28, 2021
936ff49
feat(alipay): 支持 input 标签的 enableNative 属性,fix #7226
Chen-jj Jan 28, 2021
e08341e
fix(shared): 允许 live-pusher 设置子元素,fix #8490
Chen-jj Jan 28, 2021
08bbfd5
Merge branch 'next' into fix/alipay-input
Chen-jj Jan 28, 2021
1373a52
Merge branch 'next' into chore-taro-mini-runner
Chen-jj Jan 28, 2021
78caa34
Merge pull request #8115 from ZeroTo0ne/chore-taro-mini-runner
Chen-jj Jan 28, 2021
1c29307
Merge remote-tracking branch 'origin/next' into fix/alipay-input
Chen-jj Jan 28, 2021
4460a89
chore: update lock
Chen-jj Jan 28, 2021
d172a7e
feat(taro-api): 增加 previewMedia API,close #8594
Chen-jj Jan 28, 2021
c17254f
Merge pull request #8591 from NervJS/fix/alipay-input
Chen-jj Jan 28, 2021
c3e1a5f
Merge branch 'next' into chore/mini-program
Chen-jj Jan 28, 2021
1b1af45
fix(components): 修复组件库导出命名 (#8596)
Chen-jj Jan 28, 2021
e61b204
Merge remote-tracking branch 'origin/next' into chore/mini-program
Chen-jj Jan 28, 2021
7e2f546
fix(components): h5组件的 style 支持设置 css 变量,fix #7452
Chen-jj Jan 28, 2021
7d204c1
chore(deps-dev): bump @types/detect-port from 1.1.0 to 1.3.0
dependabot-preview[bot] Jan 28, 2021
e3488ca
docs(input): change maxLength to maxlength
ZeroTo0ne Dec 28, 2020
5953b09
chore(deps-dev): bump @types/resolve from 1.14.0 to 1.19.0
dependabot-preview[bot] Jan 28, 2021
3942f29
fix: ci
Chen-jj Jan 28, 2021
961ed73
chore(deps-dev): bump @types/autoprefixer from 9.7.0 to 10.2.0
dependabot-preview[bot] Jan 28, 2021
bbb70e7
fix: ci
Chen-jj Jan 29, 2021
53c61d2
chore(deps-dev): bump @rollup/plugin-replace from 2.3.3 to 2.3.4
dependabot-preview[bot] Jan 29, 2021
84bf337
fix: onShow should be executed after onLoad.
koalaink Dec 28, 2020
92a4d75
Update index.js
jin-yufeng Dec 31, 2020
9ec21fe
fix(runtime): 修复pure-view设置属性后不能变为static-view的问题
Chen-jj Jan 29, 2021
7623ba9
chore(release): publish 3.0.26 (#8607)
Chen-jj Jan 29, 2021
417ebf2
Merge remote-tracking branch 'origin/next' into chore/mini-program
Chen-jj Jan 29, 2021
571ff27
chore(release): publish 3.1.0-beta.5
Chen-jj Jan 29, 2021
667c12a
chore(weapp/swan/alipay): 简化 components-react 的导出
Chen-jj Feb 1, 2021
bd5f061
fix(mini-runner): 修复支付宝编译问题
Chen-jj Feb 1, 2021
de998af
refactor(platform): 重构端平台插件编译时写法
Chen-jj Feb 1, 2021
854ad39
feat(taro): 添加 wx.cloud.Cloud API #8623
I-Want-ToBelieve Feb 2, 2021
65fbe2c
refactor(platform): 重构端平台插件运行时注入 API 的写法
Chen-jj Feb 2, 2021
3ee63f9
fix: ci
Chen-jj Feb 2, 2021
b633941
fix(loader): 修复百度小程序渲染问题,#7293
Chen-jj Feb 2, 2021
56378b1
fix(runtime): 修复custom-wrapper优化失效 (#8599)
rogerleung0411 Feb 3, 2021
1ec0a1e
refactor(platform): 增加端编译平台中间层钩子
Chen-jj Feb 7, 2021
97be38e
refactor(shared): 改造模板生成规则,让第三方组件也能被控制是否循环渲染
Chen-jj Feb 7, 2021
48a8c8f
fix: ci
Chen-jj Feb 8, 2021
d47bb7e
fix: ci
Chen-jj Feb 8, 2021
3918cd9
chore(release): publish 3.1.0-beta.6
Chen-jj Feb 8, 2021
63cbc9a
fix(h5): 在同一页面多次chooseImage时,更新multiple属性
Jackyzm Jan 8, 2021
8896624
Update chooseImage.js
Jackyzm Jan 8, 2021
7b1ece5
feat(mini-runner/webpack-runner): webpack的copy插件支持透传参数, 避免参数被拦截
Feb 3, 2021
ff4a10d
fix(loader): 修复百度小程序渲染问题,#7293
Chen-jj Feb 9, 2021
59f0593
Update chooseImage.js
ywzou Dec 24, 2020
11474c9
Update chooseImage.js
ywzou Dec 24, 2020
fa33c78
Merge branch 'next' into fix/swan
Chen-jj Feb 9, 2021
e914669
Merge pull request #8660 from NervJS/fix/swan
Chen-jj Feb 9, 2021
10f1fbc
chore(release): publish 3.0.27 (#8661)
Chen-jj Feb 9, 2021
0f19564
Merge remote-tracking branch 'origin/next' into chore/mini-program
Chen-jj Feb 9, 2021
c6de0c4
chore(alipay): 增加工具函数的导出
Chen-jj Feb 10, 2021
a94c8e0
fix(swan): 修复百度没有正确生成项目配置的问题
Chen-jj Feb 10, 2021
bffca5c
chore(release): publish 3.1.0-beta.7
Chen-jj Feb 10, 2021
64b25cc
fix(virtual-list): scrollTo 调用后会额外触发一次 render,并导致 scrollView 回到顶部(#8560)
GitaiQAQ Jan 21, 2021
b440f06
fix: frameCnt lower than 1
CodePlayer7 Dec 30, 2020
fbf79a2
fix: format code
CodePlayer7 Dec 30, 2020
9cf583e
fix(weapp): 提供 Taro.sendBizRedPacket API 支持 ,fix #8686
Chen-jj Feb 19, 2021
899ad37
fix(components): 修复 style 设置失败的问题,fix #8678
Chen-jj Feb 19, 2021
818bc8d
fix(cli): 修复百度小程序下生成 .frameworkinfo 文件问题
luckyadam Feb 19, 2021
d2a1bc9
feat(h5): 支持 React fast-refresh,fix #7291
Chen-jj Feb 21, 2021
da8a3e4
chore(release): publish 3.1.0-beta.8
Chen-jj Feb 21, 2021
8bed921
feat: 添加 wx.cloud.callContainer API
logix-o Feb 18, 2021
cfcb583
fix(h5): fast-refresh 可以取消
Chen-jj Feb 21, 2021
d9f384c
fix: ci
Chen-jj Feb 21, 2021
3bd4acc
chore(release): publish 3.1.0-beta.9
Chen-jj Feb 21, 2021
0531429
feat: 支持 React 17
Chen-jj Feb 22, 2021
0582f0b
chore(release): publish 3.1.0-beta.10
Chen-jj Feb 22, 2021
d988608
fix: ci
Chen-jj Feb 22, 2021
0f2caef
fix: ci
Chen-jj Feb 22, 2021
533f1b1
chore(release): publish 3.1.0-beta.10
Chen-jj Feb 22, 2021
f28cf44
fix(mini-runner): 修复小程序编译失败的问题
Chen-jj Feb 22, 2021
4c5fb26
feat: 支持 TypeScript 4.1
Chen-jj Feb 22, 2021
04c729e
chore: 项目升级 ts 4.1,修复 lint 错误
Chen-jj Feb 23, 2021
978ab5b
chore(release): publish 3.0.28 (#8719)
Chen-jj Feb 23, 2021
38673a6
fix: ci
Chen-jj Feb 23, 2021
99fd286
Merge branch 'next' into chore/mini-program
Chen-jj Feb 23, 2021
674ea5e
chore(release): publish 3.1.0-beta.11
Chen-jj Feb 23, 2021
451a28d
fix(runtime): 修复H5使用类组件刷新时报错的问题。
Chen-jj Feb 23, 2021
c267197
chore(release): publish 3.1.0-beta.11
Chen-jj Feb 23, 2021
eb494e1
chore(release): publish 3.1.0
Chen-jj Feb 24, 2021
9b4dbc0
chore(release): publish 3.1.0
Chen-jj Feb 24, 2021
93a8ec4
chore(release): publish 3.1.0 (#8747)
Chen-jj Feb 24, 2021
aa5820b
fix(mini-runner): 修复react/jsx-runtime报错,fix #8750
Chen-jj Feb 25, 2021
8d35a89
fix(runtime): 修复Vue3 style设置css变量解析错误问题,fix # 8736
Chen-jj Feb 25, 2021
3a5d1e2
fix(mini-runner): 兼容 react17,fix #8756
Chen-jj Feb 26, 2021
379a56b
fix(weapp): 为 Video 组件补充广告相关事件 (#8754)
Chen-jj Feb 26, 2021
eaacb70
chore(release): publish 3.1.1 (#8768)
Chen-jj Feb 26, 2021
f96a70a
fix(types): 修复ITouchEvent里的changedTouches属性的类型错误 (#8808)
ryougifujino Mar 4, 2021
8928e37
chore: merge next into feat/react-native
shinken008 Mar 4, 2021
87c2e97
fix(weapp): 补全 API getUserProfile,fix #8810
Chen-jj Mar 5, 2021
e6562fe
fix(alipay): 补全 Map 组件属性 optimize,fix #8784
Chen-jj Mar 5, 2021
18cd5ef
fix(components): 升级 Stencil 到最新版本,fix #8798
Chen-jj Mar 5, 2021
8fee288
fix(mini-runner): 兼容 react17,fix #8797
Chen-jj Mar 5, 2021
6663fa4
fix(runtime): 修复pure-view设置非额外属性仍变为static-view的问题
Chen-jj Mar 5, 2021
32c8798
fix: ci
Chen-jj Mar 5, 2021
cb1d386
fix: ci
Chen-jj Mar 8, 2021
5313199
Merge pull request #8819 from NervJS/feat/mini-feature
Chen-jj Mar 8, 2021
0e23204
fix(runtime): 修复小程序渲染html时带属性的style标签无法识别的问题
Mar 8, 2021
7e842d5
fix(runtime): 修复设置 Webkit 前缀 style 失败的问题,fix #8805
Chen-jj Mar 8, 2021
359d239
chore(release): publish 3.1.2 (#8836)
Chen-jj Mar 8, 2021
f98e025
fix(runtime): 修复小程序渲染html时scanSkipTag出现死循环的问题 (#8847)
LiHDong Mar 10, 2021
3877508
fix(runtime): 修复给 View 新增 hidden 属性无效的问题
changcllong Mar 10, 2021
aa9e041
chore(components-rn/taro-rn): 修复升级到 react 17 测试用例报错
shinken008 Mar 10, 2021
2f7635f
chore(taro-mini-runner): 同步 next 分支 lock 文件
shinken008 Mar 10, 2021
c98b80f
chore(taro-mini-runner/babel-preset-taro): 同步 next 分支 lock 文件 && 调整依赖…
shinken008 Mar 10, 2021
381adca
Merge branch 'next' into chore/react-native
shinken008 Mar 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ packages/taro-transformer-wx/tt.js
packages/taro-transformer-wx/t.js
packages/taro-cli/src/jdreact/template/*.js
packages/taro-cli/templates
/packages/taro-components/loader
packages/taro-cli/src/rn
packages/taro-components/loader
packages/taro-webpack-runner/src/__tests__/__snapshots__
packages/taro-webpack-runner/src/__tests__/fixtures
packages/taro-mini-runner/src/__tests__/__snapshots__
packages/taro-mini-runner/src/__tests__/fixtures
packages/taro-cli/src/__tests__/fixtures
packages/taro/types
packages/taro-components-rn
packages/taro-rn
packages/taro-rn-runner
packages/taro-router-rn
packages/taro-mini-runner/src/quickapp
9 changes: 7 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,24 @@ module.exports = {
'plugin:react/recommended'
],
'rules': {
'no-use-before-define': 0,
'no-unused-vars': 'off',
'camelcase': 0,
'@typescript-eslint/explicit-function-return-type': 0,
"indent": "off",
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_', 'args': 'after-used', }],
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-use-before-define': 0,
'@typescript-eslint/no-use-before-define': ['warn', { 'functions': false, 'classes': false }],
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/interface-name-prefix': 0,
'@typescript-eslint/member-delimiter-style': 0,
'@typescript-eslint/camelcase': 0,
'@typescript-eslint/no-namespace': 0,
'@typescript-eslint/ban-ts-comment': 0,
'standard/no-callback-literal': 0,
'no-console': ['error', { allow: ['warn', 'error'] }],
'prefer-spread': 0,
Expand All @@ -28,7 +33,7 @@ module.exports = {
'react/jsx-uses-vars': 'warn',
'react/prop-types': 0,
'react/no-find-dom-node': 0,
'no-unused-expressions': 0
'no-unused-expressions': 0,
// 'camelcase': ['error', {allow: ['^internal_', '^unstable_']}]
},
'env': {
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 新建一个新的 Issue
url: https://tls.jd.com/taro-issue-helper
url: https://issue.taro.zone/
about: 请点击 「Open」 按钮打开新链接创建 Issue
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
fail-fast: false
matrix:
node-version: [12.x, 13.x, 14.x]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Taro 非常欢迎社区开发者为 Taro 贡献代码,在贡献之前请先阅

## 特别鸣谢

[![nanjingboy](https://avatars1.githubusercontent.com/u/1390888?s=100&v=4)](https://github.com/nanjingboy/) | [![jsNewbee](https://avatars3.githubusercontent.com/u/20449400?s=100&v=4)](https://github.com/js-newbee/) | [![Qiyu8](https://avatars2.githubusercontent.com/u/15245051?s=100&v=4)](https://github.com/Qiyu8/) | [![Garfield550](https://avatars2.githubusercontent.com/u/3471836?s=100&v=4)](https://github.com/Qiyu8/)
[![nanjingboy](https://avatars1.githubusercontent.com/u/1390888?s=100&v=4)](https://github.com/nanjingboy/) | [![jsNewbee](https://avatars3.githubusercontent.com/u/20449400?s=100&v=4)](https://github.com/js-newbee/) | [![Qiyu8](https://avatars2.githubusercontent.com/u/15245051?s=100&v=4)](https://github.com/Qiyu8/) | [![Garfield550](https://avatars2.githubusercontent.com/u/3471836?s=100&v=4)](https://github.com/Garfield550/)
:---:|:---:|:---:|:---:
[nanjingboy](https://github.com/nanjingboy/) | [jsNewbee](https://github.com/js-newbee/) | [Qiyu8](https://github.com/Qiyu8/) | [Garfield Lee](https://github.com/Garfield550/)

Expand Down
10 changes: 8 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@
"packages/taro-with-weapp",
"packages/taroize",
"packages/stylelint-taro-rn",
"packages/stylelint-config-taro-rn"
"packages/stylelint-config-taro-rn",
"packages/taro-weapp",
"packages/taro-alipay",
"packages/taro-swan",
"packages/taro-tt",
"packages/taro-qq",
"packages/taro-jd"
],
"command": {
"publish": {
Expand All @@ -47,6 +53,6 @@
"license": "MIT"
}
},
"version": "3.2.0-beta.0",
"version": "3.1.2",
"npmClient": "yarn"
}
28 changes: 15 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"private": true,
"scripts": {
"lint": "eslint packages/ --ext .js --ext .ts",
"lint": "eslint packages/ --ext .js --ext .ts --ext .tsx",
"docs:rename-version": "cd website && docusaurus-rename-version",
"clear-all": "rimraf package-lock.json packages/*/node_modules packages/*/package-lock.json packages/*/yarn.lock",
"bootstrap:ci": "lerna bootstrap --npm-client=yarn",
Expand All @@ -17,7 +17,7 @@
"release:lerna": "lerna version --exact --no-git-tag-version",
"release:beta": "lerna publish --force-publish=* --exact --skip-temp-tag --preid=beta --npm-tag=beta",
"release": "npm-run-all build release:lerna && npm run changelog && node ./build/docs-version.js",
"test": "lerna run --parallel --scope babel-preset-taro --scope @tarojs/components --scope @tarojs/loader --scope @tarojs/react --scope @tarojs/webpack-runner --scope @tarojs/mini-runner test:ci"
"test": "lerna run --scope @tarojs/cli --scope babel-preset-taro --scope @tarojs/components --scope @tarojs/loader --scope @tarojs/react --scope @tarojs/webpack-runner --scope @tarojs/mini-runner --scope @tarojs/runtime --scope @tarojs/taro-rn --scope @tarojs/components-rn test:ci"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -53,13 +53,14 @@
"@babel/plugin-proposal-do-expressions": "7.10.4",
"@babel/plugin-proposal-object-rest-spread": "7.11.0",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-react-jsx": "7.10.4",
"@babel/plugin-transform-react-jsx": "7.12.17",
"@babel/plugin-transform-runtime": "7.11.0",
"@babel/preset-env": "7.11.0",
"@babel/preset-react": "7.10.4",
"@babel/preset-typescript": "7.10.4",
"@babel/preset-react": "7.12.13",
"@babel/preset-typescript": "7.12.17",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^9.0.1",
"@rollup/plugin-babel": "5.2.1",
"@rollup/plugin-replace": "^2.2.0",
"@types/babel-generator": "^6.25.3",
"@types/babel-traverse": "^6.25.5",
Expand All @@ -70,14 +71,16 @@
"@types/jest": "^26.0.14",
"@types/lodash": "^4.14.142",
"@types/node": "^12.7.11",
"@types/react": "16.9.49",
"@types/sinon": "^7.5.0",
"@types/tapable": "1.0.5",
"@types/webpack": "^4.39.3",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"@vue/compiler-core": "^3.0.0-beta.14",
"@vue/runtime-core": "^3.0.0-beta.14",
"@vue/runtime-dom": "^3.0.0-beta.14",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"@zerollup/ts-transform-paths": "^1.7.3",
"babel-core": "6.26.3",
"babel-eslint": "10.0.1",
Expand All @@ -92,7 +95,6 @@
"cross-env": "^7.0.2",
"css-loader": "^0.28.10",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.4.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.4.0",
Expand All @@ -101,7 +103,7 @@
"eslint-loader": "^2.0.0",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.17.0",
"eslint-plugin-jest": "24.1.5",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
Expand Down Expand Up @@ -130,11 +132,11 @@
"ora": "^2.1.0",
"power-assert": "^1.6.1",
"prettier": "^1.18.2",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-native": "^0.61.2",
"react-native-mock-render": "^0.1.5",
"react-test-renderer": "^16.10.2",
"react-test-renderer": "^17.0.0",
"redux": "^4.0.4",
"rimraf": "^2.6.2",
"rollup": "^1.23.1",
Expand All @@ -152,7 +154,7 @@
"style-loader": "^0.20.3",
"stylelint": "^13.6.1",
"ts-jest": "26.4.0",
"typescript": "^3.8.3",
"typescript": "^4.1.0",
"vue": "^2.6.11",
"vue-loader": "^15.9.3",
"vue-template-compiler": "^2.6.11",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-plugin-transform-react-jsx-to-rn-stylesheet",
"version": "3.2.0-beta.0",
"version": "3.1.1",
"description": "Transform stylesheet selector to style in JSX Elements.",
"license": "MIT",
"main": "dist/index.js",
Expand All @@ -24,6 +24,6 @@
},
"dependencies": {
"camelize": "^1.0.0",
"taro-css-to-react-native": "3.2.0-beta.0"
"taro-css-to-react-native": "3.1.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ type BabelTransformationFile = {
root: string
plugins: unknown[]
presets: unknown[]
parserOpts: object
generatorOpts: object
parserOpts: Record<string, any>
generatorOpts: Record<string, any>
}
declarations: object
declarations: Record<string, any>
path: NodePath | null
ast: object
ast: Record<string, any>
scope: unknown
metadata: object
metadata: Record<string, any>
code: string
inputMap: object | null
inputMap: Record<string, any> | null
}

export type Opts = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
camelize@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b"
integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs=
2 changes: 1 addition & 1 deletion packages/babel-plugin-transform-taroapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-plugin-transform-taroapi",
"version": "3.2.0-beta.0",
"version": "3.1.2",
"main": "dist/index.js",
"scripts": {
"build": "tsc"
Expand Down
6 changes: 0 additions & 6 deletions packages/babel-preset-taro/__tests__/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ describe('babel-preset-taro', () => {
})

expect(config.sourceType).toBe('unambiguous')

const [override] = config.overrides

const [, [_, reactConfig]] = override.presets
expect(reactConfig.pragma).toBe('React.createElement')
expect(reactConfig.pragmaFrag).toBe('React.Fragment')
})

it('vue', () => {
Expand Down
11 changes: 10 additions & 1 deletion packages/babel-preset-taro/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,22 @@ module.exports = (_, options = {}) => {
const isVue3 = options.framework === 'vue3'
const moduleName = options.framework.charAt(0).toUpperCase() + options.framework.slice(1)

if (isNerv || isReact) {
if (isNerv) {
presets.push([require('@babel/preset-react'), {
pragma: `${moduleName}.createElement`,
pragmaFrag: `${moduleName}.Fragment`
}])
}

if (isReact) {
presets.push([require('@babel/preset-react'), {
runtime: options.reactJsxRuntime || 'automatic'
}])
if (process.env.TARO_ENV === 'h5' && process.env.NODE_ENV !== 'production' && options.hot !== false) {
plugins.push([require('react-refresh/babel')])
}
}

if (options.ts) {
const config = {}
if (isNerv || isReact) {
Expand Down
21 changes: 11 additions & 10 deletions packages/babel-preset-taro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-preset-taro",
"version": "3.2.0-beta.0",
"version": "3.1.2",
"description": "> TODO: description",
"author": "yuche <i@yuche.me>",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/babel-preset-taro#readme",
Expand Down Expand Up @@ -31,18 +31,19 @@
"@babel/plugin-syntax-jsx": "^7.10.4",
"@babel/plugin-transform-runtime": "7.11.0",
"@babel/preset-env": "7.11.0",
"@babel/preset-react": "7.10.4",
"@babel/preset-typescript": "7.10.4",
"@babel/preset-react": "7.12.13",
"@babel/preset-typescript": "7.12.17",
"@babel/runtime": "^7.11.2",
"@tarojs/helper": "3.2.0-beta.0",
"@tarojs/taro-h5": "3.2.0-beta.0",
"@tarojs/taro-rn": "3.2.0-beta.0",
"@tarojs/taro-h5": "3.1.2",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-transform-taroapi": "3.1.2",
"core-js": "^3.6.5",
"@tarojs/helper": "3.1.1",
"@tarojs/taro-rn": "3.1.1",
"babel-plugin-global-define": "^1.0.3",
"babel-plugin-transform-imports-api": "^1.0.0",
"babel-plugin-transform-react-jsx-to-rn-stylesheet": "3.2.0-beta.0",
"babel-plugin-transform-taroapi": "3.2.0-beta.0",
"core-js": "^3.6.5",
"metro-react-native-babel-preset": "^0.63.0"
"babel-plugin-transform-react-jsx-to-rn-stylesheet": "3.1.1",
"metro-react-native-babel-preset": "^0.63.0",
"react-refresh": "0.9.0"
}
}
Loading