diff --git a/apps/fabric-example/ios/Podfile.lock b/apps/fabric-example/ios/Podfile.lock index dd0c3106c880..5efde034bd65 100644 --- a/apps/fabric-example/ios/Podfile.lock +++ b/apps/fabric-example/ios/Podfile.lock @@ -1953,7 +1953,7 @@ PODS: - ReactCommon/turbomodule/core - ReactNativeDependencies - Yoga - - RNReanimated (4.3.1): + - RNReanimated (4.3.2): - hermes-engine - RCTRequired - RCTTypeSafety @@ -1975,11 +1975,11 @@ PODS: - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - ReactNativeDependencies - - RNReanimated/apple (= 4.3.1) - - RNReanimated/common (= 4.3.1) + - RNReanimated/apple (= 4.3.2) + - RNReanimated/common (= 4.3.2) - RNWorklets - Yoga - - RNReanimated/apple (4.3.1): + - RNReanimated/apple (4.3.2): - hermes-engine - RCTRequired - RCTTypeSafety @@ -2003,7 +2003,7 @@ PODS: - ReactNativeDependencies - RNWorklets - Yoga - - RNReanimated/common (4.3.1): + - RNReanimated/common (4.3.2): - hermes-engine - RCTRequired - RCTTypeSafety @@ -2456,7 +2456,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: FBLazyVector: 4815a9b6c97de1f17c88b3cf7047fc0aa0018fb8 - hermes-engine: 0bf017423677ea0a7fa5f0eeb4c645d763c161e9 + hermes-engine: 98c867a7d5d754bea83461a972b897b7f9deab7b MMKVCore: f2dd4c9befea04277a55e84e7812f930537993df NitroMmkv: ca0b67493c62d3f2b29457569ee48d24a1f7afd5 NitroModules: 42fb1740701d25672d7531652987eca15bbb181e @@ -2468,7 +2468,7 @@ SPEC CHECKSUMS: React: ce3b89b04d579b21ba990ff07a1d4cf0a68588dd React-callinvoker: 30be38ed761abcb8ae7edaa39e34cb9aade4b33b React-Core: 59c718ce09b1b83d4f07c0112b9c5f99ea39ee94 - React-Core-prebuilt: bd649d1705e587d3182d8d420b7f581b4ad84996 + React-Core-prebuilt: 49cd5508390df97f5b0b155f0d6edf234ca8d873 React-CoreModules: bcb9314b39eaa9134487be0cb8c8ee4a6d2e5cd9 React-cxxreact: fee24034f430cfbcbedced4157eacd2be7ced010 React-debug: 5138aa953fe4a9db1690681de71577dd3b4f05b1 @@ -2530,12 +2530,12 @@ SPEC CHECKSUMS: ReactAppDependencyProvider: dd8001caba9cb3fbe49a61d234262eaaa3d67aee ReactCodegen: 3e81858c6242de4bbde48ee222523fe45c41a21a ReactCommon: 2f76f91c78f14d4a2c3bc841842a6145d3e99038 - ReactNativeDependencies: 7c5170832491f1f9538100759106baf7723cba28 + ReactNativeDependencies: 15c54fc2890f3674eb46aa55e702bafae24ce05b RNCAsyncStorage: 2ad919e88b8bc2cd80e8697ce66d04d006743283 RNCClipboard: 715fa7c6c8366f17d00f05a439ee7488f390fa5f RNCMaskedView: eb2b2e538afa907f05a5848a1a1ac26092e6fec9 RNGestureHandler: 29bcf14a2d2562a1d698c6b33d94a74096c6e1ad - RNReanimated: f1268eac4625eb3819dd5b7a9658a746079f8e65 + RNReanimated: d6595e257236fbaac7ae60cccc7d4eb546de3694 RNScreens: 6ddda03d6564ca1dbde5754fe8effa9ac2cdb091 RNSVG: f21bef0d41b6495cdd8db5cb010b18bee378152c RNWorklets: fef7601fe85d5a8628dfcc60cf49e50a9546b073 diff --git a/apps/macos-example/macos/Podfile.lock b/apps/macos-example/macos/Podfile.lock index 44c4a8ad03e4..db69a787f38b 100644 --- a/apps/macos-example/macos/Podfile.lock +++ b/apps/macos-example/macos/Podfile.lock @@ -2425,7 +2425,7 @@ PODS: - ReactCommon/turbomodule/core - SocketRocket - Yoga - - RNReanimated (4.3.1): + - RNReanimated (4.3.2): - boost - DoubleConversion - fast_float @@ -2452,12 +2452,12 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - RNReanimated/apple (= 4.3.1) - - RNReanimated/common (= 4.3.1) + - RNReanimated/apple (= 4.3.2) + - RNReanimated/common (= 4.3.2) - RNWorklets - SocketRocket - Yoga - - RNReanimated/apple (4.3.1): + - RNReanimated/apple (4.3.2): - boost - DoubleConversion - fast_float @@ -2487,7 +2487,7 @@ PODS: - RNWorklets - SocketRocket - Yoga - - RNReanimated/common (4.3.1): + - RNReanimated/common (4.3.2): - boost - DoubleConversion - fast_float @@ -2986,7 +2986,7 @@ SPEC CHECKSUMS: RNCAsyncStorage: 29f0230e1a25f36c20b05f65e2eb8958d6526e82 RNCClipboard: 4b58c780f63676367640f23c8e114e9bd0cf86ac RNGestureHandler: 3a73f098d74712952870e948b3d9cf7b6cae9961 - RNReanimated: 4d43f55461bd69288a7d87fd33e881cb6ec54f7c + RNReanimated: e43d46e8d19026e26127ccee77c922d4b15b65e9 RNSVG: c4d5a438a1c96f7ed7dc66349a5b7e97616fd701 RNWorklets: b7f7a0dbe64c22e822d621ffd31444a27c4a24aa SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 diff --git a/apps/tvos-example/ios/Podfile.lock b/apps/tvos-example/ios/Podfile.lock index 25b99ef68dee..4373ec5cd363 100644 --- a/apps/tvos-example/ios/Podfile.lock +++ b/apps/tvos-example/ios/Podfile.lock @@ -1784,7 +1784,7 @@ PODS: - React-utils (= 0.84.1-0) - ReactNativeDependencies - ReactNativeDependencies (0.84.1) - - RNReanimated (4.3.1): + - RNReanimated (4.3.2): - hermes-engine - RCTRequired - RCTTypeSafety @@ -1805,11 +1805,11 @@ PODS: - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - ReactNativeDependencies - - RNReanimated/apple (= 4.3.1) - - RNReanimated/common (= 4.3.1) + - RNReanimated/apple (= 4.3.2) + - RNReanimated/common (= 4.3.2) - RNWorklets - Yoga - - RNReanimated/apple (4.3.1): + - RNReanimated/apple (4.3.2): - hermes-engine - RCTRequired - RCTTypeSafety @@ -1832,7 +1832,7 @@ PODS: - ReactNativeDependencies - RNWorklets - Yoga - - RNReanimated/common (4.3.1): + - RNReanimated/common (4.3.2): - hermes-engine - RCTRequired - RCTTypeSafety @@ -2158,7 +2158,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: FBLazyVector: a3651a4af13997df8df1bcd5af1cc7507d51dc7b - hermes-engine: 21a27a020253d73ec0a50005a2d146e1b7ba70ed + hermes-engine: 39f6f8fcbf4a3de4b5f302782e4c4158c0206473 RCTDeprecation: e1d3de84bd12761f1a42ae433c805c84ce3e1447 RCTRequired: 5f75a4215a8c9551b303a95b0394968ae7490f18 RCTSwiftUI: 6cfd2a6b1506648cd96493d252069bd1b49bdea4 @@ -2167,7 +2167,7 @@ SPEC CHECKSUMS: React: b785d635f91eb1df402a0dbc0305546f139c8048 React-callinvoker: 3e490bb38efd7cef31c17154d33d3cc294db880b React-Core: 35963efb0dff21849c40f81fd73d46f636de9d56 - React-Core-prebuilt: 56f76ee5e223326cefe6309861ba27c1174071f4 + React-Core-prebuilt: 863d645b758813fba398918db637d80629c9c9b2 React-CoreModules: 3dd7061935350ba9bd5c2d3e7dbf52cdb5ebb47b React-cxxreact: ed404f7277d9558a63eb9991d09100a4362d33fa React-debug: a26fb9a83e45de87601236175f68e3f3b92ab8ac @@ -2228,8 +2228,8 @@ SPEC CHECKSUMS: ReactAppDependencyProvider: 51e6ac892436c657aa7dfe118942aeacda08179f ReactCodegen: 3862d3679a3064814550db04f7a5366833d65eea ReactCommon: c315584be8ff201e245f9d8cc4b380154235ef2d - ReactNativeDependencies: 34b8489e3e615d820fea42d70f086b9420ca4470 - RNReanimated: 12870cd060e1ceaaf24e22001dbf36a510f9abdc + ReactNativeDependencies: 0c56a0cfb725c416c75f4456bc7a4c7d7952ff8f + RNReanimated: 69a94e12d05383078cef5ea92a860c59e8a9bf13 RNWorklets: 62609702cb79e0804db583fe15beccccd3b497c6 Yoga: e2029bb72b7cb951e09aa1ee1316c9f5f28409da diff --git a/packages/react-native-reanimated/Common/cpp/reanimated/CSS/registries/CSSAnimationsRegistry.cpp b/packages/react-native-reanimated/Common/cpp/reanimated/CSS/registries/CSSAnimationsRegistry.cpp index 67ab0f644161..5220e9da1fc0 100644 --- a/packages/react-native-reanimated/Common/cpp/reanimated/CSS/registries/CSSAnimationsRegistry.cpp +++ b/packages/react-native-reanimated/Common/cpp/reanimated/CSS/registries/CSSAnimationsRegistry.cpp @@ -293,6 +293,10 @@ void CSSAnimationsRegistry::applyViewAnimationsStyle(const Tag viewTag, const do } setInUpdatesRegistry(shadowNode, updatedStyle); + + if (shadowNode && !updatedStyle.empty()) { + addUpdatesToBatch(shadowNode, updatedStyle); + } } void CSSAnimationsRegistry::activateDelayedAnimations(const double timestamp) { diff --git a/packages/react-native-reanimated/package.json b/packages/react-native-reanimated/package.json index 89662677ff9b..507a5a3391c2 100644 --- a/packages/react-native-reanimated/package.json +++ b/packages/react-native-reanimated/package.json @@ -1,6 +1,6 @@ { "name": "react-native-reanimated", - "version": "4.3.1", + "version": "4.3.2", "description": "More powerful alternative to Animated library for React Native.", "keywords": [ "react-native", diff --git a/packages/react-native-reanimated/src/platform-specific/jsVersion.ts b/packages/react-native-reanimated/src/platform-specific/jsVersion.ts index e502bcc8d163..a15609f28526 100644 --- a/packages/react-native-reanimated/src/platform-specific/jsVersion.ts +++ b/packages/react-native-reanimated/src/platform-specific/jsVersion.ts @@ -4,4 +4,4 @@ * version used to build the native part of the library in runtime. Remember to * keep this in sync with the version declared in `package.json` */ -export const jsVersion = '4.3.1'; +export const jsVersion = '4.3.2';