@unhead/schema
3.4.3 · 13 Oct 2026MIT930.4k / weekRepositoryHomepagenpmAtom feed
3.4.3 is the newest release of 3.x.
In short
1 breaking1 deprecated1 new2 faster19 fixed
- Breaking
bundler: Make oxc-parser an optional peer
- Deprecated
validate: Warn on deprecated Twitter metadata
Release note
Projects using the Unhead Bundler with Vite 6 or 7, webpack, Rspack, Rollup, or another build without Rolldown no longer receive oxc-parser from @unhead/bundler. Builds that use Unhead transforms must install it directly.
Migration
pnpm add -D oxc-parser
Runtime-only Unhead projects and builds with Rolldown installed need no change.
Breaking Changes
- Breaking
bundler: Make oxc-parser an optional peer
Features
bundler: Transpile static inline scripts for Vite targets
- Deprecated
validate: Warn on deprecated Twitter metadata
Bug Fixes
Minify declarative JSON script content
Support browsers without Object.hasOwn
react: Support Fragment children in Head
react: Preserve Helmet default title fallback
react: Normalize Head JSX props
react: Standardize provider instance prop
react: Support raw content in Head
schema-org: Google rich result parity
schema-org: Missing Google rich result fields
schema-org: Apply defaults when node type is absent
scripts: Keep one stable proxy across script load
types: Support document speculation rules
types: Narrow unpackMeta return type
unhead: Render fresh server head into DOM
unhead: Dedupe scalar Open Graph and Twitter metadata
unhead: Preserve numeric zero head content
validate: Warn on too many prefetch's
validate: Validate head input shapes
vue: Reject ignored server prop resolvers
Performance
bundler: Make Vite DevTools kit optional
bundler: Reuse Rolldown parser when available
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.