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@solidjs/meta 222 changes
Breaking changes 9
The escape prop is removed; everything is escaped and text is applied via textContent.
Head tags no longer support event handlers.
The HeadTag re-export is dropped; the primitive belongs to @solidjs/web.
The head context is gone because the head registry is ambient.
Remove the provider wrapper; the head registry is ambient.
Requires solid-js and @solidjs/web ^2.0.0; Solid 1.x users should stay on @solidjs/meta 0.29.x.
Head tags no longer support ref.
On the server, head tags are spliced into <head> automatically during rendering.
The legacy useHead(TagDescription) shim and the package re-export are removed; use the core primitive from @solidjs/web.
New APIs and options 4
Groups child tags into one replacement set, which overrides as a unit and restores on disposal.
Adds key to override a head tag's identity.
Collect server-rendered head tags through the onHead render option.
Adds a component for JSON-LD and other head scripts.
Behavior and default changes 6
Client-dynamic Base is ignored with a development warning; Base is shell-only on the server.
Head tags are adopted during hydration without flicker.
The core registry deduplicates by identity, with last-committed-wins behavior and restoration on disposal.
Client-dynamic Meta charset is ignored with a development warning; it is shell-only on the server.
On the server, head tags are spliced into <head> automatically during streaming.
Adds a solid export condition so @solidjs/vite-plugin bundles @solidjs/meta in SSR instead of leaving it external.
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.
Pins dynamic Title, Style, and Script bodies in a memo at registration to keep hydration IDs aligned across server and client.
SSR head patches ride suspense reveals, making them streaming-correct.
@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.