github software-mansion/react-native-reanimated worklets-0.5.0
Worklets - 0.5.0

latest release: 4.1.0
5 days ago

Key changes

  • Added an option to pass custom AsyncQueue to a WorkletRuntime
    • feat(Worklets): make AsyncQueue virtual and public by @tjzel in #7886
    • feat(Worklets): allow passing user-implemented AsyncQueue to createWorkletRuntime by @tjzel in #7851
  • Introduced getRuntimeKind to replace deprecated _WORKLET API
    • feat(Worklets): replace _WORKLET with getRuntimeKind and __RUNTIME_KIND by @tjzel in #7641
    • docs(Worklets): getRuntimeKind by @tjzel in #8051
  • Introduced scheduleOnRN to replace deprecated runOnJS
  • Introduced Synchronizable concept
  • Introduced runOnUISync to replace deprecated executeOnUIRuntimeSync.
  • Introduced formal event loop on Worklet Runtimes
  • Introduced scheduleOnUI to replace deprecated runOnUI
  • Renamed Shareable concept to Serializable and migrated it to use jsi::NativeState
    • feat(Worklets): update Shareable implementation to use nativeState instead of HostObject by @skusnierz in #7843
    • feat: Serializable docs by @skusnierz in #8043
  • Added Bundle Mode support for React Native 0.81
    • chore(Worklets): BundleMode patches for 0.81 by @tjzel in #8086
  • New docs

What's Changed

  • refactor(Worklets): Rename Shareable to Serializable - part 1 by @skusnierz in #7845
  • feat(Worklets): update Shareable implementation to use nativeState instead of HostObject by @skusnierz in #7843
  • chore: bump Reanimated and Worklets in docs by @tjzel in #7868
  • Remove native view export by @piaskowyk in #7893
  • feat(Worklets): make AsyncQueue virtual and public by @tjzel in #7886
  • feat(Worklets): Update interface of the createWorkletRuntime function by @skusnierz in #7894
  • fix(Worklets): _$$_IMPORT_ALL identifier clash in some web setups by @tjzel in #7900
  • refactor(Worklets): extract RuntimeData file by @tjzel in #7905
  • refactor(Worklets): remove supportsLocking parameter from Worklet Runtimes by @tjzel in #7904
  • chore(Worklets): update compat table post 0.4.1 release by @tjzel in #7937
  • feat(Worklets): allow passing user-implemented AsyncQueue to createWorkletRuntime by @tjzel in #7851
  • feat(Worklets): runAsyncGuardedOnUI by @tjzel in #7906
  • feat(Worklets): obtain WorkletRuntime from runtime address by @tjzel in #7911
  • feat: Support for SVG circle base props by @MatiPl01 in #7750
  • refactor(Worklets): rename Shareable to Serializable- part 2 by @skusnierz in #7863
  • chore(Worklets): add Bundle Mode nightly CI by @tjzel in #8037
  • feat: rename makeShareableCloneRecursive to createSerializable internally by @skusnierz in #8018
  • chore: add Bundle Mode CI label to README by @tjzel in #8047
  • refactor(Worklets): hide worklet caches by @tjzel in #7965
  • feat: rename files which includes Shareable to Serializable by @skusnierz in #8042
  • chore(Worklets): generalize scripts for more unpackers by @tjzel in #7966
  • fix: Missing serializable runtime tests file crash by @MatiPl01 in #8054
  • feat: Serializable docs by @skusnierz in #8043
  • feat(Worklets): replace _WORKLET with getRuntimeKind and __RUNTIME_KIND by @tjzel in #7641
  • docs(Worklets): getRuntimeKind by @tjzel in #8051
  • feat: scheduleOnRN by @skusnierz in #8050
  • feat(Worklets): Synchronizable by @tjzel in #7304
  • feat: scheduleOnRN docs by @skusnierz in #8058
  • fix(Worklets): scheduleOnRN tests by @skusnierz in #8085
  • feat: runOnUISync by @skusnierz in #8075
  • chore(Worklets): BundleMode patches for 0.81 by @tjzel in #8086
  • fix(Worklets): file name typo by @skusnierz in #8107
  • [ios][worklets] add explicit dependency on React-hermes by @chrfalch in #8120
  • feat: get static feature flags in JS by @tjzel in #8096
  • Fix static feature flags resolution on iOS by @tomekzaw in #8130
  • feat(Worklets): new docs design by @skusnierz in #8090
  • Event loop for worklet runtimes by @piaskowyk in #7928
  • Fix worklets version checking in runtime by @piaskowyk in #8146
  • fix(Worklets): podspec typo by @skusnierz in #8147
  • feat(Worklets): update getting-started docs page by @skusnierz in #8139
  • chore(Worklets): common compatibility source for docs and CI by @skusnierz in #8068
  • Event Loop for worklet runtimes - tests by @piaskowyk in #8055
  • Event Loop for worklet runtimes - rename test files by @piaskowyk in #8064
  • chore(Worklets): docs improvements by @skusnierz in #8141
  • feat(Worklets): scheduleOnUI by @skusnierz in #8124
  • chore(Worklets): temporary API for audio api integration by @tjzel in #8158
  • chore(Worklets): add missing tvos detection by @tjzel in #8169
  • release(Worklets): 0.5.0 by @tjzel in #8173

New Contributors

Full Changelog: worklets-0.4.0...worklets-0.5.0

Don't miss a new react-native-reanimated release

NewReleases is sending notifications on new releases.