Skip to content

chore: bump react-native-worklets from 0.12.2 to 0.13.0 in /example - #176

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/example/react-native-worklets-0.13.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/example/react-native-worklets-0.13.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Bumps react-native-worklets from 0.12.2 to 0.13.0.

Release notes

Sourced from react-native-worklets's releases.

Worklets - 0.13.0

Key changes

Networking on Worklet Runtimes in Bundle Mode

Worklet Runtimes created in Bundle Mode now ship a standalone networking module: XMLHttpRequest, Blob, FileReader, fetch (whatwg), Headers, Request, Response, FormData, AbortController and AbortSignal. It replaces the earlier networking preview and its FETCH_PREVIEW_ENABLED feature flag. createWorkletRuntime accepts a new enableNetworking option, which defaults to true and is forced off on runtimes without the Event Loop.

OXC port of the Worklets Babel plugin

The Worklets Babel plugin has a Rust port built on OXC for Bundle Mode. It is available as react-native-worklets/plugin-oxc/babel, with prebuilt binaries for macOS, Linux and Windows on x64 and arm64.

Fixed-type Synchronizable

createSynchronizable accepts a new fixedType option. A fixed-type Synchronizable holds a number or a boolean without serialization and exposes setDirty, a non-exclusive write that doesn't wait for other setDirty calls. On the C++ side Synchronizable is now an interface over std::variant values with a SynchronizableDynamic implementation, and several races on exotic architectors and lock leaks in the dynamic implementation are fixed.

Faster startup

The native side of WorkletsModule is created on a background thread as soon as the module is created, so installTurboModule only attaches it to the RN Runtime. In Bundle Mode the bundle is evaluated on the UI Worklet Runtime on a background thread while the RN Runtime evaluates it, instead of on the JS thread in start.

Hermes microtask queue on Worklet Runtimes

Worklet Runtimes use the built-in Hermes microtask queue instead of a custom JS implementation.

Removed SerializableInitializer (SerializableHandle)

... (truncated)

Changelog

Sourced from react-native-worklets's changelog.

0.13.0 — 2026-09-18

