diff --git a/.changeset/drop-usehead-reexport.md b/.changeset/drop-usehead-reexport.md deleted file mode 100644 index 329870c..0000000 --- a/.changeset/drop-usehead-reexport.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@solidjs/meta": patch ---- - -Drop the `useHead` / `HeadTag` re-exports. The primitive belongs to -`@solidjs/web` (a required peer) — import it from there. Keeping a second -import path for the identical function only invited confusion about whether -they differ. diff --git a/.changeset/fix-title-body-hydration-id-drift.md b/.changeset/fix-title-body-hydration-id-drift.md deleted file mode 100644 index 6c7a4fd..0000000 --- a/.changeset/fix-title-body-hydration-id-drift.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@solidjs/meta": patch ---- - -Fix hydration id drift from dynamic Title/Style/Script bodies - -Compiled JSX children (e.g. `Page {site()}`) can allocate a -computation when read. The head registry evaluates descriptor getters at -runtime-dependent points — the registry effect on the client, stream flush on -the server — so that allocation landed under different owners on each runtime -and drifted every hydration id assigned after it, breaking claims for content -rendered after the tag (most visibly under a streamed `Loading` boundary). - -`headTag` now pins the body in a memo created at registration, under the -component, at the same point on both runtimes; the descriptor getter is a pure -read. Adds an SSR -> hydrate parity harness covering sync, root-async, and -boundary-async Title bodies. diff --git a/.changeset/head-no-server-write.md b/.changeset/head-no-server-write.md deleted file mode 100644 index 54d3269..0000000 --- a/.changeset/head-no-server-write.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/meta": patch ---- - -`` no longer writes a signal during server render, so dev SSR stops logging `[SERVER_WRITE]` for every page that uses it (#80). The server reads the group's tags when its boundary flushes, so the write did nothing there. diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 59116c2..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "mode": "exit", - "tag": "next", - "initialVersions": { - "@solidjs/meta": "0.30.0-next.0" - }, - "changesets": [ - "drop-usehead-reexport", - "fix-title-body-hydration-id-drift", - "solid-meta-1-0", - "update-solid-rc-0" - ] -} diff --git a/.changeset/solid-export-condition.md b/.changeset/solid-export-condition.md deleted file mode 100644 index 6e28293..0000000 --- a/.changeset/solid-export-condition.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/meta": patch ---- - -Add a `solid` export condition so `@solidjs/vite-plugin` (through vitefu) bundles `@solidjs/meta` in SSR instead of leaving it external. Left external, Node loaded it against the production `solid-js` server build while the app ran on the dev build, and the two owner stacks threw `NoOwnerError` in dev SSR (#74). diff --git a/.changeset/solid-meta-1-0.md b/.changeset/solid-meta-1-0.md deleted file mode 100644 index 45b77d8..0000000 --- a/.changeset/solid-meta-1-0.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -"@solidjs/meta": major ---- - -Solid Meta 1.0: rebuilt as a thin layer over Solid 2.0's `useHead` primitive. - -- **Provider-less**: the head registry is ambient. `MetaProvider` and - `MetaContext` are gone — remove the wrapper and the `tags={[]}` SSR - plumbing; on the server, head tags are spliced into `` automatically - by `renderToString`/`renderToStream` (or collected via the `onHead` render - option). -- **New components**: `` groups its child tags into one replacement - set (several `og:image`s that override as a unit and restore on disposal); - `