Skip to content

build(deps): bump @rive-app/canvas-single from 2.40.1 to 2.50.0 - #3243

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/main/rive-app/canvas-single-2.50.0
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/main/rive-app/canvas-single-2.50.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps @rive-app/canvas-single from 2.40.1 to 2.50.0.

Release notes

Sourced from @​rive-app/canvas-single's releases.

2.50.0

Features

Let scripts call fetch() on @rive-app/webgl2-threads

Scripts in Rive files can now make HTTP requests with fetch(), so a file can pull live data, such as prices, scores or images, without the host page wiring every value through data binding. (Change)

It is off by default. It works only in @rive-app/webgl2-threads running its threaded build, which needs a cross-origin isolated page. Elsewhere, enabling it logs one warning and does nothing. Requests never carry cookies, credentials, or a referrer, only https: URLs on public hosts are allowed, and this page's own host is blocked unless you name it. Limit where scripts may reach with allowedHosts, and optionally route requests through a proxy page on a cookie-less domain with proxyUrl.

import { RuntimeLoader } from "@rive-app/webgl2-threads";
RuntimeLoader.setScriptFetch({
// If you call through same origin, you must include the host here
allowedHosts: ["api.example.com"],
maxRequestsPerMinute: 60, // default; 0 is no limit
// Optional: provide a proxy URL the fetch() call goes through instead of through the direct page
// proxyUrl: "https://myproxyexample.com/rive-fetch-proxy"
});

Enabling it lets any script in any file the page loads send what it can read to the hosts it may reach, so keep allowedHosts as narrow as you can. This API is experimental and may continue to change as we refine the performance and edge cases.

Turn image bytes into an Image from a script

Scripts can now call context:loadImage(buffer) to decode encoded image bytes (for example, from fetch()) into an Image. They can draw it, or assign it to a view model image property, so a file can show a network image through a bound image. Bytes that don't decode reject the call. (Change)

Behavior changes

  • Image fills: A fill or stroke with an image used to draw its plain base colour when the image hadn't resolved: none chosen, cleared through data binding, not loaded yet, or an artboard image source that can't draw. It now draws nothing, like an image node with no asset. Files that relied on that base colour as a placeholder will render differently. (Change)

Fixes

  • Image fills on WebGL2 and Canvas: Previously, image fills on shapes and text drew as their flat base colour instead of the image. They now draw the image, including images swapped at runtime through a view model. (Fix, Fix)
  • Text with image fills: Previously, glyphs that a text modifier faded, and all text using a shared style, drew in the flat fill colour, and fading some glyphs shifted the image under the rest. Every glyph now shows the image, and the image now fits the text's layout box. (Fix)
  • Lists: Previously, a row stayed hovered after it scrolled out of a virtualized list or its item was removed, leaving a stale highlight or flag. Rows now get their pointer exit when the list stops showing them. (Fix)
  • State machines: Previously, reversing a transition with early exit jumped on its first frame. It now reverses smoothly from the blended pose. (Fix)
  • Layer masks: Previously, a layer mask over a nested artboard stayed frozen on its first frame while the nested content animated. It now follows the nested artboard. (Fix)
  • Layouts: Previously, a nested artboard inside a Solo option that became active after load laid out at zero size. It now fills its container. (Fix)
  • @rive-app/canvas-lite: Previously, inside and outside strokes crashed the canvas-lite runtime. They now draw as centered strokes. (Fix)

Performance

  • Layouts: Grid layouts are faster, and layout passes no longer allocate memory. (Change)
  • Lists and data binding: Large lists bound to shared view model values open, update, and tear down faster. Rows whose eased values have settled stop advancing every frame, and changing a value that every row reads now wakes far less work. (Change, Change, Change)
  • State machines: State changes no longer allocate memory, which cuts per-frame garbage in files that switch states often. (Change)
  • Feathered fills: Feathered fills that don't change are no longer reprocessed on every frame. (Change)
  • Scripting: Scripted files use less memory: idle script memory is returned to the system, and calls only touch the stack they use. (Change, Change)

... (truncated)

Changelog

Sourced from @​rive-app/canvas-single's changelog.

2.50.0 - 2026-11-09

Merged

Commits

  • chore: tag 2.50.0 f81a086
  • chore(downstream): advance submodule/refs 62f1a2f
  • chore(downstream): advance submodule/refs cd3a72e
  • chore(downstream): advance submodule/refs 52eacc7
  • chore(downstream): advance submodule/refs 696183e
  • chore(downstream): advance submodule/refs c9e52f9
  • chore(downstream): advance submodule/refs 980b511
  • chore(downstream): advance submodule/refs d7b6576
  • chore(downstream): advance submodule/refs 86e76c1
  • chore(downstream): advance submodule/refs a74e24d
  • chore(downstream): advance submodule/refs 7b3d62d
  • chore(downstream): advance submodule/refs 81b6a4a
  • chore(downstream): advance submodule/refs 8d58aac
  • chore(downstream): advance submodule/refs 7871c01
  • chore(downstream): advance submodule/refs f8980ce
  • chore(downstream): advance submodule/refs c8252c3
  • chore(downstream): advance submodule/refs a7796b0
  • chore(downstream): advance submodule/refs 421b6c8
  • chore(downstream): advance submodule/refs 20ba954
  • chore(downstream): advance submodule/refs a6b2029

... (truncated)

Commits
  • f81a086 chore: tag 2.50.0
  • 62f1a2f chore(downstream): advance submodule/refs
  • fd8d33b feat: integrate aws-sdk-cpp into peon_cpp_worker (#15568)
  • cd3a72e chore(downstream): advance submodule/refs
  • 35fd565 perf(runtime): bind each value a state machine's conditions read once (#15534)
  • 52eacc7 chore(downstream): advance submodule/refs
  • e8c331c feat(scripting): add loadImage to turn encoded bytes into an Image (#15445)
  • 696183e chore(downstream): advance submodule/refs
  • e81561e perf(scripting): give idle script memory back to the system (#15543)
  • c9e52f9 chore(downstream): advance submodule/refs
  • 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)

Bumps [@rive-app/canvas-single](https://github.com/rive-app/rive-wasm) from 2.40.1 to 2.50.0.
- [Release notes](https://github.com/rive-app/rive-wasm/releases)
- [Changelog](https://github.com/rive-app/rive-wasm/blob/master/CHANGELOG.md)
- [Commits](rive-app/rive-wasm@2.40.1...2.50.0)

---
updated-dependencies:
- dependency-name: "@rive-app/canvas-single"
  dependency-version: 2.50.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested review from a team and daxtheduck as code owners November 24, 2026 10:54
@dependabot dependabot Bot added dependencies Update one or more dependencies version minor Increment the minor version when merged labels Nov 24, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@github-actions

Copy link
Copy Markdown
Contributor

[Beta] Generated file diff

Time updated: Fri, 27 Nov 2026 09:00:31 GMT

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update one or more dependencies version minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant