0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/.changeset/bump-solid-rc-16.md
Brenley Dueck acd08ef685
chore(solid): bump to solid-js 2.0.0-rc.16 and @solidjs/vite-plugin 3.0.0-next.51 (#8751)
* chore(solid): bump to solid-js 2.0.0-rc.15 and @solidjs/vite-plugin 3.0.0-next.50

Bump solid-js and @solidjs/web to ^2.0.0-rc.15 and @solidjs/vite-plugin
to ^3.0.0-next.50 across the monorepo, along with the webpack example's
@solidjs/babel-plugin, the @rsbuild/plugin-solid compiler overrides and
the Solid packages' peer floors. Bump @tanstack/solid-query to
^6.0.0-rc.5 and move @tanstack/solid-query-devtools off its exact rc.1
pin to ^6.0.0-rc.5, whose solid-js imports all exist in rc.15.

In rc.15 a parent render effect runs before the Outlet's DOM swap within
the same commit, so the persistent-observer test now samples the DOM at
the end of the commit instead of mid-flush.

* fix(solid-router): render Await children with streamed data during hydration

On the client, Await calls defer() on a promise that seroval has already
resolved, but defer() only records the result in a .then callback, so the
synchronous hydration pass read status 'pending' and passed undefined to
the children. rc.13 hid this by reusing the server DOM; rc.15 evaluates the
children's expressions and the route errored. Read seroval's synchronous
s/v markers while the deferred state is still pending.

* chore(solid): bump to solid-js 2.0.0-rc.16 and @solidjs/vite-plugin 3.0.0-next.51

@solidjs/vite-plugin 3.0.0-next.51 no longer adds a $$moduleUrl export to
SSR entry chunks (solidjs/solid-vite-plugin#423), which workerd rejected
in the basic-cloudflare e2e. It peer-requires solid-js rc.16, so the
runtime, babel plugin, rsbuild compiler overrides and peer floors move to
rc.16 too.

rc.16's solid-js dev build reads DEV from @solidjs/signals at load time,
so the vitest alias of @solidjs/signals to solid-js now resolves to a
circular import and every suite failed with "reading 'guideUrl'". Drop
the alias from solid-router and the search-validator-adapters example.

The lockfile keeps the base branch's Babel resolutions; letting pnpm
re-resolve them gave router-plugin two @babel/types copies.

* chore: restore e2e test-results files removed by accident
2026-10-21 16:43:13 -05:00

1.2 KiB

@tanstack/solid-router @tanstack/solid-router-devtools @tanstack/solid-router-ssr-query @tanstack/solid-start @tanstack/solid-start-client @tanstack/solid-start-server
patch patch patch patch patch patch

Bump solid-js and @solidjs/web to ^2.0.0-rc.16 and @solidjs/vite-plugin to ^3.0.0-next.51 across the monorepo (with @solidjs/babel-plugin 2.0.0-rc.16 for the webpack path and the @rsbuild/plugin-solid compiler overrides), and raise the Solid packages' solid-js / @solidjs/web peer floors to 2.0.0-rc.16. @solidjs/vite-plugin 3.0.0-next.51 peer-requires rc.16 and no longer adds a $$moduleUrl export to SSR entry chunks, which Cloudflare Workers rejected (solidjs/solid-vite-plugin#423).

Bump @tanstack/solid-query to ^6.0.0-rc.5 and move @tanstack/solid-query-devtools off its exact 6.0.0-rc.1 pin to ^6.0.0-rc.5; every solid-js export the rc.5 devtools import exists in rc.16.

<Await> no longer renders its children with undefined data while hydrating a streamed deferred promise. seroval has already settled the promise by then, but defer() only records the result in a .then callback, so <Await> now reads seroval's synchronous status markers when the deferred state is still pending.