unstale

npm / @solidjs/meta

@solidjs/meta

What changed in @solidjs/meta 0.29 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

9 breaking4 new APIs and options7 behavior and defaults3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@solidjs/meta 222 changes

Breaking changes 9

  • The escape prop is removed; everything is escaped and text is applied via textContent.

    2.0.0release notes

  • Head tags no longer support event handlers.

    2.0.0release notes

  • The HeadTag re-export is dropped; the primitive belongs to @solidjs/web.

    2.0.0release notes

  • The head context is gone because the head registry is ambient.

    2.0.0release notes

  • Remove the provider wrapper; the head registry is ambient.

    2.0.0release notes

  • Requires solid-js and @solidjs/web ^2.0.0; Solid 1.x users should stay on @solidjs/meta 0.29.x.

    2.0.0release notes

  • Head tags no longer support ref.

    2.0.0release notes

  • On the server, head tags are spliced into <head> automatically during rendering.

    2.0.0release notes

  • The legacy useHead(TagDescription) shim and the package re-export are removed; use the core primitive from @solidjs/web.

    2.0.0release notes

New APIs and options 4

  • Groups child tags into one replacement set, which overrides as a unit and restores on disposal.

    2.0.0release notes

  • Adds key to override a head tag's identity.

    2.0.0release notes

  • Collect server-rendered head tags through the onHead render option.

    2.0.0release notes

  • Adds a component for JSON-LD and other head scripts.

    2.0.0release notes

Behavior and default changes 6

  • Client-dynamic Base is ignored with a development warning; Base is shell-only on the server.

    2.0.0release notes

  • Head tags are adopted during hydration without flicker.

    2.0.0release notes

  • The core registry deduplicates by identity, with last-committed-wins behavior and restoration on disposal.

    2.0.0release notes

  • Client-dynamic Meta charset is ignored with a development warning; it is shell-only on the server.

    2.0.0release notes

  • On the server, head tags are spliced into <head> automatically during streaming.

    2.0.0release notes

  • Adds a solid export condition so @solidjs/vite-plugin bundles @solidjs/meta in SSR instead of leaving it external.

    2.0.0release notes

Fixes and other changes 3

  • No longer writes a signal during server render, stopping dev SSR from logging [SERVER_WRITE] for pages that use it.

    2.0.0release notes

  • Pins dynamic Title, Style, and Script bodies in a memo at registration to keep hydration IDs aligned across server and client.

    2.0.0release notes

  • SSR head patches ride suspense reveals, making them streaming-correct.

    2.0.0release notes

@solidjs/meta 0.291 changes

Behavior and default changes 1

  • Caps the solid-js peer range at ^1.8.4 so this 1.x line doesn't install against Solid 2.0; Solid 2 support is on the next tag.

    0.29.8release notes