Nuxt SEO v2 Stable 🎉
This release has been almost two years in the making. Please read the Announcing Nuxt SEO Stable post to learn about the history of Nuxt SEO, what the stable means and what is planned for the module.
Ready to upgrade? Check out the migration guides:
Changelog
🚨 Breaking Changes
- No longer render default og:image, requires
defineOgImage()
- by @harlan-zw (f50ec) - No longer render default og:image, requires
defineOgImage()
- by @harlan-zw (5eac2) - Drop
nuxt-seo-ui
module - by @harlan-zw (cc7c5) - Migrate to
@nuxtjs/robots
- by @harlan-zw (991bf) - Bump
@nuxtjs/sitemap
v6 beta - by @harlan-zw (a6204) - Migrate core features to
nuxt-seo-utils
- by @harlan-zw (dd466)
🚀 Features
- Nuxt-seo-experiments - by @harlan-zw (2de57)
- Add
canonicalDomain
config - by @harlan-zw (1a6ce) - Support
identity
site config - by @harlan-zw (5a90e) - Support
twitter
site config - by @harlan-zw (807f7) - Support
currentLocale
site config - by @harlan-zw (47b2f) - Nuxt Simple Sitemap v4 - by @harlan-zw (578e5)
- Implement
fallbackTitle
as separate plugin - by @harlan-zw (eb3bc) useBreadcrumbItems()
- by @harlan-zw (1b5d8)- Nuxt Sitemap v5 - by @harlan-zw (b1e43)
canonicalQueryWhitelist
- by @harlan-zw in #282 (568c2)- Docs for v2 stable - by @harlan-zw in #338 (5ed69)
🐞 Bug Fixes
- Nav re-order - by @harlan-zw (5dae2)
- Misc kit bugs - by @harlan-zw (a1e98)
- Redirect to canonical domain in production by default - by @harlan-zw (ccbab)
- Prefer
useServerHead
for static head data - by @harlan-zw (ba518) - Drop fallback title support - by @harlan-zw (185b8)
- Only expose name and url from site config - by @harlan-zw (0585c)
- Drop fallback title support" - by @harlan-zw (6d00c)
- Use lower priority for nuxtseo defaults - by @harlan-zw (6fcf8)
- Only set description if set - by @harlan-zw (164a2)
- Tag priorities for nuxt.config overrides - by @harlan-zw (0f309)
- Tag priorities for nuxt.config overrides - by @harlan-zw (1cda3)
- Support
%siteName
param - by @harlan-zw (fb23e) - Give
<html lang="">
higher priority than nuxt.config - by @harlan-zw (c306a) - Provide all site config as template params and render client-side - by @harlan-zw (9560a)
- Update splash for beta - by @harlan-zw (8cd22)
- Nuxt-og-image 2.1.0 beta - by @harlan-zw (a7edb)
- Fallback to defaultLocale for
lang
attribute - by @harlan-zw (ce573) - Redirect canonical site url requires opt-in - by @harlan-zw (f0387)
- Remove Schema.org defaults, moved to
nuxt-schema-org
- by @harlan-zw (38514) - Enable
fallbackTitle
by default - by @harlan-zw (9e0a0) - Module exports - by @harlan-zw (44830)
- Safer version resolving - by @harlan-zw (66929)
- Redirect logic - by @harlan-zw (75ddb)
- Add
og:type
back in - by @harlan-zw (9dae0) - Apply trailingSlash config to
NuxtLink
component - by @harlan-zw (18793) - Don't apply default trailing slashes while upstream bug - by @harlan-zw (79d42)
- 2s timeout on update check, allow failure - by @harlan-zw (c34fe)
- Avoid using nuxt/ui types for breadcrumb item - by @harlan-zw (534f5)
- Explicitly import $fetch - by @harlan-zw (ca435)
- Only run version check in dev on stable branch - by @harlan-zw (b0dcd)
- Breadcrumb
to
optional - by @harlan-zw (48353) - Avoid running plugins in server components - by @harlan-zw (5c0c9)
- Ensure defaults are applied after i18n site config - by @harlan-zw (31f0d)
- Ensure breadcrumb schema.org paths are fully resolved - by @harlan-zw (09a4c)
- Opt in to
import.meta.*
properties - by @danielroe in #211 (0fad0) - Redirect using url config key - by @94726 in #256 (2f195)
- Disable splash by default - by @harlan-zw (840cf)
- Avoid infinite redirects with
redirectToCanonicalSiteUrl
redirects - by @harlan-zw (bac31) useBreadcrumbItems
generating invalid schema.org - by @harlan-zw (e321b)- Missing nuxt app context when using
useBreadcrumbItems
- by @harlan-zw (2005a) - Reactive
lang
when using Nuxt I18n - by @harlan-zw (58e4f) - Wait for i18n plugin, handle fallback - by @harlan-zw (81163)
useBreadcrumbItems
support static meta from dynamic routes - by @terion-name in #323 (d3895)- Avoid
og-image
andsitemap
version locks - by @harlan-zw (76b7e) - breadcrumbs:
- doc:
- Broken config key for robot user agents - by @harlan-zw (b76b2)
- useBreadcrumbItems:
- Avoid infinite recursion - by @harlan-zw (f6fd1)
- Enable schema.org by default - by @harlan-zw (6b0d7)
- Allow
overrides
,append
andprepend
- by @harlan-zw (a1d8b) - Ensure i18n prefix is correct - by @harlan-zw (919a2)
- Nuxt instance in computed - by @harlan-zw (c1696)
- Avoid route path becoming label - by @harlan-zw (bc1dc)
- Route meta regression - by @harlan-zw (f5a4d)