github delucis/astro-og-canvas astro-og-canvas@0.10.0

7 days ago

Minor Changes

  • #119 151edd2 Thanks @delucis! - Makes OGImageRoute() asynchronous.

    ⚠️ BREAKING CHANGE: You must now await the result of OGImageRoute():

    import { OGImageRoute } from 'astro-og-canvas';
    
    - export const { getStaticPaths, GET } = OGImageRoute({
    + export const { getStaticPaths, GET } = await OGImageRoute({

Patch Changes

  • #119 151edd2 Thanks @delucis! - Fixes using the built-in getSlug() for OG images with format: "JPEG" or format: "WEBP"

Don't miss a new astro-og-canvas release

NewReleases is sending notifications on new releases.