Skip to content

deps(website): bump @takumi-rs/image-response from 1.0.0-rc.12 to 2.20.0 in /website - #268

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/website/takumi-rs/image-response-2.20.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/website/takumi-rs/image-response-2.20.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps @takumi-rs/image-response from 1.0.0-rc.12 to 2.20.0.

Release notes

Sourced from @​takumi-rs/image-response's releases.

takumi@2.20.0

  • takumi-js@2.20.0
  • @​takumi-rs/helpers@​2.20.0
  • @​takumi-rs/wasm@​2.20.0
  • @​takumi-rs/core@​2.20.0
  • @​takumi-rs/image-response@​2.20.0
  • takumi@2.20.0

registerFont registers one buffer again under another name, weight, style or unicodeRange

Passing the same data buffer to registerFont a second time with other descriptors used to return the first registration, so the new family or weight never existed. Each set of descriptors now registers its own face, as @font-face rules sharing one src do. A lazy font's key includes its unicodeRange too.

A unicodeRange subset without a glyph falls back to the next family again

A font in fonts whose unicodeRange claims a character it has no glyph for now hands that character on to the next family in the stack, as a browser does and as 0.18 did. Before, the render left the next family's subset unloaded. The PDF render then failed with "No registered font covers". That error now reads "No font the text can use draws", and suggests checking each font's unicodeRange and the font-family stack, because a registered font can have the glyph and still be out of reach.

A using block frees a renderer

Renderer, PdfRenderer and Painter implement Symbol.dispose, so using renderer = new Renderer() frees the renderer's WebAssembly memory when the block ends, as calling free() does.

prepare downloads the fonts @font-face rules load

An @font-face rule in css or a <style> element now loads its font in prepare, render, and ImageResponse. A src that fails to download falls back to the next one.

Load fonts from @font-face rules

With the font-face feature, on by default in takumi, @font-face rules add fonts to a render. needs reports the files the text uses in RenderNeeds::font_files. Pass each to Fonts::load_font_file, or to Fonts::fail_font_file to fall back to the next src.

takumi@2.19.0

  • @​takumi-rs/wasm@​2.19.0
  • @​takumi-rs/image-response@​2.19.0
  • @​takumi-rs/helpers@​2.19.0
  • takumi-js@2.19.0
  • @​takumi-rs/core@​2.19.0
  • takumi@2.19.0

Render on Nitro's bun preset instead of failing

Nitro's bun preset used to answer every request with a 500 and ENOENT ... _libs/@takumi-rs/[object WebAssembly.Module]. The WASM packages now load their binary through unwasm there, as they do on other Nitro presets.

Renderers take HTML directly

render, renderSvg, measure, and the WASM renderAsDataUrl accept an HTML string in place of a node tree. The markup is parsed in Rust, and the CSS of its <style> elements follows the css option. A <style> with a media attribute applies only where its query matches. takumi-html adds parse_html, which returns that CSS with the tree. fromHtml from @takumi-rs/helpers/html is deprecated in favor of passing the string and will be removed in v3.

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.

... (truncated)

Commits
  • ae2a350 Version Packages (#2438)
  • bf12b78 Core: add the pages content moved past the last page reaches (#2478)
  • 6f5e7e1 Count child blocks in line-clamp, and clamp by height with line-clamp: auto (...
  • 346ecd6 Core: route integer sorts through sort_by_key, and match cycle declarations b...
  • 9dc241b Core: clamp a negative line-height calculation to zero (#2489)
  • 2e47d4d Core: move the content after a line taller than a page below it (#2476)
  • 36ff6db PDF: draw a line on the page that shows it under a transform or a clip (#2474)
  • 94b7a42 Core, raster: take side offsets in positions, and crop an offset image at its...
  • 9548808 Core: propagate break values through unfragmented flex and grid item spaces (...
  • 3a8fdcf CI: alias master's pending docs as preview.takumi.kane.tw (#2487)
  • 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 [@takumi-rs/image-response](https://github.com/kane50613/takumi) from 1.0.0-rc.12 to 2.20.0.
- [Release notes](https://github.com/kane50613/takumi/releases)
- [Commits](https://github.com/kane50613/takumi/compare/@takumi-rs/image-response@1.0.0-rc.12...takumi@2.20.0)

---
updated-dependencies:
- dependency-name: "@takumi-rs/image-response"
  dependency-version: 2.20.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from 66HEX as a code owner November 16, 2026 03:24
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
frame-landing-page c508f31 Nov 16 2026, 03:25 AM

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 Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants