Update dependency @sveltejs/adapter-netlify to 7.0.0-next.4 - #1008
Merged
Conversation
✅ Deploy Preview for pauseai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Pins
@sveltejs/adapter-netlifyto the7.0.0-next.4prerelease, and updates the edge function postbuild scripts for the new config format.Rationale
5.xline is stale and no longer maintained.6.xrelease is broken.7.0.0-nextprerelease track.pnpm installresolves to exactly this version and Renovate surfaces every subsequent bump on the dependency dashboard for manual review rather than auto-grouping it.Changes
package.json/pnpm-lock.yaml@sveltejs/adapter-netlify^5.2.4→7.0.0-next.4(pinned, no caret)scripts/utils/utils.tsAdapter-netlify v7 changed the output format:
.netlify/edge-functions/manifest.jsonwith{ version: 1, functions: [...] }and function namerender.netlify/v1/config.jsonwith{ edge_functions: [...], headers: [...] }and function namesveltekit-renderUpdated
utils.tsto read/write the new config path and search forsveltekit-renderinstead ofrender. Functions renamed fromreadEdgeManifest/writeEdgeManifesttoreadEdgeConfig/writeEdgeConfigsince the file is no longer called "manifest".scripts/exclude-from-edge-function.ts/scripts/opt-in-to-caching.tsUpdated imports and local variables to use the new function names. Logic unchanged.
Notes
7.0.0stable ships, consider switching back to a caret range (^7.0.0) so the existing Renovate grouping rules resume auto-tracking non-major updates.