🛠 Breaking changes

  • Omit empty worklet closures and export closure-free worklets directly in Bundle Mode without factory wrappers. (#10517 by @​tshmieldev)
  • Store worklet closures as arrays instead of objects. (#10506 by @​tshmieldev)
  • Removed the networking preview together with its FETCH_PREVIEW_ENABLED feature flag. (#10250 by @​tjzel)
  • Remove the Serializable handle - SerializableInitializer, createSerializableInitializer and the __init clone path are gone. Serializable::ValueType::HandleType stays in the Compat Stable API enum for ABI compatibility and extractSerializable throws for it. (#10414 by @​tjzel)
  • makeShareable now serializes its value eagerly into a retaining Serializable instead of rebuilding it lazily on each runtime through a handle. (#10412 by @​tjzel)
  • Remove worklet context objects from the Babel plugin. (#10411 by @​tjzel)
  • Change the C++ Synchronizable interface to operate on std::variant values. Getters return a Serializable, a double or a bool, and setBlocking takes either a Serializable or a plain value. (#10294 by @​tjzel)
  • Add virtual setDirty to the C++ Synchronizable interface. SynchronizableDynamic throws from it. (#10295 by @​tjzel)

🎉 New features

  • Add iOS Swift Package Manager support via Package.swift and SPM integration metadata in react-native.config.js. (#10472 by @​kacperzolkiewski)
  • Add a standalone networking module for Worklet Runtimes in Bundle Mode, with XMLHttpRequest for text and arraybuffer responses. (#10493 by @​tjzel)
  • Add Blob and FileReader to the Worklets networking module, and blob and arraybuffer response types to XMLHttpRequest. (#10494 by @​tjzel)
  • Add fetch, Headers, Request and Response to the Worklets networking module, backed by whatwg-fetch. (#10495 by @​tjzel)
  • Add FormData to the Worklets networking module, with multipart encoding done in JavaScript. (#10496 by @​tjzel)
  • Add AbortController and AbortSignal to the Worklets networking module. (#10497 by @​tjzel)
  • Add the enableNetworking option to createWorkletRuntime. It defaults to true and is forced off on runtimes without the Event Loop. (#10498 by @​tjzel)
  • Per-runtime caching for RetainingSerializable. (#10264 by @​tshmieldev)
  • Add isOnUIThread to the Worklets Stable API. (#10265 by @​bartlomiejbloniarz)
  • Add the fast-path fixedType option to createSynchronizable. A fixed-type Synchronizable holds a number or a boolean without serialization and exposes setDirty, a non-exclusive write that doesn't wait for other setDirty calls. (#10296 by @​tjzel)
  • The Babel plugin treats navigator as a known global: worklets resolve it on their own runtime instead of capturing the main runtime's object by closure. (#10364 by @​wcandillon)
  • Add an OXC port of the Babel plugin for Bundle Mode. (#9518 by @​tshmieldev)
  • Add getCurrentThreadId as public JavaScript API. (#10441 by @​tjzel)
  • Autoworkletize the fourth argument of withTiming and withSpring. (#10467 by @​piaskowyk)
  • Ship the OXC Worklets plugin as react-native-worklets/plugin-oxc/babel, with prebuilt binaries for macOS, Linux and Windows on x64 and arm64. (#10608 by @​tshmieldev)

🐛 Bug fixes

  • Abort the pending jobs of a Worklet Runtime's async queue and event loop from its destructor while the runtime lock is held, so the JSI handles they capture are no longer destroyed on an unrelated thread or under the queue mutex. (#10580 by @​tjzel)
  • Native methods on the Worklets module proxy read missing trailing arguments as undefined again instead of throwing, which broke runOnRuntimeSync and scheduleOnRuntime on guest runtimes in Legacy Eval mode. (#10593 by @​bartlomiejbloniarz)
  • Acquire the runtime mutex before destroying a Worklet Runtime so a synchronous call in flight on another thread finishes first. (#10550 by @​tjzel)
  • Destroy discarded results of synchronous worklet calls while the runtime lock is still held. (#10552 by @​tjzel)
  • Include the React Native version macros through <React/Utils.h> when it is available, so cxxreact/ReactNativeVersion.h deprecated on React Native main no longer breaks the build. (#10536 by @​tshmieldev)
  • Fix a crash on Android when the React instance is recreated while animations are running - AnimationFrameQueue kept delivering frames after WorkletsModule was invalidated. (#10278 by @​shubhamdeol)
  • Stop AnimationFrameQueue from dispatching the rest of a frame batch when WorkletsModule is invalidated from inside a frame callback. (#10464 by @​tjzel)
  • Fix a data race between getDirty and setBlocking on a Synchronizable - the pointer holding the value is now read and written atomically. (#10292 by @​tjzel)
  • Fix setBlocking leaving a Synchronizable locked forever in development builds when the updater function or the serializer throws. (#10331 by @​tjzel)
  • Compare the Synchronizable's imperative lock owner with std::thread::id instead of comparing pthread_t with ==, which POSIX doesn't define. (#10349 by @​tjzel)
  • Added an umbrella header for removed Serializable.h file for backwards compatibility with Expo. (#10390 by @​tjzel)
  • Fix the umbrella Serializable.h header including a non-existent RetainableSerializable.h instead of RetainingSerializable.h, which made the header fail to compile. (#10406 by @​tjzel)
  • Fix build error when Bundle Mode worklet captures JSX name. (#10409 by @​tshmieldev)
  • Fix ReferenceError when a worklet file assigns to module.exports. (#10408 by @​tshmieldev)
  • Stop workletizing getters, setters and constructors. (#10421 by @​tshmieldev)
  • Fix a crash when serializing objects with a __proto__ key. (#10451 by @​tshmieldev)
  • Fix ./gradlew app:build failing on :lintAnalyzeDebug with a K2 UAST crash on .gradle.kts build scripts - all lint tasks are now skipped, not only lintVital*. (#10448 by @​tshmieldev)

... (truncated)

Commits
  • 4a9824a release(Worklets): 0.13.0 (#10598)
  • 20294e0 chore(Worklets): publishing oxc plugin binaries (#10608)
  • 2ac9b70 fix(Worklets): abort pending jobs under the runtime lock on teardown (#10580)
  • ac25b2a chore: upgrade React Native to 0.88.0-rc.1 (#10582)
  • 5e86a3e fix(Worklets): pad missing native method arguments with undefined (#10593)
  • 56dc4b2 feat(Worklets): add the enableNetworking runtime option (#10498)
  • f29f876 feat(Worklets): add AbortController to the networking module (#10497)
  • deccb3a feat(Worklets): add FormData to the networking module (#10496)
  • 88f8476 feat(Worklets): add fetch to the networking module (#10495)
  • 3e11464 feat(Worklets): add Blob and FileReader to the networking module (#10494)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Bumps [react-native-worklets](https://github.com/software-mansion/react-native-reanimated/tree/HEAD/packages/react-native-worklets) from 0.12.2 to 0.13.0.
- [Release notes](https://github.com/software-mansion/react-native-reanimated/releases)
- [Changelog](https://github.com/software-mansion/react-native-reanimated/blob/main/packages/react-native-worklets/CHANGELOG.md)
- [Commits](https://github.com/software-mansion/react-native-reanimated/commits/worklets-0.13.0/packages/react-native-worklets)

---
updated-dependencies:
- dependency-name: react-native-worklets
  dependency-version: 0.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Dependency updates javascript Pull requests that update javascript code labels Sep 25, 2026
@dependabot dependabot Bot added dependencies Dependency updates javascript Pull requests that update javascript code labels Sep 25, 2026
@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 4eba5192-c691-4a5a-b862-6ac64b150e33

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

React Doctor found 2 issues in 2 files · 1 error & 1 warning · score 80 / 100 (Needs work) · full project

Errors

1 warning

src/components/MapView.tsx

  • ⚠️ L49 React function has high control-flow complexity no-high-complexity-react-function

Reviewed by React Doctor for commit b5217f0. See inline comments for fixes.

@jkasprzyk17

Copy link
Copy Markdown
Contributor

Duplicate of #173 without the bun.lock change. Dependabot also scanned /example, which has no lockfile of its own, so this copy fails bun install --frozen-lockfile in every job. #195 makes Dependabot scan only the root.

@dependabot @github

dependabot Bot commented on behalf of github Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/bun/example/react-native-worklets-0.13.0 branch September 28, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant