npm / @takumi-rs/image-response
@takumi-rs/image-response
What changed in @takumi-rs/image-response 0.41 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
5 breaking11 new APIs and options3 behavior and defaults7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@takumi-rs/image-response 21 changes
Breaking changes 1
The /wasm subpath export is removed; import ImageResponse from @takumi-rs/image-response instead.
@takumi-rs/image-response 110 changes
Breaking changes 1
Import ImageResponse from takumi-js/response; takumi-js now selects the appropriate bindings for the runtime, such as Node.js or Workers.
New APIs and options 4
Adds the createImageResponse factory API.
Adds an emoji option to select the emoji provider. It defaults to twemoji; set it to from-font and include an emoji font in fonts to draw emoji from a font.
Adds the onError option.
Adds the ready promise.
Behavior and default changes 3
The Node.js and WASM runtimes no longer need to be selected; the WASM module is resolved automatically.
The fonts option can accept a function to avoid the singleton pattern.
The persistentImages option can accept a function to avoid the singleton pattern.
Fixes and other changes 2
Package export types are split by import/require condition so CJS consumers resolve .d.cts.
The core package is not resolved when a Workers or edge runtime is detected.
@takumi-rs/image-response 0.711 changes
New APIs and options 1
Adds a dithering option for smoother gradients.
@takumi-rs/image-response 0.682 changes
Fixes and other changes 2
ReadableStream construction now specifies type: "bytes".
Avoids duplicated init calls.
@takumi-rs/image-response 0.662 changes
Fixes and other changes 2
The
modulefield is not required whenrendereris provided.The wasm version no longer overrides the format field.
@takumi-rs/image-response 0.601 changes
Breaking changes 1
Defaults to webp when no format option is provided.
@takumi-rs/image-response 0.581 changes
New APIs and options 1
Adds the defaultStyles option to opt out of default styles.
@takumi-rs/image-response 0.502 changes
Breaking changes 1
initWasm was dropped.
New APIs and options 1
A module option was added.
@takumi-rs/image-response 0.492 changes
New APIs and options 2
Exports the initWasm method.
Exports the initWasmSync method.
@takumi-rs/image-response 0.451 changes
Breaking changes 1
The jsx options were removed.
@takumi-rs/image-response 0.431 changes
New APIs and options 1
Adds support for
jsxoptions to configurefromJsx.
@takumi-rs/image-response 0.421 changes
Fixes and other changes 1
Handles assets fetching for the WASM version.
@takumi-rs/image-response 0.411 changes
New APIs and options 1
Adds support for a WASM backend.