NervJS / taro

开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5/React Native 等应用。 https://taro.zone/
https://docs.taro.zone/
Other
35.65k stars 4.8k forks source link

项目周报 (2019 年 11 月 9 日 - 2019 年 11 月 16 日) #4851

Closed taro-bot[bot] closed 4 years ago

taro-bot[bot] commented 5 years ago

ISSUES

上周有 56 个新 issue。 22 个 issue 已经被关闭,34 个 issue 仍然保持打开状态。

OPEN ISSUES

:green_heart: #4850 feat: 在rn环境下,app.js config 下的 window属性支持配置backgroundColor, by Fantasy9527 :green_heart: #4849 feat:(rn) rn 环境下CoverView 与 CoverImage 支持向下兼容为 View 与Image, by Fantasy9527 :green_heart: #4848 在小程序内使用useSelector,状态没有改变, by crabkiller :green_heart: #4847 fix(taro-cli):增加taro-cli及运行时框架,版本不一致判断及提示, by Issacpeng :green_heart: #4846 微信原生小程序转H5时有些文件没有, by secularworld :green_heart: #4845 TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined, by secularworld :green_heart: #4844 使用taro开发第三方UI库组件, by xiaerhuo :green_heart: #4843 feat(cli):给config的copy加上watch选项,使之可以监听并复制, by moonkop :green_heart: #4842 微信开发者工具上,Taro 2.0.0-beta报regeneratorRuntime is not defined错,感觉可能跟async-await有关, by shenghanqin :green_heart: #4841 原生微信小程序通过taro convert反编译过来的代码,丢掉了原生代码的逻辑,丢掉了基础规范, by anryzhang :green_heart: #4838 taro项目使用git子模块,子模块在src外,没有编译到dist目录下, by packaaa :green_heart: #4837 2.0.0 beta 版本测试通告(当前版本 2.0.0-beta.2), by luckyadam :green_heart: #4835 使用Tora.request请求的回调处理安卓和ios不同, by Daisy1213 :green_heart: #4832 子组件props拿不到父组件传递过来的ref, by pasBone :green_heart: #4831 in 语句在 render 报错, by infinnie :green_heart: #4829 chore(deps-dev): bump babel-plugin-add-module-exports from 0.2.1 to 1.0.2, by dependabot-preview[bot] :green_heart: #4827 fix(components-qa)快应用button组件优化,默认小程序风格, by Issacpeng :green_heart: #4826 fix(conponents-qa)修正快应用Button组件,运行时class关键字错误, by Issacpeng :green_heart: #4825 Taro create --name [页面名称] 命令不支持多层目录,不是很方便!, by honlyHuang :green_heart: #4820 特定代码编译成微信小程序没有得到正确的wxml, by ufohjl :green_heart: #4819 三元运算符没有按照预期运行, by ty-bt :green_heart: #4816 开启css module 使用 taro-ui-sample 打包组件时报错, by K-walker :green_heart: #4814 安装 babel-plugin-preval 后 编译时有报错, by Jackie-Web :green_heart: #4811 小程序插件实时编译运行报错, by vdfor :green_heart: #4810 taro convert将微信小程序转taro但是生命周期都没改变, by cyhwinner :green_heart: #4808 使用echarts漏斗图报错thirdScriptError undefined;at SelectorQuery callback function undefined, by goodgoodstudyY :green_heart: #4807 taro怎么配置多个环境, by yufengkz :green_heart: #4805 1.3.22含有判断语句的view标签,快应用编译报错, by liuwei1992 :green_heart: #4804 函数组件内层map无法获取外层map变量, by qiaoyixuan :green_heart: #4802 修正previewImage点透问题, by zhuxianguo :green_heart: #4800 使用 mobx reaction 无法响应 props 里面的数据变更, by Luncher :green_heart: #4799 docs: Video视频组件文档更新, by shenghanqin :green_heart: #4798 touch事件的event对象类型有问题, by zhongzhong0505 :green_heart: #4795 更新到1.3.22之后,npm install 失败(gyp: binding.gyp not found - 2.2.1@fsevents), by jonahfang

