From December 13, 2020 to December 19, 2020, click here for more Taro Weekly Reports
Taro big events
Taro 3 released 3.0.19 and 3.0.20
3.0.19 Optimized View, Text and Image components. Simplified template can be used when no events are bound, and redundant attributes are not bound.
The View component adds the catchMove property to provide the ability to prevent scroll penetration directly.
3.0.20 VirtualList components support variable items.
You can use the CustomWrapper component to explicitly create custom components of small programs to solve the problem of low – end machine – level lag. But note:
- H5 is not compatible with this component.
- The querySelector API takes descendants from the defining component and calls them:.parent >>>.child
- For apis like createCanvasContext that need to pass in a custom component as a context, there is no way to get this of the custom component corresponding to CustomWrapper
- Usage:
features
- component
View
increasecatchMove
Property that provides the ability to block roll penetration directly - Support alipay small procedures
getPhoneNumber
API, # 8177 - Added the generation of native custom components
CustomWrapper
In order to cope with the slow data update of low-end machines VirtualList
Component support item is variable
repair
Small program
window
Object can get appletsglobal
Mount property, by@atzcl- Fixed a short reopening applet blank screen, #8103
- Fixed nesting to layer 15 encounters
Text
Component causes child text node to be lost, #6054 - repair
View
Component cannot set properties
H5
- added
uploadFile
API timeout, fileName parameter function, by@zhaoguoweillhc - increase
pageScrollTo
Function of theselector
Parameter support, by @zhaoGUOweillhc - repair
pageScrollTo
Function of thetabbar
By @zhaoguoweillhc scrolling exception caused by incorrect judgment mode - repair
Radio
componentdisabled
Property not in effect, #8017, by@zeroto0ne - repair
Canvas
Synchronous method, by@ininit - repair
canvasToTempFilePath
Node get, by@ininit - repair
Video
The methods, by @ helsonxiao - repair
Canvas
&pull-down-refresh
Related questions, #7280 #7072
typings
canvasToTempFilePath
中canvasId
It’s no longer mandatory, by @swordword
refactoring
- Adjusted Taro support for the lowest version of Node to 12
Small program
- Taro 3 is no longer supported
componentWillPreload
,$preload
API, instead:Taro.preload()
- Optimize template logic,
View
,Text
,Image
Components whenNo events are boundCan use simplified template, do not bind redundant attributes. - page
onUnmount
Events are triggered synchronously to avoid lowering wechat experience score
Case of harvest
This week, we shared 3 cases:
Jinhua Huimin Mall small procedures from Zhuowenhao submission
Welcome to submit your case (name + small program code/QR code) and share your results with tens of thousands of developers. It will appear in the “Case” page of the Taro documentation and the weekly report of the “Taro Community” public account.
Case submission Address:
Github.com/NervJS/taro…
ISSUES
There were 47 new issues last week.
27 of the issues have been closed, and 20 remain open.
OPEN ISSUES
#8299 chore(DEPS): Bump typescript from 3.9.7 to 4.1.3, by Dependabot-preview [bot]
#8288 Alipay mini program OCR plug-in is invalid, by sssonamuuu
#8286 Taroui’s ImagePicker component triggers an event bubble when deleting an image, by L863996900
#8283 TarO3 using mobx error, by Ywanhzy
#8282 has multiple sets of component libraries. How do users decide which one to use? , by fewoy
#8281 Button The Button disabled property cannot be properly controlled by array length, by hwxy
#8280 taro2.1.3, introduced in subcontracting via splitChunks components, small program error reported by Cd-Dongzi
#8279 Taro uses React to develop wechat applet, requestTask is requesting the task, cannot abort, by Guopenghui1003
#8277 cannot use the life-Follw component provided by Alipay native, by andraw-lin
#8274 TARO3, H5 end, Taro. PreviewImage view large image function, can support gesture zooming, by DTDTHS
#8273 project upgrade from taro2.2.11 to 3.0.17 compile success applet run error, by Ywanhzy
#8271 please ask Taro vue small program custom bottom navigation how to do? , by BWchenxin
#8270 packaged into quick app, real machine can not display, by shenmissing
#8267 taro3. x wechat applets, setState callback function, can not get dom node, by felemon
#8264 V2 version @tarojs/ Componets has a problem with the ScrollView implementation. , by Reamd7
#8263 componentWillUnmount not executed by samao
#8261 H5 built-in Button component default style, not aligned with wechat applet side, by Reamd7
#8258 TARO3 h5 onPageScroll, onReachBottom method invalid when configuring tabbar, by iamXiyang
#8257 Compiling to configure sassLoaderOption causes compilation errors on all applets platforms, by b2nil
#8254 Project Weekly Report (5 December 2020-12 December 2020) by taro-BOT2 [bot]
CLOSED ISSUES
#8300 chore(release): publish 3.0.19, by Chen-jj
#8298 Dependabot can’t resolve your JavaScript dependency files, by dependabot-preview[bot]
#8297 Dependabot can’t resolve your JavaScript dependency files, by dependabot-preview[bot]
#8296 Dependabot can’t resolve your JavaScript dependency files, by dependabot-preview[bot]
#8295 Dependabot can’t resolve your JavaScript dependency files, by dependabot-preview[bot]
#8294 Dependabot can’t resolve your JavaScript dependency files, by dependabot-preview[bot]
#8293 Dependabot can’t resolve your JavaScript Dependency files by dependabot-preview[bot]
#8292 Dependabot can’t resolve your JavaScript Dependency files by dependabot-preview[bot]
#8291 chore(release): publish 3.0.19, by Chen-jj
#8290 Feat. By ZakaryCode
#8289 chore(Runtime): The events on the onUnmount page are changed to be triggered synchronously to avoid lowering the wechat experience score, by Chen-jj
#8287 Taro 3.0 wechat applets independently subcontract white screen, by HJC22
#8285 fix(Component): Component view can add catchMove property to prevent scrollthrough, by Chen-jj
#8284 refactor(API): Refactoring jump preloading API, by Chen-JJ
#8278 taroV3.0.14, use react to develop wechat apts, requestTask, abort cannot abort ongoing requests, by Guopenghui1003
#8276 fix(shared): Fix #6054, by Chen-jj
#8275 Cannot catch an error with componentDidCatchError, by Jemair
#8272 Docs added a case document for the Jigsaw Puzzle making widget platform, by LycEcho
#8269 Video component timeUpdate callback cannot be triggered, by Bluebang
#8268 Docs: Added a case document for the Jigsaw puzzle building platform, by LycEcho
#8266 Applets are not supported by ark-Chen when developing applets
#8265 chore(release): publish 3.2.0-canary.3, by shinken008
#8262 docs: Update RN building APP, loading bundles and static resources steps by iChengbo
#8260 fix(API): Fix alipay small program getPhoneNumber API, fix #8177, by Chen-jj
#8259 fix(Runtime): Fix #8103, by Chen-jj
#8256 TarO3 long list performance issues, by Artiely
#8255 fix(h5): 修复 canvas & pull-down-refresh, by ZakaryCode
PULL REQUESTS
Last week, 19 pull requests were created, updated, or merged.
UPDATED PULL REQUEST
There were two pull request updates last week:
#8191 fix(Runtime): Fix user-defined componentDidCatch for the React framework by digiaries
#7181 3.x Standalone subcontracting support by Luckyadam
MERGED PULL REQUEST
Last week, 17 pull requests were merged:
#8300 chore(release): publish 3.0.19, by Chen-jj
#8291 chore(release): publish 3.0.19, by Chen-jj
#8289 chore(Runtime): The events on the onUnmount page are changed to be triggered synchronously to avoid lowering the wechat experience score, by Chen-jj
#8285 fix(Component): Component view can add catchMove property to prevent scrollthrough, by Chen-jj
#8284 refactor(API): Refactoring jump preloading API, by Chen-JJ
#8276 fix(shared): Fix #6054, by Chen-jj
#8272 Docs added a case document for the Jigsaw Puzzle making widget platform, by LycEcho
#8265 chore(release): publish 3.2.0-canary.3, by shinken008
#8262 docs: Update RN building APP, loading bundles and static resources steps by iChengbo
#8260 fix(API): Fix alipay small program getPhoneNumber API, fix #8177, by Chen-jj
#8259 fix(Runtime): Fix #8103, by Chen-jj
#8255 fix(h5): 修复 canvas & pull-down-refresh, by ZakaryCode
#8184 Add uploadFile timeout,fileName parameter functions, by zhaoguoweiLLHC
# 8113 fix (taro – components) : fix radio component disabled property doesn’t work in h5 environment (#8017), by ZeroTo0ne
#8050 fix(H5): Fix pageScrollTo function in H5 by zhaoguoweiLLHC
#7957 fix(Canvas-h5): Canvas synchronization API canvasToTempFilePath node acquisition problem, by Ininit
#7891 fix(H5): Fix video Methods, by HelsonXiao
COMMITS
There were 25 submissions last week:
chore(release): publish 3.0.19 by Chen-jj
chore(release): publish 3.0.19 (#8291) by Chen-jj
chore(Runtime): The events on the onUnmount page are changed to be triggered synchronously to avoid lowering the wechat experience score by Chen-jj
fix(Component): Component view can add catchMove property to prevent scrollthrough (#8285) by Chen-jj
refactor(API): Refactor jump preloading API by Chen-jj
fix: ci by Chen-jj
fix(shared): the child Text node is lost when the Text is nested at layer 15, fix #6054 by Chen-jj
fix(Runtime): Fix #8103 by Chen-jj
Merge pull Request #8255 from NervJS/ next-fix-ptrF by ZakaryCode
Merge branch ‘next’ into next-fix-ptrf by ZakaryCode
Adds uploadFile timeout and fileName parameter functions by zhaoguoweiLLHC
fix(API): complete alipay small program getPhoneNumber API, fix #8177 by Chen-jj
Merge branch ‘next’ into next-fix-ptrf by ZakaryCode
fix: Remove events during uninstallation by Helsonxiao
fix: Supports more browser exit events by Helsonxiao
test: Add control bar test and Method test by Helsonxiao
fix: add more fullscreenchange by helsonxiao
fix: Fix video methods by Helsonxiao
fix(H5-Canvas): Fix canvasToTempFilePath by Ininit
fix(h5-canvas): Fix the Canvas synchronization method by Ininit
fix(H5-Canvas): Fix canvasToTempFilePath fetching node by Ininit
fix(taro-components): fix radio component disabled property doesn’t work in h5 environment (#8017) by ZeroTo0ne
fix(h5): fix h5 api about get canvas by ZakaryCode
fix(components): pull to refresh api error by ZakaryCode
: Hammer_and_wrench: fix(H5): Fixed h5 selector support for pageScrollTo
CONTRIBUTORS
There were seven independent contributors last week:
Chen – jj
ZakaryCode
zhaoguoweiLLHC
helsonxiao
Ininit
ZeroTo0ne
Thank you for your contribution to open source.
STARGAZERS
Earned 71 stars last week. They come from:
wulixb
CheerForMe
akrick
yxtwang
junstudys
daroubing
wlclass
QiuhongAnnaWei
sunhuichuan
mogocat
nemo02622
hxyvipno1
chenxyhz
adoctors
littletwolee
taoeaten
cancelv5
jieqiuming
csiy
my – Sakura
TToooo
tang2010cn
qixiang – xie
LYLeon
fatg1988
yujingxiacai
jinjingmail
zillachan
LycEcho
chenlongming
afternoon7
taoqf
fine – ypc
DaYuan08
zxfred
wzhiliang
coltoneakins
zdwork
Ajoe88
hc – tec
cmy2841669254
Chennyh
ww1184453204
wchfish
whc3639
gtx0023
gy18505
chentao0707
lfvepclr
pillar
SimonRHW
xilinglaoshi
noenif
chenxuuu
Alphaly2K
Roi1992
vincecao
linshan6264
maojing – Michael Jackson
tcangz
tangzhenming
skynikita
KDXCXS
mabelyong
budaLi
zhongjjay
jeff0x400
zhujunsan
lianghongming95
ViKingQ
yanhuan123
You all are the stars!
RELEASES
A new version was released last week.
v3.0.20 chore(release): publish 3.0.20
And that’s this week’s project report. You can click on weeks-digest to view past projects.