@unhead/react
3.4.3 · 13 Oct 2026MIT222.9k / weekRepositoryHomepagenpmAtom feed
Upgrading @unhead/react From 2.0.6 to 3.4.3
55 releases in betweennotes for 50
Reading releases, release notes and advisories…
- 15+
- changes to make
- 0
- advisories fixed
- 52+
- new
- 133+
- fixes
Counted from 50 of 55 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
Security
- 2.1.12
Harden prototype pollution
- 2.1.11
Fixed XSS bypass in useHeadSafe via attribute name injection (GHSA-g5xx-pwrp-g3fv). Users handling untrusted input with useHeadSafe should upgrade immediately.
Release by release
- Fixed
eslint-plugin: Trim leftover space when defer fixer removes a mid-object property
- Fixed
- Fixed
react: Keep initial head tags in the streamed shell
- Fixed
- Fixed
bundler: Inject resolved path for devtools runtime plugin
- Fixed
bundler: Render devtools payload after validation
- Fixed
unhead: Handle relative useScript warmup URLs
- Fixed
unhead: Resolve HTTP-prefixed relative canonical URLs
- Fixed
validate: Reduce warnings for normal Nuxt output
- Fixed
vite,stream: Support manifest-mode
transformIndexHtml()
- Fixed
- New
stream: Render Streamed Body Tags before body close
- New
validate: Flag streamed head tags that bots never see
- New
validate: Scope an instance with only and key
- New
stream: Render once per chunk, not once per entry
- New
- New
Keep runtime minification linear
- New
Reduce client and server bundle size
- New
Trim shared client and server code
- Fixed
Type origin-trial meta directive
- New
- Fixed
scripts: Support source-less SDK loaders
- Fixed
- Deprecated
validate: Warn on deprecated Twitter metadata
- Fixed
Minify declarative JSON script content
- Fixed
Support browsers without Object.hasOwn
- Fixed
react: Support Fragment children in Head
- Deprecated
- Fixed
schema-org: Keep logo on organization identity
- Fixed
14 other lines we could not sort, mostly version bumps
- 3.0.0
12 new nodes:
Dataset,MusicAlbum,MusicGroup,MusicPlaylist,MusicRecording,PodcastEpisode,PodcastSeason,PodcastSeries,Service,TVEpisode,TVSeason,TVSeries - 3.0.0
Graph resolution rewrite for correctness and performance
- 3.0.0
Removed
ohashanddefudependencies - 3.0.0
- 3.0.0
@unhead/react/helmetdrop-in compat export for users migrating fromreact-helmet - 3.0.0
useHeadSafe()now whitelists CSS styles - 3.0.0
useScript()consolidated back into core, legacy support dropped - 3.0.0
fediverse:creatormeta tag support - 3.0.0
Switched from
hookableto lighterHookableCorewith sync-only hooks - 3.0.0
Deprecation warnings added to aliased packages (
@unhead/schema,@unhead/shared)
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.