CLOSED ISSUES

:heart: #4840 taro项目本身怎么调试,支持vscode吗,还是直接用打log?, by dlxqlig :heart: #4839 循环中的索引值不能正确渲染到视图, by DarcyXf :heart: #4836 微信小程序编译后丢失文件, by krysiyi :heart: #4834 在Taro里 怎么调用 支付宝小程序 的原生API?, by cuixiaoya :heart: #4833 h5 设置断点怎么调试?, by dlxqlig :heart: #4830 taro useState hook 与原生 react hooks 表现不一致, by dpyzo0o :heart: #4828 Update issue templates, by Littly :heart: #4824 升级后ref报错, by cyhwinner :heart: #4823 useEffect中设置state中的值后,props变成{},即使设置了defaultProps也没用, by gaogao2017 :heart: #4822 less,scss没有按照引入顺序渲染, by ty-bt :heart: #4821 Taro Input无法获取输入框的值, by 490567134 :heart: #4818 1.3.24 @tarojs/cli 安装失败, by cyh-93 :heart: #4817 Dependabot can't resolve your JavaScript dependency files, by dependabot-preview[bot] :heart: #4815 v1.3.23 微信小程序中函数组件参数(prop)错误变动, by onlyling :heart: #4813 chore(deps-dev): bump rollup-plugin-buble from 0.19.4 to 0.19.8, by dependabot-preview[bot] :heart: #4812 [BUG]weapp.compile.include中的子包使用@tarojs/async-await,最终编译会丢失引入, by tourze :heart: #4809 更正拼写错误, by dpyzo0o :heart: #4806 从prevProps改为使用nextProps,避免props的提前赋值,及避免component.props = prevProps的操作, by huey-LS :heart: #4803 构建 ui 库的时候现在默认执行构建 RN 端的了吗?, by yinLiangDream :heart: #4801 使用Redux Persist导致的Cannot read property 'dispatch' of undefined, by canyara :heart: #4797 如何获取tabbar的高度, by pkaq :heart: #4796 无法配置"@babel/preset-flow", by canyara


PULL REQUESTS

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

UPDATED PULL REQUEST

上周有 16 个 pull request 更新: :yellow_heart: #4850 feat: 在rn环境下,app.js config 下的 window属性支持配置backgroundColor, by Fantasy9527 :yellow_heart: #4849 feat:(rn) rn 环境下CoverView 与 CoverImage 支持向下兼容为 View 与Image, by Fantasy9527 :yellow_heart: #4847 fix(taro-cli):增加taro-cli及运行时框架,版本不一致判断及提示, by Issacpeng :yellow_heart: #4843 feat(cli):给config的copy加上watch选项,使之可以监听并复制, by moonkop :yellow_heart: #4829 chore(deps-dev): bump babel-plugin-add-module-exports from 0.2.1 to 1.0.2, by dependabot-preview[bot] :yellow_heart: #4827 fix(components-qa)快应用button组件优化,默认小程序风格, by Issacpeng :yellow_heart: #4826 fix(conponents-qa)修正快应用Button组件,运行时class关键字错误, by Issacpeng :yellow_heart: #4802 修正previewImage点透问题, by zhuxianguo :yellow_heart: #4799 docs: Video视频组件文档更新, by shenghanqin :yellow_heart: #4780 Bug css url loader, by front-end-developer-candy :yellow_heart: #4746 fix: 修复模板在h5下莫名变量, by zsirfs :yellow_heart: #4722 feat(webpack-runner): h5环境支持自定义source-map格式, by Liaozzzzzz :yellow_heart: #4692 chore(deps-dev): bump sinon from 6.3.5 to 7.5.0, by dependabot-preview[bot] :yellow_heart: #4457 Feat dingtalk, by angus1105 :yellow_heart: #4183 修正chooseImage参数count无效的问题, by zhuxianguo :yellow_heart: #3639 chore(deps): bump postcss-modules-values from 1.3.0 to 3.0.0, by dependabot-preview[bot]

MERGED PULL REQUEST

上周 merge 了 4 个 pull request:

:purple_heart: #4813 chore(deps-dev): bump rollup-plugin-buble from 0.19.4 to 0.19.8, by dependabot-preview[bot] :purple_heart: #4809 更正拼写错误, by dpyzo0o :purple_heart: #4806 从prevProps改为使用nextProps,避免props的提前赋值,及避免component.props = prevProps的操作, by huey-LS :purple_heart: #4792 fix(components-rn): 修正rn build脚本对于windows兼容问题, by Issacpeng


COMMITS

上周共有 36 个 提交:

:hammer_and_wrench: fix(weapp/jd/qq/swan/tt): 循环中 pm.observers 应该在 observer 里绑定。fix #4839 by Chen-jj :hammer_and_wrench: feat: upload types by ZakaryCode :hammer_and_wrench: feat: multi-supported by ZakaryCode :hammer_and_wrench: feat: docs with general types by ZakaryCode :hammer_and_wrench: Update react-native.md by Pines-Cheng :hammer_and_wrench: Update react-native.md by Pines-Cheng :hammer_and_wrench: docs(rn): update rn docs by Pines-Cheng :hammer_and_wrench: chore: correct spelling typos by dpyzo0o :hammer_and_wrench: feat(button): 优化 Button 部分事件的参数类型 by Garfield550 :hammer_and_wrench: fix(hooks): 钩子 useState,设置新 state 和当前 state 全等时跳过渲染。 by Chen-jj :hammer_and_wrench: fix(weapp): 修复插件通过 extraProps 不能传函数的问题,fix #4658 by Chen-jj :hammer_and_wrench: docs(size): 修改 designWidth:375 对应的 deviceRatio 配置 #1968 by Garfield550 :hammer_and_wrench: chore: changelog by luckyadam :hammer_and_wrench: chore(release): publish v1.3.25 by luckyadam :hammer_and_wrench: Update general_report.md by Littly :hammer_and_wrench: Update issue templates by Littly :hammer_and_wrench: Update issue templates by Littly :hammer_and_wrench: chore: changelog by luckyadam :hammer_and_wrench: chore(release): publish v1.3.24 by luckyadam :hammer_and_wrench: fix(rn): Taro.previewImage 报错 by Pines-Cheng :hammer_and_wrench: chore(deps-dev): bump rollup-plugin-buble from 0.19.4 to 0.19.8 #4813 by dependabot-preview[bot] :hammer_and_wrench: fix(weapp): 修复微信小程序遗留代码:nextProps 初始化,引起的冲突 by Chen-jj :hammer_and_wrench: fix(ui): 移除 ui 库编译后 h5 入口文件中的冗余代码 by luckyadam :hammer_and_wrench: fix(ui): 修复 ui 库编译的入口文件生成 by luckyadam :hammer_and_wrench: chore: changelog by luckyadam :hammer_and_wrench: chore(release): publish v1.3.23 by luckyadam :hammer_and_wrench: fix(transformer): 调整 $$refs 相关代码以通过 ref 测试用例 by Chen-jj :hammer_and_wrench: feat(weapp): 从prevProps改为使用nextProps,避免props的提前赋值 by huey-LS :hammer_and_wrench: fix: docs output by ZakaryCode :hammer_and_wrench: fix(cli): 修复 cli 编译 ui 库的若干问题 by Chen-jj :hammer_and_wrench: fix(components): components props type checking by jinjinjin0731 :hammer_and_wrench: docs(reback): cancel some no prefect docs by ZakaryCode :hammer_and_wrench: feat: abstract auto-doc format method by ZakaryCode :hammer_and_wrench: fix(components-rn): 让编译器忽略类型检查 by Garfield550 :hammer_and_wrench: fix(taro): 修复编译器找不到 d.ts 文件的问题 by Garfield550 :hammer_and_wrench: fix(components-rn): 修正 rn build 脚本对于 windows 兼容问题 #4792 by Issacpeng


CONTRIBUTORS

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

:bust_in_silhouette: Chen-jj :bust_in_silhouette: ZakaryCode :bust_in_silhouette: Pines-Cheng :bust_in_silhouette: dpyzo0o :bust_in_silhouette: Garfield550 :bust_in_silhouette: luckyadam :bust_in_silhouette: Littly :bust_in_silhouette: dependabot-preview[bot] :bust_in_silhouette: huey-LS :bust_in_silhouette: jinjinjin0731 :bust_in_silhouette: Issacpeng

感谢你们对开源事业做出的贡献。:+1:


STARGAZERS

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

:star: yongjun310 | :star: lwxzks | :star: JavaCS | :star: robinying | :star: cslxyz | :star: xhwgood | :star: songshuiyang | :star: mizne | :star: xuchaoqian | :star: Grart | :star: GitHubZiqiangZhou | :star: windleer | :star: muyuanqiang7 | :star: infinnie | :star: jinshiyi11 | :star: kmvan | :star: qiuChengleiy | :star: nqsjd178559344 | :star: CheneyZhangCH | :star: vmto | :star: freshsun | :star: ccfung | :star: duxiaoran | :star: Arthraim | :star: roymellon | :star: KirtonGu | :star: grandiaren | :star: happy760690 | :star: shawshining | :star: Kirito-H | :star: csrftoken | :star: FengFind | :star: TeddyTsui | :star: morelearn1990 | :star: LeiGaoRobot | :star: yufengkz | :star: ksharp8 | :star: Bonjour430 | :star: allenou | :star: tailang | :star: xueminghao | :star: spenghang | :star: xmuSistone | :star: yudong22 | :star: sseakom | :star: kabinbear | :star: taichao | :star: czz0306 | :star: Jiang-rui | :star: 644883004 | :star: JalenFang | :star: Ruio9244 | :star: AnHongpeng | :star: thedog2y | :star: ruzhan123 | :star: luqiangbo | :star: ybom77 | :star: clutchJoe | :star: shyh5 | :star: Codevka | :star: woniu365 | :star: AbdulFattah6 | :star: yingzi5920 | :star: qs2d | :star: junxio220 | :star: dreamcarp | :star: gaogao2017 | :star: penghuwan | :star: CharlesWWT | :star: wuhaow | :star: coderjia | :star: jaune162 | :star: guanguanday | :star: TUBB | :star: qiushaoxi | :star: patrickyyang | :star: C1511 | :star: aone | :star: zpike | :star: jaccborn | :star: jin006s | :star: AndyFightting | :star: lhb11 | :star: samtake | :star: ghostg00 | :star: vipic | :star: silversparking | :star: TheKernelZ | :star: Vv1222 | :star: ad5566 | :star: 1242903517 | :star: bxvip | :star: Yerikshu | :star: 18605161612 | :star: blacksharksjc | :star: abitlong | :star: blackappleD | :star: MingLogin | :star: mani95lisa | :star: pinocchio23 | :star: ninosroger | :star: Garken | :star: zgatrying | :star: lining0225 | :star: ATQQ | :star: so-hentai | :star: zengwendi | :star: Rekko9850 | :star: igoing | :star: fengdeziyou | :star: arieslx | :star: Xweiii | :star: hongguang121 | :star: warmqing | :star: leoxiaoge | :star: Silver47Gin | :star: Yixi | :star: cnnail | :star: QYunChao | :star: JakePrim | :star: orcsor | :star: tczhoujr | :star: wxy620 | :star: leihongw | :star: JssDream | :star: ZtengClub | :star: jason469618528 | :star: madaozyy | :star: MonsterXiong | :star: AlyciaHathaway | :star: jqoo | :star: jiangzm | :star: leftering | :star: brycetony | :star: iniwf | :star: liujinshuai | :star: Soooooon | :star: hkydb | :star: Yaccc | You all are the stars! :star2:


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

taro-bot[bot] commented 5 years ago

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~