Releases: nuxt-modules/og-image
Releases · nuxt-modules/og-image
v3.0.2
🐞 Bug Fixes
- Fallback to
globalThis.$fetch
on event fetch failure - by @harlan-zw (9cf6d) - Apply flex-wrap to inline elements - by @harlan-zw (5df3a)
- Normalise options from all sources within nitro - by @harlan-zw (32894)
View changes on GitHub
v3.0.1
🐞 Bug Fixes
- Support fallback gray colors - by @harlan-zw (a7442)
- zeroRuntime: Revert removing island components - by @harlan-zw (b994b)
View changes on GitHub
v3.0.0
✨ Nuxt OG Image v3 is here!
Check out the v3 release page for the full details.
For migrating from v2, please see the migration guide
🚨 Breaking Changes
- Drop deprecated module config
siteUrl
,host
- by @harlan-zw (0df3f) - Remove hook
og-image:prerenderScreenshots
- by @harlan-zw (a7ee4) - Rebuild core - by @harlan-zw (6f3b7)
- Remove deprecated
defineOgImageDynamic
,defineOgImageStatic
- by @harlan-zw (6c1f3) - Remove deprecated
OgImageDynamic
andOgImageStatic
components - by @harlan-zw (850ca) - Remove
defineOgImageWithoutCache
,defineOgImageCached
- by @harlan-zw (7f22a) - Rename
runtimeBrowser
->runtimeChromium
- by @harlan-zw (41a16) - Rename default component
NuxtSeo
- by @harlan-zw (6052f) - Require explicit opt-in for inlining css - by @harlan-zw (23404)
- Improved rendering of inline elements - by @harlan-zw (3f52c)
- Serve prerendered images at
/__og-image__/static/*
- by @harlan-zw (71b59)
🚀 Features
- Improved Nuxt DevTools integration and layout - by @harlan-zw in #113 (477be)
- Modify resvg config with
resvgOptions
- by @harlan-zw (501ab) - Integrate with
@nuxt/content
- by @harlan-zw (80205) - Type safety with
defineOgImageComponent
- by @harlan-zw (9b3fe) - New component templates - by @harlan-zw (5ed9a)
- Og images with only
routeRules
- by @harlan-zw (54ff5) - Prerender all images through nitro - by @harlan-zw (f8c07)
- Experimental
sharp
support - by @harlan-zw (98cd0) - Generate
jpeg
screenshots by default - by @harlan-zw (7cb72) - Support any emoji set using iconify API - by @harlan-zw (0256d)
- Support any emoji set from Iconify - by @harlan-zw (a97d8)
- SWR caching with handled cache headers - by @harlan-zw (0b8aa)
- Implement default theme from
@nuxtjs/color-mode
- by @harlan-zw (89d31) - UnJS template - by @harlan-zw (79d57)
- Use
unocss
for inlining tw classes with config extending - by @harlan-zw (6d90e) - Support
fonts
option ondefineOgImage
- by @harlan-zw (0ae51) @css-inline
wasm - by @harlan-zw (578e1)cloudflare_module
support - by @bianpratama in #144 (aa026)Frame
community template - by @arashsheyda in #181 (72e8e)- Zero Runtime mode - by @harlan-zw (937e8)
- Zero Runtime mode - by @harlan-zw in #261 (14522)
- cloudflare: Optimize routes.json for prerendered og images - by @harlan-zw (a307a)
- devtools: New design - by @harlan-zw in #115 (a7ceb)
🐞 Bug Fixes
- Rework server paths - by @harlan-zw in #114 (345f7)
- Disable module if in SPA mode - by @harlan-zw (059b7)
- Prerender fonts - by @harlan-zw (906ab)
- Broken screenshot import - by @harlan-zw (ff10a)
- Disable wasm handling while prerendering - by @harlan-zw (bbe8b)
- Auto set wasm targetEnv for netlify-edge - by @harlan-zw (e0145)
- Always mock prerenderer - by @harlan-zw (75b5f)
- Wasm loading util - by @harlan-zw (b96b6)
- Re-enable css-inline - by @harlan-zw (dda96)
defineOgImage
better route rule merging andfalse
input - by @harlan-zw (a354d)- Only inline css for satori SVG - by @harlan-zw (08e64)
- Screenshots
jpg
->jpeg
- by @harlan-zw (7c34d) - Dedicated renderer debug function - by @harlan-zw (3d404)
- Avoid transforming absolute image URLs - by @harlan-zw (097a2)
- Allow
imageSize
to fail - by @harlan-zw (95cc0) - Cache html payloads between requests - by @harlan-zw (3fc4d)
- Allow non-page apps to work - by @harlan-zw (7cc25)
- Refresh on template change - by @harlan-zw (d0b7f)
- Stackblitz demo - by @harlan-zw (56a16)
- Allow empty props - by @harlan-zw (a0e0e)
- Skip fonts in stackblitz - by @harlan-zw (91ae2)
- Skip remote fonts in stackblitz - by @harlan-zw (70b71)
- Skip remote fonts in stackblitz - by @harlan-zw (851b8)
- Use Nitro Server Assets for Inter font - by @harlan-zw (278ce)
- Prerender cache, screenshots and img resolving - by @harlan-zw (96dfb)
- Nicer NuxtSeo component - by @harlan-zw (30343)
- Make sure we get font asset as buffer - by @harlan-zw (8f382)
- Only use server assets for stackblitz development / prerendering - by @harlan-zw (b1bdc)
- Drop sharp wasm binary dependency - by @harlan-zw (2fb2a)
- Assert
site.url
is set when prerendering - by @harlan-zw [(947e8)</...
v3.0.0-rc.69
🐞 Bug Fixes
- content:
- Normalise frontmatter component name - by @harlan-zw (f2184)
strictNuxtContentPaths
config - by @harlan-zw (2b7c6)
View changes on GitHub
v3.0.0-rc.68
v3.0.0-rc.67
🚨 Breaking Changes
- Improved rendering of inline elements - by @harlan-zw (3f52c)
- Serve prerendered images at
/__og-image__/static/*
- by @harlan-zw (71b59)
🚀 Features
- Zero Runtime mode - by @harlan-zw in #261 (14522)
- cloudflare: Optimize routes.json for prerendered og images - by @harlan-zw (a307a)
🐞 Bug Fixes
- Serve cached fonts when rendering html previews - by @harlan-zw (f77e0)
- Clear unused font caches on start - by @harlan-zw (bb918)
- Fallback to first og image component on failure - by @harlan-zw (3d70c)
- Import shared utils from alias paths - by @harlan-zw (887ee)
- stackblitz: Disable css-inline by default - by @harlan-zw (92187)
View changes on GitHub
v3.0.0-rc.66
🐞 Bug Fixes
- content: Exception when configuring ogImage from markdown files - by @harlan-zw (18bb3)
- templates: Text invisible on Nuxt SEO template with dark mode - by @harlan-zw (ec5d9)
View changes on GitHub
v3.0.0-rc.65
🐞 Bug Fixes
- Support
SERVER_PRESET
to detect env - by @harlan-zw (00d09) - Support computed getters and ref props - by @harlan-zw (675c0)
- Broken route rule extending - by @harlan-zw (f4e02)
- Warn on satori
.webp
usage - by @harlan-zw (0b66a) useNitroApp
build warnings - by @harlan-zw (551b8)- Check wasm file exists for checksum - by @harlan-zw (ca71c)
View changes on GitHub
v3.0.0-rc.64
🚨 Breaking Changes
To opt in simply require add the @css-inline/css-inline
dependency.
pnpm add -D @css-inline/css-inline
Additionally, if you're using edge rendering you may need to add the@css-inline/css-inline-wasm
dependency.
View changes on GitHub
v3.0.0-rc.63
No significant changes