Repository navigation
Ridu v0.16.2
Ridu 0.16.2
This patch lets @riducms/sveltekit run in SvelteKit 3 applications as well as SvelteKit 2.
Fixes
@riducms/sveltekitfailed to type-check in a SvelteKit 3 application. It imported theHandle
type from@sveltejs/kit, which SvelteKit 3 exports only from@sveltejs/kit/hooks, and read
browserfrom$app/environment, which SvelteKit 3 deprecates and ships no types for.
createRiduHandlenow returns aRiduHandlethat both versions accept as aHandle, so it
still composes withsequence. The package reads the browser flag fromesm-env, which
$app/environmentre-exports in SvelteKit 2. The peer range is now
^2.20.0 || ^3.0.0.- The SvelteKit guide shows how a SvelteKit 3 application declares the Ridu URL in
src/env.ts,
and wheresequenceandHandlecome from.
Upgrade
Update the Go module and all Ridu npm packages to 0.16.2 together and rebuild with the matching CLI.
This patch changes no Go APIs, manifest or protocol versions, plugin contracts, migration
planners, or database layouts. @riducms/sveltekit adds esm-env as a dependency. SvelteKit 2
applications need no changes.