Skip to content

fix(deps): update dependency takumi-js to v2.19.0 - #425

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/takumi-js-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/takumi-js-2.x

Conversation

@renovate

@renovate renovate Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
takumi-js (source) 2.14.0 → 2.19.0 age confidence

Release Notes

kane50613/takumi (takumi-js)

v2.19.0

Render on the native backend under Nitro's !unwasm opt-in

A Nitro build with exportConditions: ["!unwasm"] picked @takumi-rs/core, but every request failed with TypeError: __exportAll is not a function. It now renders with the native addon, and the bun preset no longer bundles the WASM binary next to it.

Renderer.prepare fetches what a render needs ahead of it

renderer.prepare(source, options) styles an HTML string or node tree, fetches the images it draws, and loads the font subsets its text uses. render, renderSvg, and measure take the prepared source with only output options such as format. renderer.prepareAnimation(options) does the same for every scene of an animation, and renderAnimation takes its result. prepareImages from @takumi-rs/helpers is deprecated in favor of prepare.

takumi-js renders through prepare, so it fetches the images the styled tree draws. An image that css, a <style> element, or a ::before rule sets now renders, an image under display: none is no longer fetched, and a custom fetch now receives relative URLs such as /logo.png.

Parse HTML strings in Rust in every renderer

takumi-paint and takumi-pdf take HTML strings as @takumi-rs/core and @takumi-rs/wasm do, and takumi-pdf takes them for header and footer bands too. A renderAnimation scene can be an HTML string, its <style> rules applying to the animation. With emoji: "from-font", takumi-js hands HTML to the renderer instead of parsing it in JavaScript.

Font subsets load as a browser loads them

When fonts holds unicodeRange subsets, as googleFonts returns, a render now loads only the subsets that font matching reaches for each character, through that text's own font stack, weight, and style. With font-family: Inter, "Noto Sans JP", Latin text no longer loads Noto Sans JP's Latin subset, and a bold subset loads only when bold text uses it.

The text comes from the styled tree, so a subset needed only by a stylesheet's generated content, a list marker, text-transform, the text elements of an SVG image, or a takumi-pdf page counter now loads. collectCodepoints, LIST_MARKER_CHARACTERS, and subsetFonts are deprecated.

v2.18.1

Render without the images that fail to fetch

The images option of render() and ImageResponse now takes throwOnError. Set it to false and an image that fails to fetch, such as an emoji Twemoji has no image for, is left out instead of rejecting the whole render. It defaults to true, so existing renders behave as before.

v2.15.0

Measure elements with measure()

measure() lays out JSX, HTML, or a node tree without painting. It takes the same input and options as render().


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from e5dd7f3 to 94a7a8e Compare October 13, 2026 01:57
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.15.0 fix(deps): update dependency takumi-js to v2.15.1 Oct 13, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from 94a7a8e to 9cd93aa Compare October 13, 2026 10:50
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.15.1 fix(deps): update dependency takumi-js to v2.15.2 Oct 13, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from 9cd93aa to 4fbd12e Compare October 14, 2026 10:39
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.15.2 fix(deps): update dependency takumi-js to v2.16.0 Oct 14, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from 4fbd12e to 3764802 Compare October 14, 2026 15:58
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.16.0 fix(deps): update dependency takumi-js to v2.16.2 Oct 14, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from 3764802 to 06ff0f6 Compare October 16, 2026 17:13
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.16.2 fix(deps): update dependency takumi-js to v2.16.3 Oct 16, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from 06ff0f6 to cd43338 Compare October 19, 2026 10:29
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.16.3 fix(deps): update dependency takumi-js to v2.17.0 Oct 19, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from cd43338 to e44c201 Compare October 20, 2026 08:11
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.17.0 fix(deps): update dependency takumi-js to v2.17.1 Oct 20, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from e44c201 to 7e6c3d9 Compare October 25, 2026 09:14
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.17.1 fix(deps): update dependency takumi-js to v2.18.0 Oct 25, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from 7e6c3d9 to 8ba44c5 Compare October 25, 2026 13:14
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.18.0 fix(deps): update dependency takumi-js to v2.18.1 Oct 25, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from 8ba44c5 to aa3ad62 Compare October 26, 2026 21:30
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.18.1 fix(deps): update dependency takumi-js to v2.18.2 Oct 26, 2026
@renovate
renovate Bot force-pushed the renovate/takumi-js-2.x branch from aa3ad62 to 7d75995 Compare October 30, 2026 02:03
@renovate renovate Bot changed the title fix(deps): update dependency takumi-js to v2.18.2 fix(deps): update dependency takumi-js to v2.19.0 Oct 30, 2026

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants