SvelteKit 3.1.1

3.1.1
Fixed 9
  • Return a 400 response instead of throwing when `reroute` rewrites a malformed pathname
  • Restore function snapshots on reload when SSR is disabled
  • Prevent separate non-exported `query.batch` functions from sharing a batch
  • Reuse the original `fetch` across dev server reloads
  • Avoid adding a file watcher while loading `src/env`
  • Parse remote form submissions in linear time
Security 2
  • Prevent server-side route resolution from loading code from another origin for pathnames starting with `//`
  • Prevent server-only modules from being imported into browser code via `src/params.js`

From SvelteKit

Patch Changes
  • fix: return a 400 response instead of throwing when reroute rewrites a malformed pathname (1d21a3b)

  • fix: restore function snapshots on reload when SSR is disabled (#17477)

  • fix: prevent separate non-exported query.batch functions from sharing a batch (3529813)

  • fix: reuse the original fetch across dev server reloads (#17548)

  • fix: avoid adding a file watcher while loading src/env (#17502)

  • fix: parse remote form submissions in linear time (d593e7e)

  • fix: prevent server-side route resolution from loading code from another origin for pathnames starting with // (dd63fd1)

  • fix: preserve service worker sourcemaps when injecting env (#17566)

  • fix: prevent server-only modules from being imported into browser code via src/params.js (ae07803)

  • fix: avoid injecting a non-serializable TypeScript config callback by default (#17512)

  • fix: report actionable errors for remote modules in server-only locations (#17567)

View original

Upgraded? How did it go?

Discussion