From b0f7d1e4e8f0a7a6eaa0a5cde62f682170385d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E4=BB=A3=E8=8D=A3?= Date: Thu, 20 Feb 2025 20:29:30 +0800 Subject: [PATCH] chore: update to version 5.1.0.204(0.72.58) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢代荣 --- CHANGELOG.md | 31 +++++++++++++++++++ .../Samples/Sample/SampleApp/oh-package.json5 | 2 +- .../package.json | 2 +- react-native-harmony/package.json | 2 +- .../react_native_openharmony/CHANGELOG.md | 17 ++++++++++ .../react_native_openharmony/oh-package.json5 | 2 +- tester/package.json | 4 +-- 7 files changed, 54 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 631ca149..b59cba82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## 5.1.0.204 +- feat(dfx): add trace slices for linking task generation/execution and functions performed on main thread,([f26cd9c6](https://gitee.com/openharmony-sig/ohos_react_native/commit/f26cd9c629b3707763a4c1a42f55840c307971ed)) +- fix: Fix cross-module dynamic conversion failure.,([48c8f948](https://gitee.com/openharmony-sig/ohos_react_native/commit/48c8f948dc73f0ed9a2ef7de034da273c61592f7)) +- fix:TextInput的onEndEditing和onSubmitEditing问题修复,([7d590a14](https://gitee.com/openharmony-sig/ohos_react_native/commit/7d590a148ec5d0d6beb40f8bc7dbc7e3fc9f2e7c)) +- finalizeMutationUpdates不再新起一个Thread,([1d954da6](https://gitee.com/openharmony-sig/ohos_react_native/commit/1d954da6c82531d4569398117a143a85c16ed9d8)) +- fix:文档修改,([11894ab5](https://gitee.com/openharmony-sig/ohos_react_native/commit/11894ab5664ee7b696257e7e04dbc082530a23ee)) +- 删除掉didMount中的finalizeMutationUpdates,([138db056](https://gitee.com/openharmony-sig/ohos_react_native/commit/138db0567792988c910eac89df2ade54cfc2d914)) +- add react-native-harmony-v5.1.0.204版本说明,([bfd1e63d](https://gitee.com/openharmony-sig/ohos_react_native/commit/bfd1e63d066675621ddf1b709bfe45875d41733c)) +- fix:TextAreaNode format code,([9ded13f1](https://gitee.com/openharmony-sig/ohos_react_native/commit/9ded13f136a560735a12fb474508fe51ad2b3e5f)) +- fix:TextInput的allowFontScaling问题修复,([30b7d596](https://gitee.com/openharmony-sig/ohos_react_native/commit/30b7d59610440cd5091e7838af47ca20c653558a)) +- fix: default Image accessibility behavior On Android images can be focused by default in accessibility mode, on OHOS they are not. This MR fixes this problem. Also, in bridgeless mode `importantForAccessibility` doesn't work, because RN chooses view configs defined on JS side. Run the following demo. I didn't add a test case because currently tester doesn't render all test cases properly. (https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1502),([c7defe99](https://gitee.com/openharmony-sig/ohos_react_native/commit/c7defe9919e31fb5425ea3bf3c8bbbe2c66531c2)) +- The time when finalizeMutationUpdates is triggered due to mutation submission is fixed.,([63271c43](https://gitee.com/openharmony-sig/ohos_react_native/commit/63271c43fc40d116c0bd28d48ccdcf2bda32c7a9)) +- Text visible for screen reader This PR makes text visible for screen reader by default. - Set `ARKUI_ACCESSIBILITY_MODE_ENABLED` if text isn't in component with `AccessibilityGroup` set to true 1. Open tester app. 2. Run "Text::make the screen reader say "This is accessible text". - [ ] Project compiles and the tester application works. Closes: #1404,([78bce0e2](https://gitee.com/openharmony-sig/ohos_react_native/commit/78bce0e2ea237289efbc7635a87b877a0b171530)) +- fix: map the accessible prop correctly The `accessible` prop was mapped improperly. - fixed behavior of the accessible prop - deprecated ArkUINode::setAccessibilityLevel Run test cases added in this PR. - [x] Project compiles and the tester application works. Closes https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1381,([8c035cd3](https://gitee.com/openharmony-sig/ohos_react_native/commit/8c035cd32ebbdb98997f692ef4dc34ac671a9bcf)) +- update home_fluency,([83367efd](https://gitee.com/openharmony-sig/ohos_react_native/commit/83367efd75356d4cb65a3d9310d011b73989e685)) +- Fix remote dependency switch to local configuration file,([1fc1d99a](https://gitee.com/openharmony-sig/ohos_react_native/commit/1fc1d99ab1150ba7ed60f28628d2246a10866c63)) +- 调整Codegen和新版二进制包的使用指导文档,([3d7819b5](https://gitee.com/openharmony-sig/ohos_react_native/commit/3d7819b5ad8e9900a648643fdb2ae6de809e2c39)) +- feat: TextInput/TextArea textContentType extends,([d593c8b1](https://gitee.com/openharmony-sig/ohos_react_native/commit/d593c8b1a289796e6365680996d4ba8d20c354fc)) +- 统一readme格式,readme添加RN SDK更新步骤,更新版本,格式化代码,([66540bd1](https://gitee.com/openharmony-sig/ohos_react_native/commit/66540bd1cf8e2cf7a4859f57cb9f0d9033891a3a)) +- Format the code format of the Sample project,([555542c6](https://gitee.com/openharmony-sig/ohos_react_native/commit/555542c657a84fdcf21bc20ac28c27b88bfd632c)) +- Fix example project's readme font error,([803959f3](https://gitee.com/openharmony-sig/ohos_react_native/commit/803959f3df74bb31ec34014e5f951d39cd673ecf)) +- Supplement the hot loading function of the using_SNSurface project,([deddb6d3](https://gitee.com/openharmony-sig/ohos_react_native/commit/deddb6d3c810a89c029671696c92bc0b49bd2d8f)) +- Feature Description of Fix Registered Font,([bd96ecb4](https://gitee.com/openharmony-sig/ohos_react_native/commit/bd96ecb40b719ed56ff5ce918d50b88a6862a40d)) +- Upgrade the version number of react-native-harmony-cli,([eb492574](https://gitee.com/openharmony-sig/ohos_react_native/commit/eb492574609a8074dfc631b00103871eaeb5ae4a)) +- feat: Add a new --ets-output-path parameter to codegen-harmony.,([31166aed](https://gitee.com/openharmony-sig/ohos_react_native/commit/31166aedcdf20dd3ad5606b1465885415129e6d6)) +- feat: add runOnWorkerThread,([ae4e47d6](https://gitee.com/openharmony-sig/ohos_react_native/commit/ae4e47d6290ecf4a4970efa3116d568fb25c21f1)) +- Delete the .tgz binary file.,([967e72c1](https://gitee.com/openharmony-sig/ohos_react_native/commit/967e72c16697805afd4de6137932a4e2a200b346)) +- Sources for jsvm_executor and hermes_executor,([2c39d2d5](https://gitee.com/openharmony-sig/ohos_react_native/commit/2c39d2d58b59abb526a4d4c0610aa202ae7ec154)) +- add react-native-harmony.cmake,([425a01ad](https://gitee.com/openharmony-sig/ohos_react_native/commit/425a01ad4cecdb5f4db9390cf55767e3790ded94)) +- add react-native-harmony-v5.1.0.203版本说明,([dcb4feeb](https://gitee.com/openharmony-sig/ohos_react_native/commit/dcb4feeb85de01162adc9a1f20d2e4ee9229241b)) + ## 5.1.0.203 - chore: update to version 0.72.57,([e10c9b86e](https://gitee.com/openharmony-sig/ohos_react_native/commit/e10c9b86e27d638261e28d8f18048bafb5ef47a1)) - fix:crash when Animated remove native event,([62fd10343](https://gitee.com/openharmony-sig/ohos_react_native/commit/62fd10343f8061dac00ad3c0f72ccc45855b15ec)) diff --git a/docs/Samples/Sample/SampleApp/oh-package.json5 b/docs/Samples/Sample/SampleApp/oh-package.json5 index 09040016..3bb03991 100644 --- a/docs/Samples/Sample/SampleApp/oh-package.json5 +++ b/docs/Samples/Sample/SampleApp/oh-package.json5 @@ -13,6 +13,6 @@ "@ohos/axios": "^2.1.1" }, "overrides": { - "@rnoh/react-native-openharmony": "0.72.57" + "@rnoh/react-native-openharmony": "0.72.58" } } \ No newline at end of file diff --git a/react-native-harmony-sample-package/package.json b/react-native-harmony-sample-package/package.json index e77bdadc..9deb0d41 100644 --- a/react-native-harmony-sample-package/package.json +++ b/react-native-harmony-sample-package/package.json @@ -8,7 +8,7 @@ "pack:harmony": "react-native pack-harmony --oh-module-path ../tester/harmony/sample_package --harmony-dir-path ./harmony --package-json-path ./package.json", "codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name react-native-harmony-sample-package-2 --cpp-output-path ../tester/harmony/sample_package/src/main/cpp/generated --ets-output-path ../tester/harmony/sample_package/src/main/ets/generated --cpp-components-spec-paths ./src/specs/codegen-lib/CodegenLibCppSampleNativeComponent.ts --turbo-modules-spec-paths ./src/specs/codegen-lib/NativeCodegenLibSampleModule.ts --arkts-components-spec-paths ./src/specs/codegen-lib/CodegenLibArkTSSampleNativeComponent.ts", "install:local-cli": "cd ../react-native-harmony-cli && npm pack && cd ../react-native-harmony-sample-package && npm i ../react-native-harmony-cli/rnoh-react-native-harmony-cli-0.0.26.tgz", - "install:rn_harmony": "cd ../react-native-harmony && npm pack && cd ../react-native-harmony-sample-package && npm uninstall react-native-harmony && npm i react-native-harmony@file:../react-native-harmony/rnoh-react-native-harmony-0.72.57.tgz" + "install:rn_harmony": "cd ../react-native-harmony && npm pack && cd ../react-native-harmony-sample-package && npm uninstall react-native-harmony && npm i react-native-harmony@file:../react-native-harmony/rnoh-react-native-harmony-0.72.58.tgz" }, "keywords": [], "author": "", diff --git a/react-native-harmony/package.json b/react-native-harmony/package.json index c064db4a..282fabb1 100644 --- a/react-native-harmony/package.json +++ b/react-native-harmony/package.json @@ -1,6 +1,6 @@ { "name": "@rnoh/react-native-harmony", - "version": "0.72.57", + "version": "0.72.58", "description": "", "scripts": { "install:local-cli": "cd ../react-native-harmony-cli && npm pack && cd ../react-native-harmony && npm i ../react-native-harmony-cli/rnoh-react-native-harmony-cli-0.0.25.tgz && cd ../react-native-harmony", diff --git a/tester/harmony/react_native_openharmony/CHANGELOG.md b/tester/harmony/react_native_openharmony/CHANGELOG.md index 5c7f6f07..64368b51 100644 --- a/tester/harmony/react_native_openharmony/CHANGELOG.md +++ b/tester/harmony/react_native_openharmony/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## v0.72.58 +- feat(dfx): add trace slices for linking task generation/execution and functions performed on main thread,([f26cd9c6](https://gitee.com/openharmony-sig/ohos_react_native/commit/f26cd9c629b3707763a4c1a42f55840c307971ed)) +- fix: Fix cross-module dynamic conversion failure.,([48c8f948](https://gitee.com/openharmony-sig/ohos_react_native/commit/48c8f948dc73f0ed9a2ef7de034da273c61592f7)) +- fix:TextInput的onEndEditing和onSubmitEditing问题修复,([7d590a14](https://gitee.com/openharmony-sig/ohos_react_native/commit/7d590a148ec5d0d6beb40f8bc7dbc7e3fc9f2e7c)) +- finalizeMutationUpdates不再新起一个Thread,([1d954da6](https://gitee.com/openharmony-sig/ohos_react_native/commit/1d954da6c82531d4569398117a143a85c16ed9d8)) +- 删除掉didMount中的finalizeMutationUpdates,([138db056](https://gitee.com/openharmony-sig/ohos_react_native/commit/138db0567792988c910eac89df2ade54cfc2d914)) +- fix:TextAreaNode format code,([9ded13f1](https://gitee.com/openharmony-sig/ohos_react_native/commit/9ded13f136a560735a12fb474508fe51ad2b3e5f)) +- fix:TextInput的allowFontScaling问题修复,([30b7d596](https://gitee.com/openharmony-sig/ohos_react_native/commit/30b7d59610440cd5091e7838af47ca20c653558a)) +- fix: default Image accessibility behavior On Android images can be focused by default in accessibility mode, on OHOS they are not. This MR fixes this problem. Also, in bridgeless mode `importantForAccessibility` doesn't work, because RN chooses view configs defined on JS side. Run the following demo. I didn't add a test case because currently tester doesn't render all test cases properly. (https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1502),([c7defe99](https://gitee.com/openharmony-sig/ohos_react_native/commit/c7defe9919e31fb5425ea3bf3c8bbbe2c66531c2)) +- The time when finalizeMutationUpdates is triggered due to mutation submission is fixed.,([63271c43](https://gitee.com/openharmony-sig/ohos_react_native/commit/63271c43fc40d116c0bd28d48ccdcf2bda32c7a9)) +- Text visible for screen reader This PR makes text visible for screen reader by default. - Set `ARKUI_ACCESSIBILITY_MODE_ENABLED` if text isn't in component with `AccessibilityGroup` set to true 1. Open tester app. 2. Run "Text::make the screen reader say "This is accessible text". - [ ] Project compiles and the tester application works. Closes: #1404,([78bce0e2](https://gitee.com/openharmony-sig/ohos_react_native/commit/78bce0e2ea237289efbc7635a87b877a0b171530)) +- fix: map the accessible prop correctly The `accessible` prop was mapped improperly. - fixed behavior of the accessible prop - deprecated ArkUINode::setAccessibilityLevel Run test cases added in this PR. - [x] Project compiles and the tester application works. Closes https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1381,([8c035cd3](https://gitee.com/openharmony-sig/ohos_react_native/commit/8c035cd32ebbdb98997f692ef4dc34ac671a9bcf)) +- feat: TextInput/TextArea textContentType extends,([d593c8b1](https://gitee.com/openharmony-sig/ohos_react_native/commit/d593c8b1a289796e6365680996d4ba8d20c354fc)) +- feat: add runOnWorkerThread,([ae4e47d6](https://gitee.com/openharmony-sig/ohos_react_native/commit/ae4e47d6290ecf4a4970efa3116d568fb25c21f1)) +- Sources for jsvm_executor and hermes_executor,([2c39d2d5](https://gitee.com/openharmony-sig/ohos_react_native/commit/2c39d2d58b59abb526a4d4c0610aa202ae7ec154)) +- add react-native-harmony.cmake,([425a01ad](https://gitee.com/openharmony-sig/ohos_react_native/commit/425a01ad4cecdb5f4db9390cf55767e3790ded94)) + ## v0.72.57 - chore: update to version 0.72.57,([e10c9b86e](https://gitee.com/openharmony-sig/ohos_react_native/commit/e10c9b86e27d638261e28d8f18048bafb5ef47a1)) - fix:crash when Animated remove native event,([62fd10343](https://gitee.com/openharmony-sig/ohos_react_native/commit/62fd10343f8061dac00ad3c0f72ccc45855b15ec)) diff --git a/tester/harmony/react_native_openharmony/oh-package.json5 b/tester/harmony/react_native_openharmony/oh-package.json5 index 09df4779..2783d664 100644 --- a/tester/harmony/react_native_openharmony/oh-package.json5 +++ b/tester/harmony/react_native_openharmony/oh-package.json5 @@ -9,7 +9,7 @@ org: '', }, type: 'module', - version: '0.72.57', + version: '0.72.58', dependencies: {}, main: 'index.ets', repository: 'https://gitee.com/openharmony-sig/ohos_react_native/tree/master/' diff --git a/tester/package.json b/tester/package.json index 8ee66376..a8b47b0b 100644 --- a/tester/package.json +++ b/tester/package.json @@ -8,7 +8,7 @@ "postinstall": "node ./scripts/create-build-profile && npm run reinstall:react_native_harmony && npm run reinstall:react_native_harmony_sample_package", "reinstall:react_native_harmony": "npm uninstall react-native-harmony && npm run pack_react_native_harmony && npm run install:react_native_harmony", "reinstall:react_native_harmony_sample_package": "npm uninstall react-native-harmony-sample-package && npm run pack_react_native_harmony_sample_package && npm run install:react_native_harmony_sample_package", - "install:react_native_harmony": "npm i react-native-harmony@file:../react-native-harmony/rnoh-react-native-harmony-0.72.57.tgz", + "install:react_native_harmony": "npm i react-native-harmony@file:../react-native-harmony/rnoh-react-native-harmony-0.72.58.tgz", "install:react_native_harmony_sample_package": "npm i ../react-native-harmony-sample-package/react-native-harmony-sample-package-1.0.0.tgz", "pack_react_native_harmony": "cd ../react-native-harmony && npm pack && cd ../tester", "pack_inner_hvigor_plugin": "cd ../react-native-harmony-inner-hvigor-plugin && npm i && npm pack && cd ../tester", @@ -46,7 +46,7 @@ "react": "18.2.0", "react-native": "0.72.5", "react-native-flipper-performance-plugin": "^0.4.0", - "react-native-harmony": "file:../react-native-harmony/rnoh-react-native-harmony-0.72.57.tgz", + "react-native-harmony": "file:../react-native-harmony/rnoh-react-native-harmony-0.72.58.tgz", "react-native-harmony-sample-package": "file:../react-native-harmony-sample-package/react-native-harmony-sample-package-1.0.0.tgz" }, "devDependencies": { -- Gitee