Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 3.16.2 #6735

Merged
merged 6 commits into from
Nov 20, 2024
Merged

release: 3.16.2 #6735

merged 6 commits into from
Nov 20, 2024

Conversation

tjzel and others added 6 commits November 20, 2024 11:44
## Summary

When I added compiler-safe API for shared values, I accidentally forgot
that animations exist and that their assignment to shared values has to
be handled separately.

Fixes
 - #6613

## Test plan

Added relevant runtime test suite and adjusted some others.
## Summary

Babel plugin can have names. Plugin will now be named `reanimated`
instead of `node_modules/react-native-reanimated/plugin/index.js`.

Cleaning some files as a bonus.

## Test plan

🚀
Sometimes the class property

```javascript
	class Clazz {
		__workletClass = true;
	};
```

Can get stripped away by some Babel plugins. We add some additional
fallback methods so the users doesn't have to change his Babel pipeline
to use this feature.

🚀
## Summary
PR adding back headers removed in
#6537.
For some reason, locally they are not needed, probably to some different
setup or having the libraries set globally somewhere, but it caused
failures in Expensify:
https://github.com/Expensify/App/actions/runs/11857735322/job/33046828856.
They should be included since methods from them are used.
## Test plan
Not really, just run CIs probably.
Turns out `@babel/preset-typescript` always has to be included when
calling `transformSync` from `babel` (it cannot be included in a later
call). Due to that I made all `transformSync` calls into a wrapper call
that uses a required set of plugins and presets.

Fixes
- #6642

- [x] Plugin unit tests pass
- [x] Runtime tests pass
@tjzel tjzel changed the title fix: Animation assignment with compiler-safe API (#6715) release: 3.16.2 Nov 20, 2024
@tjzel tjzel added the Check compatibility Trigger a time-consuming compatibility check action label Nov 20, 2024
@tjzel tjzel merged commit 94ca94a into 3.16-stable Nov 20, 2024
59 of 81 checks passed
@tjzel tjzel deleted the @tjzel/release/3.16.2 branch November 20, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Check compatibility Trigger a time-consuming compatibility check action
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants