Release Notes
Major Changes
breaking: rename
Pathnametype toPathandAssettoAssetPath(#16430) breaking: remove leading/fromPathandAssetPathbreaking: write tsconfig to
node_modules/$app/tsconfig(#16458)breaking: error on
event.url,event.paramsandevent.routeaccess inside queries (#16452)breaking: delete
$service-workermodule (#16450)breaking: detect new deployments on data, remote, and form action responses, tab focus, and visibility change, and default
version.pollIntervalto 1 hour (#16496)
Minor Changes
feat: add
$app/manifestmodule withimmutable,assets,prerendered, androutesexports (#16372)feat: validate that all remote form fields were created with form.fields.foo.as(...) (#16331)
feat: make
$app/pathsimportable in service workers (#16441)feat:
$app/service-workermodule (#16458)feat: better tsconfig validation (#16458)
fix: default cookies to
securetofalseduring development (#16462)
Patch Changes
fix: allow
undefinedvalues to be passed to form field.as(...)where applicable (#15681)fix: include queries refreshed from within another query in the serialized response (#16461)
fix: generate sourcemaps for remote modules (#16440)
fix: avoid empty getElementById() call on hash routing navigation (#16448)
fix: warn if hook files are spelled as "hook" instead of "hooks" (#16483)
chore: deprecate the
aliasoption (#16470)fix: prevent infinite loops when server-side queries refresh each other in a cycle during the single-flight drain (#16461)
fix: populate
versionin service workers (#16434)fix: resolve remote modules as external during dev prebundling so packages can re-export remote functions (#16426)
fix: refetch route-tracking server data when navigating away from an error page (#16381)
fix: serialize
query(...).set(...)/query(...).refresh()values into the rendered HTML when called from within a query during SSR (#16461)fix: fall back to the page's form actions when a sibling endpoint has no POST handler (#16349)
fix: return a lightweight 404 instead of rendering the error page for subresource requests (#16463)
fix: preserve stripped path prefixes by making trailing-slash redirects relative (#16431)
chore: deduplicate type-stripping logic in
tweak_types(#16454)fix: more informative error message when running a command inside a query or prerender function (
eb5c973)