Skip to content

2023-03-21, Version 2.16.0(LTS)

Compare
Choose a tag to compare
@zoomchan-cxj zoomchan-cxj released this 21 Mar 08:02
· 1658 commits to master since this release

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