Releases: Tencent/Hippy
2023-03-21, Version 2.16.0(LTS)
Notable Changes 重要更新
-
Core add V8 snapshot for hippy.
Core 支持 V8 快照优化启动性能。
-
Android & iOS add performance timing ability.
Android & iOS 增加加载性能监控指标。
-
Android & iOS nested rich text support vertical alignment setting.
Android & iOS 嵌套富文本支持垂直对齐。
-
Android add
nestedScrollPriority
for ListView and ScrollView.Android 为 ListView 和 ScrollView 增加
nestedScrollPriority
嵌套滚动优先级设置能力。 -
Android support custom font style.
Android 支持自定义字体样式。
-
iOS bump minimum deployment target to iOS11.
iOS 最低支持版本调整为 iOS 11。
-
iOS add method to create custom scrollview.
iOS 增加创建自定义 ScrollView 方法。
-
iOS add onKeyboardWillHide callback.
iOS 增加 onKeyboardWillHide 回调。
-
iOS support onSizeChanged event.
iOS 增加 onSizeChanged 事件。
-
JS Dynamic load support customed protocols.
JS 动态加载支持自定义协议。
-
hippy-react support fontWeight in number.
hippy-react 支持 fontWeight 使用数字。
-
hippy-vue add native event parameters.
hippy-vue Event 对象增加 nativeParams 参数透传终端事件。
-
hippy-react-web add cjs formatted output.
hippy-react-web 增加 cjs 格式输出。
-
hippy-vue perf style diff.
hippy-vue 优化样式 diff 逻辑。
-
Android fix pull header/footer collapse animation.
Android 修复 PullHeader/Footer 收缩动画不生效问题。
-
Android send scroll event when pulling header/footer.
Android ListView header/footer 拉取时补充 scroll 事件发送。
-
Devtools fix some bugs for stability.
Devtools 修复若干稳定性问题。
-
WebRenderer repository merged to hippy main repository.
WebRenderer 仓库合入 Hippy 主仓库
Bug Fixes
- android:
initialContentOffset
takes effect too late (ca7f7e8) - android: custom font style support (b42f999)
- android: drawPath CRASH_java.lang.NullPointerException (76210a4)
- android: fix default value for several properties (66e3fa4)
- android: fix unit test case (#2968) (56d1c34)
- android: modal may not be fullscreen (6358a5e)
- android: promise leak after engine destroy (7eca478)
- android: pull header/footer collapse animation (888c99a)
- android: remove use of mDebugInitJSFrameworkCallback (d420485)
- android: remove web url judge in fetchResourceWithUri (#2840) (6988e1a)
- android: return size after loading gif (#3001) (28fdfa9)
- android: send scroll event when pulling header/footer (1c0d713)
- android: text with negative letterSpacing wraps at wrong position (#2843) (70884a2)
- android: textInput may throw IllegalStateException (#2957) (ded1a57)
- android: update scrollview consumed value (d48e061)
- base: add Apache License (321bcf8)
- base: fix capitalization error (8ce3f00)
- base: fix unknown word misspelling (3f9b533)
- core: add handle_scope for v8 exception (#2860) (8fcef90)
- core: avoid crash caused by lock in the destructor (87f8cd2)
- core: compatible with v8 low version (dd06697)
- core: compatile with single callback in native2js (939b97d)
- core: fix crash when running callback in system thread (1cad68b)
- core: fix deadlock in debug mode (4c772fe)
- core: fix debugmode crash (c003e67)
- demo: fix cross-env script error (cf739c0)
- devtools: callback fail when debug ws disconnect (56d71bc)
- devtools: fix try catch exception when update context (336eb3f)
- devtools: remove regular expression injection (#2865) (4d3b183)
- examples: compatible with legacy openssl when running webpack (46dff5f)
- ios: avoid animated image multi thread operation crash (33218ee)
- ios: avoid multi-threading problem of imageview (20deb4c)
- ios: dynamic loading must be run on js thread (949f8a8)
- ios: fix banner view bug in watefall view (b5e44db)
- ios: fix ConsoleModule.log not working (#2812) (7153bab)
- ios: Fixed the issue that pictures would not be displayed (6163c76)
- iOS: gif is play fast at high fresh rate device (156855b)
- ios: maxlength property not working in hippy-vue (2690adc)
- ios: podspec lint error & enable Module import (#2935) (f830e6b)
- vue3: fix listViewItem disappear event not triggered (c11ca94)
- vue: perf style diff (9d3611b)
Features
- andr: add prod remotedebug, local bundle instead of remote server(#2849) (70fbde4)
- android, ios: nested rich text support vertical alignment setting (#2521) (df4d7ea)
- android,ios: add & perf performance timing ability (#2804) (dcd479f)
- android: add
nestedScrollPriority
for ListView and ScrollView (4e34fc1), closes #6 #3 - android: enable Safe ICF to optimize binary size (#2857) (5f9e8cc)
- android: make animator work on both enter and exit (#2987) (4f51f78)
- android: support touch input from devtool (974c4c4)
- core: add snapshot for hippy ([9292a73](https:...
2023-02-24, Version 2.15.7(LTS)
2023-02-20, Version 2.15.6(LTS)
Bug Fixes
- android: pull header/footer collapse animation (9608471)
- android: send scroll event when pulling header/footer (573dcc0)
- devtools: callback fail when debug ws disconnect (203d6f3)
- devtools: fix try catch exception when update context (2808404)
- devtools: remove regular expression injection (#2865) (78161d0)
- ios: fix ConsoleModule.log not working (#2812) (04c266e)
- iOS: gif is play fast at high fresh rate device (2ec1b35)
Features
- core: remove default HeapLimitSlowGrowthStrategy (0a2ec24)
2023-02-08, Version 2.14.10(LTS)
2022-12-07, Version 2.15.5(LTS)
2022-12-05, Version 2.15.4(Deprecated)
Bug Fixes
- android: fix JSI cause JNI local reference table overflow (53fe87d)
- android: nested scroll conflict (537c5a1)
- android: nested scroll conflicts with pull refresh (fdd9667)
- core: fix the problem of multi-threading at startup time (b6b6fef)
Features
- vue: add beforeRenderToNative hook to support computed style (294e55e)
2022-11-25, Version 2.15.3(Deprecated)
Notable Changes 重要更新
-
Android/iOS add getBoundingClientRect method. React DEMO | Vue DEMO
增加
getBoundingClientRect
方法,取代原有 measureInWindow 和 measureInAppWindow。React DEMO | Vue DEMO -
Android/iOS add load result param for webView's onLoadEnd api.
Android/iOS 增加 WebView onLoadEnd API 参数。
-
Android add performance api for new x5 v8.
Android 增加 X5 V8 performance api。
-
Android waterfall banner not affected by parent horizontal padding.
Android 消除瀑布流 banner 受父组件 padding 的影响。
-
Android fix
V8
OOM crash when inspector enable the js debugger.Android 修复
V8
调试断点时 OOM 问题。 -
Android fix horizontal scroll view smoothScrollToPage crash.
Android 修复水平滚动的 ScrollView smoothScrollToPage 崩溃问题。
-
iOS correct hittest when view has animation
iOS 修正带有动画的 View hittest 时的问题。
-
iOS fix subviews of animated view cannot be clicked.
iOS 修正带有动画 View 的子 View 不能点击问题
-
hippy-vue add whitespace handler config.
hippy-vue 增加文本空格处理配置。
-
hippy-vue ignore to append existed node to improve router performance.
hippy-vue 忽略添加已有节点来提升 router 切换性能。
Bug Fixes
- android: edit
getBoundingClientRect
callback format (080afd4) - android: horizontal scroll view smoothScrollToPage crash (e965de7)
- android: waterfall banner not affected by parent honrizon padding; (f6d6f30)
- ios: correct hittest when view has animation (779d813)
- iOS: delete tmp log (9174cad)
- ios: edit
getBoundingClientRect
callback format (60e5d98) - ios: need to extern as C if cpp is defined (3c8b4dc)
- iOS: refresh header not rebound automatically (9815a23)
- ios: subviews of animated view cannot be clicked (99379c3)
- react,vue: change measureInAppWindow error return value (2a96aaf)
- react,vue: fix getBoundingClientRect errMsg syntax (8348fef)
- v8: fix
V8
OOM crash when inspector enable the js debugger (f052977) - vue-css-loader: update loader-utils to safe version (aca8175)
- workflow: fix CodeQL exception when default run (615600b)
- workflows: fix backtrace parsing incorrect problem in crash report (af4b1cc)
- workflows: fix CodeQL languages detection bug on PR request (fe2446d)
Features
- android,ios,js: add getBoundingClientRect method (#2651) (92ab25b), closes #4
- ci: implement iOS project artifact compare (bb2c868)
- core: adapt to different v8 versions (5a9723f)
- core: add performance api for new x5 v8 (991f4fe)
- ios,android,vue: add load result param for webView's onLoadEnd api (#2667) (bbdd9ae)
- v8: heap limit increases considering the old generation capacity (6ddecf8)
- vue: add whitespace handler config (8a65d23)
- workflows:
XCode
project adaptation (219b532) - workflows: add project code line exclude files support (d104760)
- workflows: change
XCode
project scheme name (1100b8d) - workflows: iOS build tests add different configurations (36f624b)
- workflows: remove unnecessary
Cocoapods
installation step (4682c3c)
Performance Improvements
- vue: ignore to append existed node to improve router performance (cc24c27)
2022-11-07, Version 2.15.2(LTS)
Notable Changes 重要更新
-
hippy-vue support to merge styles on root element of child component.
hippy-vue 支持子组件根节点样式合并。
-
Android fix pull header not showing for horizontal list.
Android 修复 PullHeader 在水平 ListView不显示问题。
-
Android fix setTextColor not working.
Android 修复 setTextColor 不生效问题。
-
iOS need to callback when url loading error.
iOS 修复在url 加载错误时 callback 没调用问题。
Bug Fixes
- android: add copyright header for ClipboardModule (d82ba9b)
- android: fix setTextColor not working (a533c22)
- android: pull header not showing for horizontal list (3496fe4)
- android: remove redundant getPrimaryClip (4b3ff38)
- iOS: jsi convert Chinese string error (321f738)
- ios: need to callback when url loading error (d140593)
- iOS: retain cycle with vc and bridge (#2591) (ecafb62)
Features
- vue: support to merge styles on root element of child component (efea081)
2022-11-07, Version 2.14.9(LTS)
Bug Fixes
- android: empty text node height compatibility (f9bf570)