- Allow adapters to provide additional Vite plugins
- Change `form.error` type from `any` to `App.Error | undefined`
- Disallow `*.remote.ts/js` files unless `experimental.remoteFunctions` is enabled
- Defer `query.refresh()` in server commands until after the command body completes
- Resolve service worker and `tsconfig.json` based on Vite `root` setting
- Populate `$app/env/*` dynamic variables in contexts that don't run the dev server, such as `vite-node`
- No longer throw "An impossible situation occurred" when a server-only module is imported by both server and client code
- Set `define` values on `globalThis` when running Vitest
- Serve `.ico` files with `image/x-icon` Content-Type
- Make `paths.origin` type looser
- Avoid client build warning about externalising `node:async_hooks`
- Allow reserved words (e.g. `delete`, `class`) as remote function export names
- Move tracing out of the experimental namespace and remove the instrumentation flag
- Remove `$app/stores`
- Remove param files in folder in favor of `params.js/ts` file
Major Changes
-
breaking: change
form.errortype fromanytoApp.Error | undefined(#16245) -
feat: allow adapters to provide additional Vite plugins (#16206)
-
breaking: move tracing out of the experimental namespace and remove the instrumentation flag (#16260)
-
breaking: remove
$app/stores(#15499) -
breaking: disallow
*.remote.ts/jsfiles unlessexperimental.remoteFunctionsis enabled (#16247) -
breaking: remove param files in folder in favor of
params.js/tsfile (#16189)
Patch Changes
-
fix: defer
query.refresh()in server commands until after the command body completes (#16225) -
fix: resolve service worker and
tsconfig.jsonbased on Viterootsetting (#16229) -
fix: populate
$app/env/*dynamic variables in contexts that don't run the dev server, such asvite-node(#16223) -
fix: no longer throw "An impossible situation occurred" when a server-only module is imported by both server and client code (#16257)
-
fix: set
definevalues onglobalThiswhen running Vitest (#16246) -
fix: serve
.icofiles withimage/x-iconContent-Type (#16234) -
fix: make
paths.origintype looser (#16215) -
fix: avoid client build warning about externalising
node:async_hooks(#16244) -
fix: allow reserved words (e.g.
delete,class) as remote function export names (#16264)