React Native 0.81.1 发布
React Native 0.81.1 现已发布,具体更新内容如下:
Added
iOS specific
- Prebuild:添加了 SWIFT_ENABLE_EXPLICIT_MODULES=NO 设置,用于支持 Xcode 26 的预编译功能(939a75b5ce)
Fixed
- Infra:添加缺失的 Babel 依赖项(bf2c3af93b)
- Accessibility:修复
TextInput
的aria-label
(6965d57e75)
iOS specific
- TextInput:在 TextInput 中将 maxLength 设置为 0 现在可以正确阻止输入(c5956da8c0)
- Switch:修复 Switch 布局以适应 iOS 26(ba51aeaa90)
- C++:修复使用 USE_FRAMEWORKS 时导入 RuntimeExecutor.h 的问题(dacd8f26fd)
- Infra:修复包含空格路径的脚本(94623ca8ec)
- Prebuild:修复了预编译 ReactNativeDependencies 时复制和构建 Symbols 文件夹的方式(a843119ff1)
- Prebuild:修复使用 React.xcframework 时使用的错误 jsi 符号(8a2e7efe01)
- Prebuild:修复了预编译 ReactNativeDependencies.xcframework 时将 bundles 正确复制到 xcframeworks 的问题(e3adf47214)
- Prebuild:将 React.xcframework 符号中的 Symbols 文件夹与 ReactNativeDependencies.xcframework 符号对齐。(8c444f773a)
- Prebuild:修复中
ReactNativeDependencies.podspec
的“file exists”错误(4c570b5d31) - Prebuild:添加了 ReactCodegen 的 explicit handling(6526a98d68)
更新说明:https://github.com/facebook/react-native/releases/tag/v0.81.1
为您推荐相关文章:
同类文章推荐: