
阅读《2024 中国开源开发者报告》赢大奖,扫码申请享特权

NativeScript 8.9.0 现已发布。NativeScript 使用户能够直接从 JavaScript 访问 native API。目前,该框架为丰富的移动开发提供了 iOS 和 Android 运行时,并可用于多种不同的用例。
功能
- core:CSS wide keywords(#10709)
- Node-API 引擎支持(#10710)
- ios:为页面添加了 layoutChanged 事件支持(#10707)
- image:按字体大小和字体粗细设置 iOS 系统图标样式(#10706)
- css:允许 css 计算表达式中使用无穷大值(#10705)
- config:能够从任何路径包含 native source code(#10698)
- action-bar: iosLargeTitle 和 iosShadow 属性(#10694)
- ios:添加活动指示器 iosIndicatorViewStyle 属性(#10650)
- ios:苹果智能写作工具(#10643)
- config: Swift 包的多目标支持(#10695)
- core: Tailwind v4 支持(#10692)
- core:样式属性模块改进和组织(#10685)
- core:灵活使用多个 RootLayouts(#10684)
- core:文本库跨度交互和样式改进(#10682)
- apple view filtering(#10681)
- winter-tc(#10667)
- core: openUrlAsync实用程序(#10637)
- core:支持 simultaneous pseudo states (#10656)
- ios:操作栏的背景图像支持(#10645)
修复
- ios:将文本颜色应用于 HTMLView 内容(#10708)
- android:格式化字符串NoSuchMethodError(#10704)
- core:修正标签和嵌套跨度之间的背景颜色(#10701)
- core:添加了对文本 CSS 属性缺失的继承支持(#10699)
- core:修正框架导航事件类型(#10697)
- android:在 search bar focus 上显示 soft input(#10696)
- core:如果 < 0,则忽略 inserting child(#10690)
- core:添加缺失的长度属性相等比较器(#10689)
- core:安全检查以防止潜在的导航异常(#10683)
- core:避免使用负起始索引拼接数组(#10679)
- core:伪类处理程序无法取消订阅监听器(#10680)
- 修正了对 span 的 font-weight 支持(045986de8)
- android: Span 应该接受所有字体粗细类型(a21d4f94a)
- ios:修正旋转动画(#10676)
- ios:如果在任何布局之前设置,则转换无效(#10675)
- ios: iOS 10 及更早版本上的安全区域内存泄漏(#10673)
- crypto: getRandomValues 返回值(#10658)
- core:改进常用实用程序的类型(#10628)
- core:提供的图像源可能会被无意中处置(#10654)
- android:背景图像宽高比(#10651)
性能
- 避免为系统字体创建新的字体实例(4902e2781)
更多详情可查看:https://github.com/NativeScript/NativeScript/releases/tag/8.9.0-core
还没有评论,来说两句吧...