npm / astro-og-canvas
astro-og-canvas
What changed in astro-og-canvas 0.8 to 0.13, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
5 breaking2 new APIs and options1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initastro-og-canvas 0.132 changes
Breaking changes 1
The
paramoption to OGImageRoute() has been removed; remove it from your code.
Behavior and default changes 1
OGImageRoute() automatically detects the route parameter name from the image endpoint’s filename.
astro-og-canvas 0.121 changes
Fixes and other changes 1
Added support for Astro 7, allowing astro-og-canvas to be used with that Astro release.
astro-og-canvas 0.111 changes
Breaking changes 1
The minimum supported Node version is now 20.19.0.
astro-og-canvas 0.102 changes
Breaking changes 1
OGImageRoute() is now asynchronous, so you must await its result.
Fixes and other changes 1
Fixes using the built-in getSlug() for OG images with JPEG or WEBP formats.
astro-og-canvas 0.92 changes
Breaking changes 1
The page parameter in getSlug() and getImageOptions() is inferred from the value passed to pages instead of being typed as any, which may reveal type errors in existing code.
New APIs and options 1
The OGImageOptions type is now exported for developers to use.
astro-og-canvas 0.82 changes
Breaking changes 1
Official support for Astro 3 and 4 is dropped; use Astro 5 instead.
New APIs and options 1
Adds experimental support for Astro 6.