Worklets - 0.11.0
Key changes
Experimental bytecode worklets in Legacy Eval Mode
Legacy Eval Mode can now optionally evaluate worklets from Hermes bytecode instead of plain code in production builds. This is an opt-in workaround for the Hermes V1 memory issue (#9650).
https://docs.swmansion.com/react-native-worklets/docs/worklets-babel-plugin/plugin-options
- feat(Worklets): experimental bytecode worklets in legacy eval mode by @tjzel in #9705
- feat(Worklets): docs for eval bytecode by @tjzel in #9912
Other changes
- fix(Worklets): runloop tests flake by @tjzel in #9798
- fix(Worklets): missing HMR updates by @tjzel in #9894
- fix(babel): Strip filename queries when injecting source maps by @NiGhTTraX in #9576
- Update bundle mode patch guide to add bun patching instructions by @acarlson33 in #9818
- fix(Worklets): bundle mode detection with expo tree shaking by @tjzel in #9911
- refactor(Worklets): remove outdated Reanimated tags from Babel plugin by @tjzel in #9921
- chore: fix typo in Bundle Mode setup docs by @DoctorJohn in #9934
- chore(Worklets): remove stale getModules hunk from metro-runtime patches by @tjzel in #9946
- fix(Worklets): respect the enableEventLoop option in createWorkletRuntime by @tjzel in #9951
- Fix: type safety in Android build configuration for React Native directory resolution by @benjaminpeters in #9652
- fix(Worklets): resolve @babel/preset-typescript relative to react-native-worklets, not process.cwd() by @shawnthye-guru in #9949
New Contributors
- @NiGhTTraX made their first contribution in #9576
- @acarlson33 made their first contribution in #9818
- @DoctorJohn made their first contribution in #9934
- @benjaminpeters made their first contribution in #9652
- @shawnthye-guru made their first contribution in #9949
Full Changelog: worklets-0.10.2...worklets-0.11.0