unstale

npm / next-seo

next-seo

What changed in next-seo 5 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

18 breaking1 security6 new APIs and options1 behavior and defaults1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

next-seo 714 changes

Breaking changes 7

  • App Router components are used directly instead of with useAppDir={true}.

    7.0.0release notes

  • ArticleJsonLd uses author instead of authorName.

    7.0.0release notes

  • ArticleJsonLd uses headline instead of title for the article headline.

    7.0.0release notes

  • ArticleJsonLd uses image instead of images for the article image.

    7.0.0release notes

  • Publisher details are supplied as a publisher object instead of separate publisherName and publisherLogo props.

    7.0.0release notes

  • The Pages Router default SEO API is now a function rather than the DefaultSeo component.

    7.0.0release notes

  • The documented App Router placement changes from page.js to page.tsx/jsx.

    7.0.0release notes

Security 1

  • All JSON-LD components accept an optional nonce prop, forwarded to the rendered script tag for CSP compliance.

    7.3.0release notes

New APIs and options 5

  • Adds the aggregateRating prop, a direct Schema.org Organization property processed using shared utilities.

    7.2.0release notes

  • Adds the review prop, a direct Schema.org Organization property processed using shared utilities.

    7.2.0release notes

  • Adds a component for Schema.org HowTo structured data, supporting HowTo steps, sections, directions, tips, supplies, tools, ISO 8601 durations, cost, yield, and video.

    7.1.0release notes

  • Pages Router SEO is generated with a function from next-seo/pages and rendered inside next/head’s Head component, replacing the NextSeo component.

    7.0.0release notes

  • App Router usage now has built-in title support; the title prop was not required in v6.

    7.0.0release notes

Behavior and default changes 1

  • JSON-LD components were rebuilt to follow Google's structured data gallery specifications, with updated schemas, validation, error messages, and support for latest schema.org properties.

    7.0.0release notes

next-seo 64 changes

Breaking changes 3

  • In the app directory, migrate from the NextSeo component to Next.js's built-in generateMetaData method for standard metadata.

    6.0.0release notes

  • A fix changes how noindex and nofollow override each other; existing workarounds may have strange effects.

    6.0.0release notes

  • Add useAppDir={true} to JSON-LD components used in the app directory, and place the component in page.js rather than head.js.

    6.0.0release notes

New APIs and options 1

  • The product JSON-LD prop type gains a category property.

    6.0.0release notes

next-seo 59 changes

Breaking changes 8

  • BlogJsonLd is merged with ArticleJsonLd, changing how developers represent blog content.

    5.0.0release notes

  • The type prop was renamed to ofType.

    5.0.0release notes

  • The providerName prop is now moved to an object, changing the CourseJsonLd data shape.

    5.0.0release notes

  • The googlebot tag is no longer included by default, and props for disabling it have been removed.

    5.0.0release notes

  • The organizationType prop was renamed to type.

    5.0.0release notes

  • The author field within review is now a string.

    5.0.0release notes

  • QAPageJsonldProps was renamed to QAPageJsonLdProps.

    5.0.0release notes

  • The upvotedCount prop was renamed to upvoteCount in QAPageJsonLd.

    5.0.0release notes

Fixes and other changes 1

  • When og:title is not set, it now correctly inherits the title that is set.

    5.0.0release notes