Hippy Versions Save

Hippy is designed to easily build cross-platform dynamic apps. 👏

2.16.2

1 year ago

Bug Fixes

  • @hippy/react-web: fixed style when numberofLines > 1 (bd613c4)
  • @hippy/react-web: remove unused val (a4cbb38)
  • ios: fix lock when lock dealloced (8ea3bee)
  • vue: fix vNode element empty error (189910d)

Features

  • ios: add log when load bundles (110880a)

2.16.1

1 year ago

Bug Fixes

  • @hippy/react-web: fix text default value and ellipsis not work (51bb33a)
  • core: fix uncaughtException bug (00a7338)
  • react: listview initialListSize default value set to 15 (064e636)
  • readme: fix English README of requestInterrupt method (0888c7d)
  • readme: fix readme of requestInterrupt method (0e75c12)
  • vue: fix vue style diff error (c9add39)
  • vue: make sure start animation after node created (9517d1b)
  • workflow: fix workflow yml file syntax error (fe07ce3)

Features

  • @hippy/react-web: add build config for the declaration (a826351)
  • android: add getNodeForLocation for utils mode (2ddbb3a)
  • ios: change cpp excetion enable to false (2274aeb)

2.16.0

1 year ago

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)
  • core: add willexit callback (bd64345)
  • core: allow all schemas to dynamic load (#2829) (5cd00b0)
  • core: change HIPPY_SDK_VERSION to VERSION_NAME (6250ecf)
  • core: change memcpy to std::copy_n (e4174dd)
  • core: dynamic loading support custom protocols (#2827) (d238aad)
  • core: formatting and replacing concrete types with auto (8a3857b)
  • core: refactor napi and jsi (8d7d6b8)
  • core: remove default HeapLimitSlowGrowthStrategy (628367e)
  • core: remove redundant code (9acbf5c)
  • core: sdkversion is specified by gradle and remove redundant code (9e739e7)
  • core: support android dimensions to extend customized parameters (375b3af)
  • docs: add docs for UserLocal debug mode; (216a311)
  • hippy-react-web: add cjs formatted output (f32fbb0)
  • ios: add method to create custom scrollview (#2839) (e9fcbc4)
  • ios: add onKeyboardWillHide callback for iOS (c363ab6)
  • ios: add onsizechanged event (1b84c10)
  • ios: bump minimum deployment target to iOS11 (2ea7581)
  • react: support fontWeight in number (aaa5d4c)
  • vue-next: add beforeRenderToNative hook (#2775) (3839135)
  • vue: add native event parameters (d08affb)
  • webrenderer: merge webrenderer repo to hippy repo (#2609) (c1e30f3), closes #2651 #4

2.15.7

1 year ago

Bug Fixes

  • core: add handle_scope for v8 exception (#2860) (48e38c8)
  • core: compatile with single callback in native2js (3e0e914)

2.15.6

1 year ago

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)

2.14.10

1 year ago

Bug Fixes

  • android: nested scroll conflict (739a966)
  • ios: avoid a thread race for animated image (acfebf4)

2.15.5

1 year ago

Bug Fixes

  • core: fix reload bug for inspector (244dc8f)

Features

  • workflows: add auto-merge labeler in PR (a8b0ad0)
  • workflows: add PR review notification (9653aab)
  • workflows: change license check configuration file path (d9bfc48)
  • workflows: change stale label name (8c0c6df)

2.15.4

1 year ago

⚠️ This verison is deprecated, and it's recommended to upgrade to version 2.15.7

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)

2.15.3

1 year ago

⚠️This verison is deprecated, and it's recommended to upgrade to version

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)

2.14.9

1 year ago

Bug Fixes

  • android: empty text node height compatibility (f9bf570)