From 254e2c202ebf1f2988d7c27d2c2a30fa9ca4df95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20B=C5=82oniarz?= <56109050+bartlomiejbloniarz@users.noreply.github.com> Date: Thu, 4 Dec 2025 14:15:13 +0100 Subject: [PATCH 1/2] Update release instruction --- packages/react-native-reanimated/RELEASE.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/react-native-reanimated/RELEASE.md b/packages/react-native-reanimated/RELEASE.md index 3e4de086188..57637bc481a 100644 --- a/packages/react-native-reanimated/RELEASE.md +++ b/packages/react-native-reanimated/RELEASE.md @@ -62,8 +62,7 @@ Reanimated follows [semver](https://semver.org/) whenever applicable. --- 9. When releasing a minor version, update the minimal supported React Native version: - - Android: `build.gradle` - - iOS: `reanimated_utils.rb` + - update `compatibility.json` - it is used by both `reanimated_utils.rb` on iOS and `build.gradle` on Android - By default we support the last three minor versions 10. Testing: @@ -170,4 +169,4 @@ Reanimated follows [semver](https://semver.org/) whenever applicable. 26. Share the good news with the team. 27. Ask Kacper KapuĊ›ciak for a tweet informing the world about new Reanimated (patches don't count). -**Congratulations on releasing a new version of Reanimated!** \ No newline at end of file +**Congratulations on releasing a new version of Reanimated!** From cf378682e80b42602aca09b1682e3b53520886e2 Mon Sep 17 00:00:00 2001 From: Tomek Zawadzki Date: Thu, 4 Dec 2025 16:12:25 +0100 Subject: [PATCH 2/2] Update instructions for react-native-web app --- packages/react-native-reanimated/RELEASE.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/react-native-reanimated/RELEASE.md b/packages/react-native-reanimated/RELEASE.md index 57637bc481a..9dd81e4b6b4 100644 --- a/packages/react-native-reanimated/RELEASE.md +++ b/packages/react-native-reanimated/RELEASE.md @@ -112,14 +112,11 @@ Reanimated follows [semver](https://semver.org/) whenever applicable. 19. Test the package in a clean React Native Web app: - `npx create-expo-app my-app` - - Set up using **Getting Started** tutorial from [Expo Docs](https://docs.expo.dev/workflow/web/), + - `npx expo install react-dom react-native-web @expo/metro-runtime` (set up using **Getting Started** tutorial from [Expo Docs](https://docs.expo.dev/workflow/web/)), - `yarn add ~/Downloads/react-native-reanimated-x.y.z.tgz` - - If you don't have `babel.config.js`, create it using [this instruction](https://docs.expo.dev/versions/latest/config/babel/), - - Add `plugins: ['react-native-worklets/plugin']` in `babel.config.js` - as in our [Getting started](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/getting-started/) guide, - - Copy [Bokeh Example](https://github.com/software-mansion/react-native-reanimated/blob/main/apps/common-app/src/apps/reanimated/examples/BokehExample.tsx) to `App.tsx` - when using **expo-router** find and copy to `index.tsx`, + - Copy [Bokeh Example](https://github.com/software-mansion/react-native-reanimated/blob/main/apps/common-app/src/apps/reanimated/examples/BokehExample.tsx) to `app/_layout.tsx`, - Run dev: `npx expo start --web`, - Run release: `npx expo export -p web && npx serve dist --single`. - - Run prebuild: `npx expo prebuild` to generate native code and ensure the app works correctly. 20. If something doesn't work you can fix it in this or in a separate PR (depending on the case), and repeat the steps. 21. If everything works fine you can merge the PR.