What's Changed
- fix
ErrorVariable scope conflicts, and remove duplicateDateby @jinliming2 in https://github.com/software-mansion/react-native-reanimated/pull/4046 - Rewrite plugin to TypeScript by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4096
- Actually apply changes from #4046 by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4190
- Add .prettierignore file to stop CI fails on plugin compiled files commits by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4193
- [V3 bugfix] Change private methods to public ones by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/4205
- Bump webpack from 5.74.0 to 5.76.1 in /docs by @dependabot in https://github.com/software-mansion/react-native-reanimated/pull/4224
- Add information about RN architecture limitation by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/4220
- Bump @sideway/formula from 3.0.0 to 3.0.1 by @dependabot in https://github.com/software-mansion/react-native-reanimated/pull/4230
- Fix a typo by @Hostname47 in https://github.com/software-mansion/react-native-reanimated/pull/4246
- chore: set library namespace in build script by @kkafar in https://github.com/software-mansion/react-native-reanimated/pull/4208
- Fix corrupted yarn.locks by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4249
- Fix issue causing ANR when performing sync layout updates by @kmagiera in https://github.com/software-mansion/react-native-reanimated/pull/4239
- Fix monorepo worklow by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4255
- Emoji waterfall example by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4233
- Properly setup ESLint and fix lint errors in Example app by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4259
- [Plugin] Add plugin versioning and a version check in runtime by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4206
- Fix
npm packincludingplugin/node_modules. by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4264 - Fix useAnimatedKeyboard animation restart on iOS by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/4266
- Fix withDecay
rubberBandFactoron Web by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/4270 - Add missing end namespace comments by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4271
- Use Node.js 16 on CI by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4274
- Bump actions to latest versions by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4275
- Change typeof for prototype check to only process plain objects as mappers inputs by @kmagiera in https://github.com/software-mansion/react-native-reanimated/pull/4258
- Fix monorepo workflow by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4273
- Add missing configureLayoutAnimation on web by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4289
- Fix issue with setImmediate not defined on Web by @kmagiera in https://github.com/software-mansion/react-native-reanimated/pull/4276
- Remove size check CI on Reanimated2 by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4290
- Billiard example by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4265
- Let Reanimated2 build! by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4292
- [Plugin] [0/9] Split plugin into separate files and add bundling option. by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4209
- Add flashImmediateRunning flag to setupSetImmediate by @mstach60161 in https://github.com/software-mansion/react-native-reanimated/pull/4280
- @tjzel/reanimated2 ci by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4293
- [Plugin] Amend direct bundling of package.json into plugin by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4294
- [Dependabot] Fix critical #132 by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4295
- [Plugin] [1/9] Remove passing a 'method holder' object and properly use TypeScript for plugin. by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4210
- Remove
lodash.isequalby @Semigradsky in https://github.com/software-mansion/react-native-reanimated/pull/4181 - Add merge_group event to github workflows by @mstach60161 in https://github.com/software-mansion/react-native-reanimated/pull/4296
- [Dependabot] Fix #188 by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4301
- Unify example apps by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4288
- Update yarn.lock by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4305
- Update yarn.lock again by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4307
- Fix useFrameCallback fast refresh by @mstach60161 in https://github.com/software-mansion/react-native-reanimated/pull/4121
- Example apps improvements by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4308
- Fix console error by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/4252
- [Dependabot] Fix WebExample alerts by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4311
- Add
stepseasing function by @alabsi91 in https://github.com/software-mansion/react-native-reanimated/pull/4298 - chore: add Reanimated 3 Announcement example by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/4309
- Add shareable HostFunction by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4117
- Cleanup NativeProxy on Android by @jwajgelt in https://github.com/software-mansion/react-native-reanimated/pull/4116
- Fix smooth scroll android by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/4238
- Call assert in
SingleInstanceCheckeronly in example apps by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4316 - fix: do not apply namespace if it is not available in agp by @WoLewicki in https://github.com/software-mansion/react-native-reanimated/pull/4313
- Fix unnecessary calls startMapper/stopMapper in useAnimatedReaction by @rozhkovs in https://github.com/software-mansion/react-native-reanimated/pull/3864
- [Plugin] [2/9] Convert throws to asserts by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4211
- [Plugin] [3/9] Rename functions. by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4212
- [Plugin] [4/9] Improve MakeWorklet type check conditions by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4214
- [Plugin] [5/9] Split ProcessIfWorkletFunction into two functions and improve type checks by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4215
- [Plugin] [6/9] Split ProcessForCalleesWorklets to Reanimated-type distinguished functions by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4216
- [Plugin] [7/9] Changes to ProcessIfGestureHandlerEventCallbackFunctionNode for better logic. by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4217
- Flush UI operation queue when animation is not running by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/4329
- Add pre-commit plugin .js files compiling and building by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4326
- [Plugin] [9/9] Split MakeWorklet to two functions by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4219
- Amend plugin dependencies by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4286
- Add support for React Native 0.72 by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4253
- Persist most recently visited screen in example apps by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4342
- Add lacking transformation of useAnimatedScrollHandler function argument to plugin by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4355
- Persist current screen during fast refresh on web by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4343
- Fix globals.d.ts and migrate to globalThis by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4331
- Format Babel plugin test inputs by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4356
- doc: added important tip when using android device by @Chinedu19 in https://github.com/software-mansion/react-native-reanimated/pull/4357
- Fix "Maximum call stack size exceeded" error by @kmagiera in https://github.com/software-mansion/react-native-reanimated/pull/4367
- Break infinite queueMicrotask loop when updates are triggered in mapper-run phase by @kmagiera in https://github.com/software-mansion/react-native-reanimated/pull/4358
- Refactor keyboard observer on iOS by @kmagiera in https://github.com/software-mansion/react-native-reanimated/pull/4360
- Add version property to worklets for Reanimated plugin version verification by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4370
- Change tests for version check (missing commit) by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/4373
- fix: console.assert is not defined during debug by @KiwiKilian in https://github.com/software-mansion/react-native-reanimated/pull/4365
- Convert to shareable directly from runOnUI by @kmagiera in https://github.com/software-mansion/react-native-reanimated/pull/4372
- Update misleading createAnimatedComponent warning by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/4374
- Fix undefined
ErrorUtils.reportFatalErrorby @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/4377 - Fix scrollTo on Fabric by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/4378
New Contributors
@Latropos, @Hostname47, @Semigradsky, @alabsi91, @rozhkovs, @Chinedu19, @KiwiKilian
🙌 Thank you for your contributions!
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/4752590361
Full Changelog: https://github.com/software-mansion/react-native-reanimated/compare/3.0.2...3.1.0