Releases: Tencent/Hippy
2022-10-26, Version 2.15.1(LTS)
Notable Changes 重要更新
-
hippy-vue support deep selector & fix attribute selector issue.
hippy-vue 支持 deep 深度选择器 并修复属性选择器问题。
-
Android fix sticky item incorrect height after refresh.
Android 修复 ListView Sticky 元素刷新后高度异常问题。
-
iOS avoid CTTelephony's occasional crash
iOS 修复 CTTelephony 偶然 crash 问题。
-
iOS avoid a thread race for image component
iOS 修复图片组件线程竞争问题。
-
DevTools add report parameters.
DevTools 增加上报字段。
- android: sticky item has incorrect height after refresh (76694c5)
- homepage: fix Bad HTML filtering regexp (2575799)
- ios: avoid a thread race for image component (8541e28)
- ios: avoid CTTelephony's occasional crash (c2536f3)
- ios: fix image view dangling pointer (60b17db)
- ios: no animation for frame reset (ba43d47)
- ios: virtual nodes need to be flushed (be96c20)
Features
- devtools: devtools report (#2556) (37eb1c2)
- vue: fix attribute selector & support deep selector (87ce13e)
Performance Improvements
2022-10-14, Version 2.15.0(LTS)
Notable Changes 重要更新
-
hippy-vue support
Vue3.x
hippy-vue 支持
Vue3.x
。 -
hippy-vue support scoped style.
hippy-vue 支持 scoped 样式
-
hippy-vue perf first screen attributes node update
hippy-vue 优化首屏节点属性更新频次。
-
hippy-react add
EventBus
to listen global events.hippy-react 增加全新
EventBus
来监听全局事件 -
Android support v8 version to 10.6.194
Android 升级 v8 引擎版本到 10.6.194。
-
Export v8 related methods to java
暴露 v8 相关方法给 Java 侧调用。
-
Support JS call v8 performance memory API.
支持 JS 调用 v8 performance memory API。
-
Android provide sdk version information
Android 增加获取 SDK 版本 API。
-
Android add
expandPullHeader
method forListView
Android 增加 ListView
expandPullHeader
方法。 -
Android support Waterfall banner
Android 支持瀑布流 Banner 设置。
Bug Fixes
- android:
onPageScroll
event gives wrong value (8850523) - android: empty text node height compatibility (700697f)
- android: implement
preloadItemNumber
forListView
(c978c85) - android: prevent
LIBRARY_VERSION
inlining (472404c) - android: WebView backgroundColor not working (07e4dd2)
- core: compatible with lower version v8 for memory feature (7d3b773)
- core: fix inspector crash (806f240)
- core: revert hippy1.x compatible code (4722e88)
- debug-server: fix wepback & node md4 hash not campatible (e4753e5)
- docs, android:
expandPullHeader
method forListView
(#2494) (08d38dc) - hippy-react: support to emit multi parameters for HippyEvent (0b84e88)
- ios: add assert for url creation failure (26ef050)
- ios: fix memory leaks in network module (0c172a9)
- ios: fix touch gesture no touch.view (9378959)
- ios: needs to reset showing state when cell prepares for reusing (a5e9e00)
- ios: scrollview: scrollToWithDuration not trigger OnScroll (7a8b9e7)
- script: fix build script error (d219a12)
- vue-next: add missing modules & perf docs (6046d2c)
- vue-next: fix syntax errors (93faab4)
- vue: fix web-renderer script (34cc959)
- vue: set id for root view to fix style missed (2dc9db5)
- workflows: fix workflow file syntax exception (1ed405e)
Features
- android: add v8 memory(heap) to performance (7b03a60)
- android: provide sdk version information (8f0cfe6)
- android: provide sdk version information (a9a9f40)
- android: serialization support version 15 data (270775c)
- android: support v8 version to 10.6.194 (e345701)
- android: update docs and demo for android waterfall banner render; (#2412) (5fe65e9)
- android: update to use C++17 standard (250a4aa)
- core: export v8 method to java (9a577ab)
- hippy-react: add HippyEvent to listen global events (93a291a)
- hippy-vue-next: support vue3.x (#2357) (0445c4e)
- ios: listview stick cell wrong offset while refreshing (#2523) (e246165)
- vue-css-loader: change dist file name to be parsed by vue-loader (b5d94e4)
- vue-next: add web-renderer script (1be39dc)
- vue-next: refactor type definition files place (#2542) (202dccb)
- vue: add getElemCss scoped judgement (e9ea3f8)
- vue: perf first screen attributes node update (dcd7459)
- vue: support scoped & attribute selector (772a698)
Performance Improvements
- ios: use respondsToSelector instead of conformsToProtocol (cb2b2b8)
2022-09-08, Version 2.14.7(LTS)
2022-08-26, Version 2.14.6(LTS)
2022-08-23, Version 2.14.5(LTS)
Notable Changes 重要更新
-
Android add
visibility
style support.Android 增加
visibility
样式支持。 -
Android set init complete after bridge ready to fix jsbundle loading sequence error.
Android 在 bridge 初始化完成增加 complete 标记,修复加载执行 jsbundle 潜在的时序问题。
-
Android fix borderRadius not working and radius scale issue in gif image.
Android 修复
borderRadius
和radius scale
在 gif 图不生效问题。 -
iOS fix textInput isFocused not working issue.
iOS 修复 textInput
isFocused
特定场景不生效问题。 -
iOS fix turbo runtime not released in js thread.
iOS 修复 turbo runtime 在 js 线程不释放问题。
-
iOS fix padding not working on text's subview.
iOS 修复 Text 嵌套 subview 时 padding 不生效问题。
Bug Fixes
- android, ios: the final
onScroll
may be dropped (#2377) (963992b) - android: add try-catch for NetInfoModule (258f9ac)
- android: gif borderRadius not working and radius scale issue (bb84fcd)
- android: handleRequestCookie error (2ff9388)
- android: set init complete after bridge ready (04c8bdc)
- core: fix code lint warnings (7f60759)
- devtools: remove v8 inspector flag for ios (f431ab5)
- homepage: fix secure problem for homepage redirect (a7b552f)
- ios: fix refresh component bug (36559b1)
- ios: fix scroll rtl for content view (2c7da42)
- ios: hippy-vue textInput isFocused not working (623b117)
- ios: padding not working on text's subview (65676f0)
- ios: turbo runtime must release in js thread (5f96fae)
- vue: fix regular expressions catastrophic backtracking (510a587)
- vue: revert a catastrophic backtracking fix (2fbb0d9)
Features
2022-08-10, Version 2.14.4(LTS)
2022-08-03, Version 2.14.3(LTS)
- vue: fix static style not updated in some case (830b557)
2022-08-01, Version 2.14.2(LTS)
Notable Changes 重要更新
-
Android support breakStrategy prop for Text and TextInput.
Android Text 和 TextInput 组件支持
breakStrategy
换行特性。 -
DevTools support multi jscontext debug.
DevTools 支持多 jscontext 调试。
-
Android/iOS fix
ListView
can not be used inside otherListView
.Android/iOS 修复
ListView
嵌套在其他ListView
中的使用问题。 -
Android fix horizontal
ScrollView
cannot scroll in other scrollable component.Android 修复水平
ScrollView
在其他可滚动组件中不能滚动的问题。
Bug Fixes
- android: horizontal
ScrollView
cannot scroll in other scrollable (724d4af) - android: listview can not scroll inside other listview (d92ac95)
- buildcore: fix buildcore script (4bce58c)
- image: fix image border path not reset (cfb800d)
- ios: direction is for shadow view ,not view (63189f7)
- ios: fix a potential null pointer when waterfallview cell resuse (e50fc40)
- ios: fix HippyDevLoadingView shows in release environment (37faba6)
- ios: nested listview may not get rendered (bb12159)
- ios: radius must be smaller than half of component's length (0e97ad0)
- ios: roottag property should not be updated (34ca26f)
- ios: try to avoid cases where result is NAN (7989dbe)
Features
2022-07-25, Version 2.14.1(LTS)
Notable Changes 重要更新
-
Android/iOS add
isFocused
method forTextInput
.安卓/iOS 增加
TextInput
组件isFocused
方法来判断聚焦状态。 -
Android
Text
component support moreellipsizeMode
prop.安卓
Text
组件支持更多ellipsizeMode
模式。 -
Android specify the
V8
version used.安卓指定
V8
版本使用。 -
Android RecyclerView support horizontal PullHeader & PullFooter.
安卓 RecyclerView 支持水平方向 ListView 使用 PullHeader 和 PullFooter。
-
Android set image default background color to TRANSPARENT.
安卓设置图片默认背景色为透明。
-
Android fix collapsable check at attribute.
安卓修复
collapsable
不能在 attribute 上设置的问题。 -
Android set mini sdk version to 21.
安卓设置最低 SDK 版本到 21。
-
iOS support skew animation.
iOS 支持 skew 动画。
-
iOS add promise unhandledrejection event support.
iOS 支持 promise unhandledrejection 事件。
-
iOS fix memory leaks for block usage.
iOS 修复 block 使用上的内存泄漏。
-
DevTools will disconnect websocket when closed.
DevTools 在关闭时断开 WebSocket 链接。
-
hippy-react-web fix browser does not support addRule.
hippy-react-web 修复浏览器不支持 addRule 的问题。
-
hippy-react-web fix image onClick event does not emit.
hippy-react-web 修复图片组件不能绑定
onClick
事件。 -
hippy-react-web support ListView PullFooter.
hippy-react-web 支持 ListView PullFooter 组件。
-
hippy-vue perf attributes & style update performance.
hippy-vue 优化属性和样式更新性能。
-
hippy-vue-css-loader support letter-spacing.
hippy-vue-css-loader 支持 letter-spacing 解析。
-
hippy-vue-css-loader fixed collapsable boolean convert error.
hippy-vue-css-loader 修复
collapsable
布尔值转换错误。
Bug Fixes
- android: add on error call back for get image (17e1481)
- android: call function callback reuse (03e5931)
- android: check collapsable at attribute (46a7d80)
- android: fix the
skipCmakeAndNinja
flag does not take effect (a293fdc) - android: fix websocket frame for ping and close (016cda1)
- Android: hippypager layout and pageselect event (efbdd38)
- android: implicit narrowing conversion in compound assignment (133a8d4)
- android: re implementation progress long value switch to int (cd1071e)
- android: remove unnecessary dir form git ignore (c06e14e)
- android: reset hippy view group clip children to true (6e98859)
- android: set default background color to TRANSPARENT (c6822da)
- android: set mini sdk version to 21 (6fc5871)
- android: viewpager scrollEnabled (252089f)
- Android: web socket client boolean to AtomicBoolean (c267f9e)
- core: fix CreateJSCString bug (1a463ec)
- devtools: disconnect ws when close (c827e8c)
- devtools: fix elements reload and update bug (#2272) (f6912ed)
- devtools: fix mini scale for screen cast (c0e837e)
- example: change webrenderer version (d6af3b5)
- hippy-react-web: add unhandleRejection event handler (145364b)
- hippy-react-web: fix borwser does not support addRule (1b30755)
- hippy-react-web: fix error handler (d289f39)
- hippy-react-web: fix img onClick envet does not emit (2d4d57b)
- hippy-react-web: support ListView renderPullFooter (#2166) (95fc4c5)
- hippy-vue-css-loader: support to parse letter-spacing (7b404f5)
- ios: async image load to avoid downsampling stuck (9dc36a1)
- iOS: async runloop to main thread (c5638e7)
- ios: check weak self status (6c64f41)
- ios: fix a dead lock (a6cf131)
- ios: fix memory leaks for block usage (a1fd07b)
- ios: fix potential crash due to dangling pointer (25af245)
- ios: fix potentian crash due to dangling pointer (74ea629)
- ios: fix undo crash for uitextfiled component (0f5bb91)
- ios: no more ceiling item height (76421c1)
- ios: reset properties if value is null (de6482d)
- ios: try to avoid destroying variables in use (ac705fb)
- ios: use smart pointer instead of non-smart pointer (d648eda)
- npm: update got from vulnerable to safe version (0987946)
- npm: update lerna to fix vulernable npm package (6dcdd9c)
- npm: update vulnerable npm packages (a06bae2)
- react: add ref null judgement for getElementFromFiberRef (eb55f3e)
- vue-css-loader: fixed collapsable boolean convert error (e49d3b5)
- workflows: fix CodeQL analysis failure problem (177b81b)
- workflows: fix CodeQL not working as expected (4ff2e82)
- workflows: fix the problem that CodeQL results are not generated (41fed9b)
Features
- android: add
ellipsizeMode
prop support forText
componment (#2221) (2ec6c70) - android: change compiler options based on LLVM 12 (deebf6f)
- android: merge TVHippySdk to master (31c4cf5)
- android: modify the
V8_COMPONENT
to specify theV8
version (eacfde3) - android: remove useless override method (9466a2e)
- android: set hippy view group clip children to false (54485b0)
- android: specify the
V8
version used (3452763) - android: support horizontal PullHeader & PullFooter (#2268) (d6b662a)
- core: add
isFocused
method forTextInput
(c84a566) - core: update docs ([3527693](http...
2022-07-20, Version 2.13.13(LTS)
Bug Fixes
- android: set default background color to TRANSPARENT (eadd0fd)