Skip to content

v5.1.0 - New fields

Latest

Choose a tag to compare

@ashhitch ashhitch released this 11 Aug 20:36
c672af5

What's Changed

Added

Per-object SEO fields (posts, terms, users)

  • robots object with noindex, nofollow, noarchive, noimageindex, nosnippet directives
  • analysis object with keywordScore, readabilityScore, inclusiveLanguageScore, linkCount, incomingLinkCount
  • opengraphLocale, opengraphFbAppId, opengraphEnabled
  • twitterCreator, twitterSite
  • relNext, relPrev pagination links
  • breadcrumbTitle, objectPublishedAt, objectLastModified, language, region per post/term
  • mastodon user social profile

Structured head JSON

  • head object with html and json fields alongside the existing fullHead HTML string
  • Matches Yoast's own REST /yoast/v1/get_head endpoint output for headless consumers

Global config gaps

  • meta.search with search results title
  • meta.author.noindex, meta.author.noindexNoPosts, meta.date.noindex
  • contentTypes.{type}.articleType (schema article type per post type)
  • social.mastodon global social profile
  • social.twitter.enabled, openGraph.enabled toggles
  • advanced block: siteType, environmentType, hasMultipleAuthors, xmlSitemapEnabled, indexNowEnabled, indexNowKey, contentAnalysisActive, keywordAnalysisActive, inclusiveLanguageAnalysisActive

Premium social-per-archive (Yoast SEO Premium)

  • SEOSocialArchive type with title, description, image
  • social field on content type archives, taxonomy archives, author archives, and date archives
  • Graceful fallback to null when Premium is inactive (detected via option-key presence)

Fixed

  • Cache YoastSEO()->meta->for_term() result in taxonomy resolver instead of calling it repeatedly (N+1 fix)

Full Changelog: v5.0.3...v5.1.0