Immutable
release. Only release title and notes can be modified.
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-parserRuntime-only Unhead projects and builds with Rolldown installed need no change.
🚨 Breaking Changes
- bundler: Make oxc-parser an optional peer - by @danielroe in #923 (7acca)
🚀 Features
- bundler: Transpile static inline scripts for Vite targets - by @harlan-zw in #862 (cb7d0)
- validate: Warn on deprecated Twitter metadata - by @harlan-zw in #910 (68a50)
🐞 Bug Fixes
- Minify declarative JSON script content - by @harlan-zw in #874 (bf71e)
- Support browsers without Object.hasOwn - by @harlan-zw in #891 (90f38)
- react:
- Support Fragment children in Head - by @harlan-zw in #892 (7dd26)
- Preserve Helmet default title fallback - by @harlan-zw in #878 (e317a)
- Normalize Head JSX props - by @harlan-zw in #893 (8ce0e)
- Standardize provider instance prop - by @harlan-zw in #879 (7d2dc)
- Support raw content in Head - by @harlan-zw in #894 (d0501)
- schema-org:
- Google rich result parity - by @harlan-zw in #919 (a9a8e)
- Missing Google rich result fields - by @harlan-zw in #920 (a58d4)
- Apply defaults when node type is absent - by @harlan-zw in #924 (0a796)
- scripts:
- Keep one stable proxy across script load - by @harlan-zw in #925 (dbefa)
- types:
- Support document speculation rules - by @harlan-zw in #873 (2ce44)
- Narrow unpackMeta return type - by @harlan-zw in #889 (d9600)
- unhead:
- Render fresh server head into DOM - by @harlan-zw in #877 (becce)
- Dedupe scalar Open Graph and Twitter metadata - by @harlan-zw in #880 (72d98)
- Preserve numeric zero head content - by @harlan-zw in #885 (324df)
- validate:
- Warn on too many prefetch's - by @harlan-zw in #895 (30a2f)
- Validate head input shapes - by @harlan-zw in #884 (9d7fa)
- vue:
- Reject ignored server prop resolvers - by @harlan-zw in #876 (a834e)
🏎 Performance
- bundler:
- Make Vite DevTools kit optional - by @harlan-zw in #911 (d9b3d)
- Reuse Rolldown parser when available - by @harlan-zw in #916 (bddfd)