Packages

@unhead/react

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

Upgrading @unhead/react From 2.1.18 to 3.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.1.18Latest3.4.3
  1. 2.1.18yours
  2. 3.0.0target
  3. 13 pre

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

Release by release

  1. 3.0.0

    Migration needed9 Apr 202625 new · 31 fixes
    • Breaking

      init hook removed

    • Breaking

      dom:renderTag, dom:rendered hooks deprecated (will be removed in v4)

    • Breaking

      dom:beforeRender is now synchronous (no async handlers)

    • Breaking

      PluginSchemaOrg / SchemaOrgUnheadPlugin replaced with UnheadSchemaOrg

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.