Packages

@unhead/react

3.4.3 · 13 Oct 2026MIT222.9k / weekRepositoryHomepagenpmAtom feed

Upgrading @unhead/react From 2.0.1 to 3.4.3

60 releases in betweennotes for 55

Reading releases, release notes and advisories…

Other targets from 2.0.1Newest 2.x2.1.18
  1. 2.0.1yours
  2. 27 releases
  3. 2.1.11security
  4. 2.1.12security
  5. 5 releases
  6. 3.0.0major
  7. 24 releases
  8. 3.4.3target
  9. 13 pre
15+
changes to make
0
advisories fixed
52+
new
142+
fixes

Counted from 55 of 60 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

  • Harden prototype pollution

    2.1.12
  • Fixed XSS bypass in useHeadSafe via attribute name injection (GHSA-g5xx-pwrp-g3fv). Users handling untrusted input with useHeadSafe should upgrade immediately.

    2.1.11

Release by release

  1. 3.4.3

    13 Oct 20261 fix
    • Fixed

      eslint-plugin: Trim leftover space when defer fixer removes a mid-object property

  2. 3.4.2

    29 Sep 20261 fix
    • Fixed

      react: Keep initial head tags in the streamed shell

  3. 3.4.1

    15 Sep 20266 fixes
    • 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()

  4. 3.4.0

    21 Aug 20264 new · 6 fixes
    • 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

  5. 3.3.2

    13 Aug 20263 new · 1 fix
    • 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

  6. 3.3.1

    4 Aug 20261 fix
    • Fixed

      scripts: Support source-less SDK loaders

  7. 3.3.0

    Deprecation3 Aug 20269 fixes
    • 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

  8. 3.2.3

    22 Jul 20261 fix
    • Fixed

      schema-org: Keep logo on organization identity

14 other lines we could not sort, mostly version bumps
  • 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 ohash and defu dependencies

    3.0.0
  • renderDOMHead() / renderSSRHead() are now fully synchronous, single-pass via a composable resolveTags() pipeline; the head instance exposes a pluggable render() function for framework integrations (#619, #622, #628, #629, #630)

    3.0.0
  • @unhead/react/helmet drop-in compat export for users migrating from react-helmet

    3.0.0
  • useHeadSafe() now whitelists CSS styles

    3.0.0
  • useScript() consolidated back into core, legacy support dropped

    3.0.0
  • fediverse:creator meta tag support

    3.0.0
  • Switched from hookable to lighter HookableCore with sync-only hooks

    3.0.0
  • Deprecation warnings added to aliased packages (@unhead/schema, @unhead/shared)

    3.0.0

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.