What's Changed
Key changes
Features
-
Docs for Synchronizable, new memory type https://docs.swmansion.com/react-native-worklets/docs/memory/synchronizable
-
New API to register custom serializable types, support for nitro::HybridObject https://docs.swmansion.com/react-native-worklets/docs/memory/registerCustomSerializable
-
Optimized web bundle size with platform-specific file extensions.
-
New C++ API to get WorkletRuntime instance from its
jsi::Runtime. -
New C++ APIs for scheduling on WorkletRuntime
-
TypeScript types for options of Worklets Babel Plugin https://docs.swmansion.com/react-native-worklets/docs/worklets-babel-plugin/plugin-options#how-to-use
-
Added public mocks for Jest testing
Breaking
- fix(Worklets): runOnUIAsync signature by @tjzel in #8470
- refactor(Worklets): remove public header dir by @tjzel in #8678
Other changes
- chore(Worklets): bump Bundle Mode patches by @tjzel in #8310
- chore(Worklets): fix PlatformChecker init by @tjzel in #8300
- feat(Worklets): simpler Bundle Mode by @tjzel in #8293
- fix(Worklets): Bundle Mode accidentally toggling in Expo54 by @tjzel in #8335
- fix(Worklets): re-workletizing in bundle mode by @tjzel in #8428
- refactor(Worklets): RuntimeBindings by @tjzel in #8409
- chore: Remove
ReanimatedErrorandWorkletsErrorfrom global types by @MatiPl01 in #8435 - chore(docs): rename reanimated to worklets babel plugin by @maciekstosio in #8449
- refactor(Worklets): swap scheduleOn and runOn implementations by @tjzel in #8452
- chore(Worklets): remove runtime-string association from RuntimeManager by @tjzel in #8443
- feat(Worklets): add deprecation sidebar label by @tjzel in #8468
- chore(Worklets): fix use of resolveWeak for Bundle Mode by @tjzel in #8490
- fix(worklets-docs):
og-imagesgeneration by @skusnierz in #8495 - chore(Worklets): swap runOnRuntime and scheduleOnRuntime impl by @tjzel in #8494
- fix(Worklets): fix version script by @tjzel in #8503
- fix(Worklets): missing REACT_NATIVE_MINOR_VERSION on iOS by @tjzel in #8516
- chore(Worklets): replace deprecated BigStringBuffer with JSBigString by @tjzel in #8601
- Revert worklets visibility changes (from #8408) by @wisniewskij in #8608
- feat(worklets): adjust the view of the video promoting worklets by @skusnierz in #8611
- feat(Worklets): use int64 for BigInt when possible by @tjzel in #8557
- fix(Worklets): strip RN Runtime assertions only for other runtimes by @tjzel in #8531
- chore(Worklets): rename plugin opts by @tjzel in #8630
- Configure OIDC in nightly publish action for worklets by @kmagiera in #8654
- Bump setup-node action and node versions for worklets publishing by @kmagiera in #8660
- chore(Worklets): AvailableFrom label in docs by @tjzel in #8669
- feat(Worklets): allow disabling worklet classes by @tjzel in #8634
- feat(Worklets): docs for registerCustomSerializable by @tjzel in #8668
- docs(Worklets): Swizzle Paginator and TOC from
t-rex-uiby @patrycjakalinska in #8674 - refactor(Worklets): remove public header dir by @tjzel in #8678
- fix(Worklets): prefab cache issue for prefab consumers by @tjzel in #8684
New Contributors
- @joshkeldam made their first contribution in #8346
- @Elham13 made their first contribution in #8347
- @pawicao made their first contribution in #8415
- @wisniewskij made their first contribution in #8439
- @alexphl made their first contribution in #8591
- @flexbox made their first contribution in #8692
Full Changelog: worklets-0.6.1...worklets-0.7.1