Releases: software-mansion/react-native-reanimated
Releases · software-mansion/react-native-reanimated
3.16.0
Features
- Support React Native 0.76 by @tomekzaw in #6499
- feat: Add react-compiler safe API to mutables by @tjzel in #6312
- [Web LA] Add
skipEntering
by @m-bert in #6425 - feat: Implement better reanimated logger with clean stack traces by @MatiPl01 in #6385
- feat: Use new logger and ReanimatedError for lib warnings and errors by @MatiPl01 in #6387
- feat: add support for isNavigationBarTranslucentAndroid by @maciekstosio in #6431
- feat: Expose BaseLayoutAnimationConfig by @tjzel in #6558
Fixes
- Implement missing measurements on android by @Latropos in #6413
- [Web] Add
findNodeHandle
web version by @m-bert in #6403 - Don't update view tag when null by @j-piasecki in #6353
- Fix colour comparison on Android by @Latropos in #6383
- Update RN pager view patch file by @szydlovsky in #6397
- fix: Chrome debugger crash caused by incorrect viewTag by @MatiPl01 in #6437
- fix: add missing include by @okwasniewski in #6439
- feat: Enable Clangd in repo by @tjzel in #6430
- Skip zero delay by @Latropos in #6398
- fix: Recursion in worklets by @tjzel in #6445
- Change
requestAnimationFrame
flush condition by @bartlomiejbloniarz in #6442 - feat: User-defined logger config by @MatiPl01 in #6409
- Fix handling of layout animations coinciding with view flattening by @bartlomiejbloniarz in #6460
- Fix issues with skipping reanimated commit by @bartlomiejbloniarz in #6498
- Add useEvent mock by @piaskowyk in #6511
- fix: Add JavaScript wrappers to captured console to prevent crashes in React Native 0.75 by @tjzel in #6520
- chore: Change overlooked job name by @tjzel in #6525
- Fix wrong exiting animation indices [New Architecture] by @bartlomiejbloniarz in #6526
- chore: Fix TypeScript issues for
react-native@0.76
by @tjzel in #6527 - Move
ReaLayoutAnimator
to a separate file by @tomekzaw in #6530 - Enable V8 nightly CI by @piaskowyk in #6533
- Fix broken links in documentation by @piaskowyk in #6535
- Fix getViewProp on Android, RN.74 by @Latropos in #6441
- fix: Restore backwards C++ compatibility for NDK23 by @tjzel in #6553
- Remove
resolveTaskFactory
in build.gradle by @tomekzaw in #6560 - Fix prefab headers by @tomekzaw in #6566
- Add SVG color properties to list of color attributes to parse by @jakex7 in #6567
- Add
outlineColor
to ColorProperties list by @jakex7 in #6568 - Bump React Native to 0.76.0-rc.3 by @tomekzaw in #6565
- Add
HostFunction
handling to_scheduleOnJS
by @bartlomiejbloniarz in #6571 - feat: Add release dedicated GitHub Action by @tjzel in #6569
- Lazy initalize layout aniamtions in the Commit Hook by @bartlomiejbloniarz in #6586
- Bump python version and freeze cpplint by @bartlomiejbloniarz in #6587
- fix: build error with c++17 by @jeanregisser in #6590
- Use
Number
instead ofparseInt
by @Latropos in #6593 - Bump reanimated version to 3.16.0 by @bartlomiejbloniarz in #6599
Docs changes
- docs: Add example to useHandler docs by @patrycjakalinska in #6369
- docs: Rewrite Custom Animations page by @patrycjakalinska in #6346
- docs: Rewrite useAnimatedScrollHandler page by @patrycjakalinska in #6374
- dosc: Rewrite useEvent page by @patrycjakalinska in #6360
- docs: Move Platform Compatibility to MDXComponents by @patrycjakalinska in #6401
- docs: add
PlatformCompatibility
component by @tomekzaw in #6394 - docs: Fix text colors in docs examples by @MatiPl01 in #6417
- docs: Fix incorrect links in docs by @MatiPl01 in #6436
- docs: Styling for mobile Platform Compatibility by @patrycjakalinska in #6456
- docs: CurvedTransition typo by @dynamichny in #6463
- docs: Fix
measure
InteracitveExample by @patrycjakalinska in #6452 - Extract logic to build the tests by @Latropos in #6408
- docs: Add metro config wrapper and reanimated logger docs by @MatiPl01 in #6467
- docs: fix typos by @shubh73 in #6402
- Add runtime tests for animations in StrictMode by @piaskowyk in #6305
- docs: Rewrite Shared Element Transition page by @patrycjakalinska in #6455
- docs: Bump
@swmansion/t-rex-ui
to 0.0.14 by @patrycjakalinska in #6522 - More test cases - custom layout transitions by @Latropos in #6458
- docs: Rewrite Web Support page by @patrycjakalinska in #6516
- docs: Add AvailableFrom label by @patrycjakalinska in #6523
- Fix layout animations flickering on Android [New Architecture] by @bartlomiejbloniarz in #6518
- docs: Rewrite Testing with Jest page by @patrycjakalinska in #6503
- docs: add Entering/Exiting Playground by @patrycjakalinska in #6468
- docs: Mark debugging docs as unreleased, remove recommended metro config step by @MatiPl01 in #6529
Internal changes
- chore: Make GitHub actions names match their titles, cleanup by @tjzel in #6391
- Regenerate some test snapshots by @Latropos in #6382
- chore: Fix precommit script by @tjzel in #6407
- Remove duplicated logic of error tests by @Latropos in #6358
- refactor: Split Java and ObjC code into Reanimated and Worklets dirs by @tjzel in #6366
- chore: Bump RN to 0.75.2 in examples by @tjzel in #6464
- chore: Enforce the use of ReanimatedError instead of Error by @MatiPl01 in #6454
- Fix keyframe types by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull...
3.15.5
3.15.4
Restoring compatibility for NDK23.
Full Changelog: 3.15.3...3.15.4
3.15.3
New architecture bug fixes
Full Changelog: 3.15.2...3.15.3
3.15.2
Preliminary support for NDK 27
Full Changelog: 3.15.1...3.15.2
3.15.1
3.15.0
What's Changed
Features
- Add
ReducedMotionConfig
component by @piaskowyk in #6164 - [Web LA] Add
EntryExitTransition
by @m-bert in #6232 - Name every worklet function by @tjzel in #6163
- Workletize top-level functions in a file with 'worklet' directive by @tjzel in #5554
- Workletizable Context Objects by @tjzel in #6284
- [Web LA] Add
CurvedTransition
by @m-bert in #6239 - Workletizable Classes by @tjzel in #6230
- Expose
worklets
as prefab by @tomekzaw in #6372 - Support React Native 0.75 by @tomekzaw in #6185
Fixes
- Fix useSharedValue type definition in docs by @MatiPl01 in #6260
- [Web] Fix missing RNRenderer export (#6265) by @lkinasiewicz in #6266
- Prevent disabling cleanup in progress transitions on iOS by @bartlomiejbloniarz in #6270
mansion/react-native-reanimated/pull/6282 - [Web] Fix animations on Chromium 73 and older (#6269) by @lkinasiewicz in #6271
- Fix Reduced Motion example by @piaskowyk in #6288
- fix: class factory included in sort by @tjzel in #6314
- [Web LA] Fix
easing
by @m-bert in #6304 - [Web LA] Start
exiting
after position fix by @m-bert in #6308 - fix: Plugin precommit script by @tjzel in #6328
- Fix
Remove
mutation parsing in Layout Animations by @bartlomiejbloniarz in #6286 - Bugfix - don't require render in every test by @Latropos in #6318
- Fix spotless config by @tomekzaw in #6349
- fix: proper types for userAgent and vendor by @WoLewicki in #6361
- Fix handling UTF-8 object keys by @coado in #6373
- Fix pendulum example to not crash on empty mass input field by @latekvo in #6379
- Fix next js build CI by @szydlovsky in #6381
- fix: Light mode colors in the make mutable example in docs by @MatiPl01 in #6375
Improvements
- Put back the README.md file in the npm package by @piaskowyk in #6256
- [Web LA] Fill in missing keyframes in default animations by @m-bert in #6259
- [Web LA] Add
withInitialValues
modifier by @m-bert in #6254 - Deprecate
combineTransition
by @piaskowyk in #6161 - chore: Reanimated package.json metadata tweaks by @Simek in #6300
- Optimize Shadow Tree cloning by @bartlomiejbloniarz in #6214
- Remove
ReanimatedHiddenHeaders
,LoggerInterface
andSpeedChecker
by @tomekzaw in #6363 - Modify reanimated props updates by @bartlomiejbloniarz in #6330
Docs changes
- fix: docs: Access before initialization on withSpring and withTiming by @patrycjakalinska in https://github.com/software-
- Extend plugin's documentation by @tjzel in #6227
- docs: Add Worklets page by @kacperkapusciak in #6257
- docs: Replace HireUsSection with
@swmansion/t-rex-ui
component by @patrycjakalinska in #6274 - Add
ReduceMotionConfig
docs by @piaskowyk in #6165 - docs: Rewrite getRelativeCoords documentation page by @patrycjakalinska in #6249
- update layout transitions docs by @Bayramito in #6275
- docs: Rewrite Keyframe Animations documentation page by @patrycjakalinska in #6181
- Fix link to docs by @piaskowyk in #6303
- docs: Add WorkletContextObjects and WorkletClasses by @tjzel in #6309
- docs: Rewrite dispatchCommand page by @patrycjakalinska in #6296
- docs: Recenter slider thumb by @patrycjakalinska in #6313
- Add list itemLayoutAnimation documentation page and example by @MatiPl01 in #6279
- docs: Rewrite Layout Transition documentation page by @patrycjakalinska in #6144
- docs: Add keyExtractor remark to itemLayoutAnimation documentation by @MatiPl01 in https://github.com/software-mansion/
- docs: Rewrite interpolateColor page by @patrycjakalinska in #6332
- docs: update interpolate value argument description by @kacperkapusciak in #6347
- docs: add info about prebuild to installation steps by @kacperkapusciak in #6340
- docs: fix broken link in reanimated babel plugin docs by @kacperkapusciak in #6355
- docs: makeMutable documentation and examples by @MatiPl01 in #6261
- docs: Rewrite useHandler page by @patrycjakalinska in #6345
- docs: add disclaimer about ready-to-use packages in Reanimated Cookbook by @kacperkapusciak in #6182
Internal changes
- Improve
PerformanceMonitor
's functionality by @latekvo in #6241 - Extract async code to separate classes by @Latropos in #6258
- [reJest] waitForAnimationUpdates by @piaskowyk in #6236
- [reJest] Use
waitForAnimationUpdates
instead ofwait
by @piaskowyk in #6237 - Introduce Import buttons to run tests more easily by @Latropos in #6216
- Fix fading snapshot by @Latropos in #6273
- [reJest] Fixes problem with opacity comparation by @piaskowyk in #6233
- refactor: Improve UX of runtime tests menu by @tjzel in #6283
- Improve formatting of snapnshot mismatch comparison by @Latropos in #6272
- Mock window dimensions by @Latropos in #6235
- Remove header to fix broken tests on android by @Latropos in #6289
- Fix function names by @Latropos in #6290
- Prefer
waitForAnimationUpdates
overwait
by @Latropos in #6291 - Rename ReJest main folder by @Latropos in #6292
- Introduce file structure to tests by @Latropos in #6293
- Use seed in randomised tests by @Latropos in #6287
- fix: tests not included by default by @tjzel in #6306
- refactor: split makeMutable to web and native implementations by @tjzel in #6307
- chore: Add verbosity to precommit by @tjzel in #6336
- Bring back useFrameCallback cleanup by @sz...
3.14.0
What's Changed
This release contains mainly community-requested bugfixes.
- [SET] instance check before invoking a method via reflection by @piaskowyk in #6211
- Remove unnecessary color processing in
interpolateColor
by @szydlovsky in #6213 - Fix duration of fading transition by @Latropos in #6174
- Revert dynamic styles PR by @szydlovsky in #6218
- Append
-Wpedantic
only for example apps by @tomekzaw in #6250
and more
New Contributors
Full Changelog: 3.13.0...3.14.0
3.13.0
What's Changed
Features
- Layout Animations for the New Architecture by @bartlomiejbloniarz in #6055
- [Web LA] Add
JumpingTransition
by @m-bert in #6148 - [SET] Tab Navigator support by @piaskowyk in #5793
- [Web LA] Custom
Keyframe
animations by @m-bert in #6135 - Allow worklet referencing in plugin by @tjzel in #5911
Fixes
- Fix crash when current activity is null by @maciekstosio in #6022
- Fix missing imports for RN72 compatibility by @gronxb in #6097 (PR had to be moved but credits to him)
- Fix configuring unconfigurable properties by @tjzel in #6098
- Fix mistakes in example app by @maciekstosio in #6099
- fix: getAnimatableRef on web by @intergalacticspacehighway in #6088
- Set default keyboard state by @piaskowyk in #6101
- Fixes of dark-theme and values in docs by @patrycjakalinska in #6058
- Make animated component's event tag properly update by @szydlovsky in #6030
- Fix slow animation mode on Android by @piaskowyk in #6014
- docs: Add missing dark themes by @patrycjakalinska in #6110
- docs: fix transparent sidebar by @patrycjakalinska in #6117
- Fix SET in Expo Go by @piaskowyk in #6116
- Fix broken link in documentation by @piaskowyk in #6120
- docs: Fix withTiming playground Power slider visibility by @patrycjakalinska in #6128
- [Web LA] Fix default transitions. by @m-bert in #6124
- Fix tree shaking in JSReanimated by @tomekzaw in #6130
- Fix useFrameCallback cleanup by @szydlovsky in #6143
- Fix web exiting animation in StrictMode by @piaskowyk in #6129
- Properly stringify tiny color values by @swansontec in #6153
- fix empty export on web by @EvanBacon in #6171
- Fix "Not implemented" exception with macros by @tjzel in #6137
- Fix FadingTransition by @piaskowyk in #6183
- [Web LA] Fix chrome flickers by @m-bert in #6172
- fix side effects by @EvanBacon in #6188
Improvements
- improved composed handler docs to match our standards by @szydlovsky in #6071
- docs: update compatibility table for fabric by @kacperkapusciak in #6068
- docs: remove redundant
'worklet';
inuseComposedEventHandler
by @kacperkapusciak in #6078 - docs(example): update readme with build step by @frankcalise in #6089
- Add Slider example to Reanimated Cookbook by @patrycjakalinska in #6094
- docs: update Hire us to directly lead to contact form by @kacperkapusciak in #6087
- Add 2048 example by @tomekzaw in #6032
- [Web LA] Add warning about
transform
by @m-bert in #6064 - Adjust Playground dark theme by @patrycjakalinska in #6122
- docs: add contributing docs page by @maciekstosio in #6061
- docs: Adjust expandable code by @patrycjakalinska in #6133
- Add Floating Action Button example to Reanimated Cookbook by @patrycjakalinska in #6079
- Update useWorkletCallback.ts by @vonovak in #6140
- Remove
getJSValue
in favor oftoJSValue
by @tomekzaw in #6042 - Enable
-Wpedantic
flag on Android and usestd::vector
instead of VLA to pass arguments to_scheduleOnJS
by @tomekzaw in #6157 - Add remark about reading SharedValue from the js thread by @j-piasecki in #6160
- docs: fix 'Edit this page' link by @kacperkapusciak in #6176
- docs: Edit this page button should go directly to edit page by @kacperkapusciak in #6177
- Fix lint error on main by @tomekzaw in #6179
- Strict DOM example by @piaskowyk in #6175
- [LA] Replace Layout Transitions example by @patrycjakalinska in #6151
- Merge ViewDescriptors implementation by @piaskowyk in #6123
- [LA] Replace Keyframe example by @patrycjakalinska in #6180
Internal Changes
- Monorepo by @tjzel in #5992
- Monorepo - move README by @tjzel in #6096
- Add missing unit tests (bezier, color converter, interpolate) by @Latropos in #6034
- Fix nightly build CI by @szydlovsky in #6106
- Make all links from Reanimated Cookbook relative by @patrycjakalinska in #6105
- Clean up docs from redundant files by @patrycjakalinska in #6104
- Fix and rename publish docs CI by @szydlovsky in #6108
- Fix one more path in docs publish CI by @szydlovsky in #6109
- Fix docs-check CI trigger path by @szydlovsky in #6112
- Fix
web-example
by @m-bert in #6111 - Screen transition example update - use proper import from screens instead of mock by @piaskowyk in #6118
- Fix eslint rules and types of tests by @Latropos in #6103
- Fix hot-reload in web-example by @piaskowyk in #6121
- Remove unused file by @piaskowyk in #6125
- Support snapshots of many views by @Latropos in #6047
- Remove redundant
jestUtils
file by @tjzel in #6138 - Use vanilla
babel.config.js
in plugin's unit tests by @tjzel in #6139 - Run formatter by @piaskowyk in #6142
- Fix C++ linter on CI by @piaskowyk in #6147
- Add tests of predefined exiting by @Latropos in #6136
- Make
close when stale
time 14 days by @szydlovsky in #6152 - Add tests of "withSequence" and clean up imports by @Latropos in #6050
- Tests of
withDelay
by @Latropos in #6150 - Fix all autoFixable problems inside app/common by @Latropos in #6162
- Layout Transition test by @Latropos in #6168
- Delet...
3.12.1
Full Changelog: 3.12.0...3.12.1