You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(solid): bump to solid-js 2.0.0-rc.4 and @solidjs/vite-plugin 3.0.0-next.35 (#8189)
* chore(solid): bump to solid-js 2.0.0-rc.4 and @solidjs/vite-plugin 3.0.0-next.35
Also:
- Migrate the webpack example and docs off the deleted babel-preset-solid
onto @solidjs/babel-plugin (compiler packages were renamed in rc.3).
- Bump @rsbuild/plugin-solid to ^2.0.0-beta.2 so the rsbuild path compiles
with the rc-line preset.
- Adapt the server function transport to rc.4: function ids resolve from
the request url pathname (X-Server-Function header removed), and the
client reference derives its url from the configured endpoint.
- Wire per-call AbortSignals through Solid's new invoke() channel and
re-enable the previously skipped abort e2e tests.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(solid-start): rc.4 CI fallout — rsbuild native loader ssr mode, benchmark wire protocol
- @rsbuild/plugin-solid >= 2.0.0-beta.1 compiles through its own solid
loader (native compiler) instead of registering babel-preset-solid, so
the babel preset patch never fired and node-target rsbuild bundles were
compiled in dom mode, throwing "Client-only API called on the server
side" at import. Patch the loader's solid options (generate ssr on
node targets, hydratable) alongside the legacy preset patch.
- The benchmark server-function request builders still spoke the pre-rc.4
wire protocol (id in the removed X-Server-Function-Id header, bare
endpoint url). Ids now ride the url pathname.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore(solid): bump @tanstack/solid-query to 6.0.0-rc.1
The rc.1 adapter is rewritten onto Solid 2.0's native async model
(TanStack/query#11308) and peer-requires solid-js >=2.0.0-rc.4, so it
rides this branch's rc.4 bump. Catalog entry plus the non-catalogued
solid-query-devtools pins move in lockstep.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Patch @rsbuild/plugin-solid's native `solid` loader options for SSR builds. Since 2.0.0-beta.1 the plugin compiles through its own loader (native compiler by default) instead of registering babel-preset-solid, so the babel preset patch never fired and node-target bundles were compiled in dom mode, crashing at import with "Client-only API called on the server side". The rsbuild start plugin now patches the loader's `solid` options (`generate: 'ssr'` on node targets, `hydratable: true`) alongside the legacy babel preset patch.
Support per-call AbortSignals for Solid server functions. solid-js 2.0.0-rc.4 added the per-call invocation channel (`invoke(fn, { signal }, ...args)`) and moved server function id resolution from the `X-Server-Function` header to the request url pathname; the client rpc now rides that channel when a `signal` is passed to a server function, and the server handler resolves/normalizes ids via the url. The previously skipped abort e2e tests are re-enabled.
0 commit comments