SvelteKit (javascript)
Major Changes
-
chore: use
rolldownfor edge function bundling (#15432) -
breaking: populate env vars before
instrumentation.server.jsis evaluated and update the adapter instrumentation API (#16303) -
breaking: write output that conforms to the stable Netlify Frameworks API. (#15294)
Deploying and previewing with Netlify CLI now requires v17.31.0 or later. Run
npm i -g netlify-cli@latestto upgrade. -
breaking: write static files based on the
publishadapter option rather than reading thenetlify.tomlfile (#17078) -
breaking: require SvelteKit 3 (#15506)
-
breaking: edge function build target is now
es2022(#15432) -
breaking: require
vite@^8.0.12, the first Vite 8 release bundling stablerolldown1.0.0 (#16134) -
breaking: replace the
builder.generateManifestwithbuilder.generateServerInstanceandbuilder.manifest(#16875)
Minor Changes
- feat: support
splitandedgeoptions combined (#17045)
Patch Changes
-
chore: use
node:fsinstead of deprecatedbuilder.rimrafandbuilder.mkdirp(#16610) -
fix: correctly apply
rerouteresults for apps configured with split serverless functions (#16665) -
fix: ensure types for
platform.contextwork (#16255) -
fix: include
utils.jsin package.jsonfiles(#16298) -
chore: replace @netlify/functions with @netlify/types for the Context type (#16542)
-
fix: route requests with omitted optional parameters to split serverless functions (#17020)
-
fix: strip trailing slashes from prerendered paths in the edge function exclude list, so the root page is served statically when using a base path (#16788)
-
fix: copy
_redirectswhen deploying edge function (#17047) -
fix: provide distinct names for each split serverless function (#16667)
-
chore: bump
rolldownto 1.2.3 (#16745) -
fix: await
initon every request to prevent race condition (#16467) -
fix: import the generated manifest via
pathToFileURL, which handles special characters in the project path (#16649) -
chore: include edge function configuration in the function module (#17058)
-
chore: replace
@iarna/tomlwithsmol-toml(#16948) -
chore: bump Rolldown to
1.2.0(#16455) -
chore: identify serverless functions with a UUID instead of Netlify's function token (#17044)
-
fix: ensure serverless function files have unique names (#17049)
-
Updated dependencies: