Skip to content

Update dependency @sveltejs/adapter-netlify to 7.0.0-next.4 - #1008

Merged
Wituareard merged 3 commits into
mainfrom
chore/adapter-netlify-7-next
Jul 28, 2026
Merged

Update dependency @sveltejs/adapter-netlify to 7.0.0-next.4#1008
Wituareard merged 3 commits into
mainfrom
chore/adapter-netlify-7-next

Conversation

@Wituareard

@Wituareard Wituareard commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Pins @sveltejs/adapter-netlify to the 7.0.0-next.4 prerelease, and updates the edge function postbuild scripts for the new config format.

Rationale

  • The current 5.x line is stale and no longer maintained.
  • The latest 6.x release is broken.
  • SvelteKit is preparing for v3, so the maintainers are not publishing proper stable releases from their monorepo for the time being — fixes are only landing on the 7.0.0-next prerelease track.
  • Pinning to the exact prerelease (no caret) ensures pnpm install resolves 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.47.0.0-next.4 (pinned, no caret)

scripts/utils/utils.ts

Adapter-netlify v7 changed the output format:

  • Old (v5): .netlify/edge-functions/manifest.json with { version: 1, functions: [...] } and function name render
  • New (v7): .netlify/v1/config.json with { edge_functions: [...], headers: [...] } and function name sveltekit-render

Updated utils.ts to read/write the new config path and search for sveltekit-render instead of render. Functions renamed from readEdgeManifest/writeEdgeManifest to readEdgeConfig/writeEdgeConfig since the file is no longer called "manifest".

scripts/exclude-from-edge-function.ts / scripts/opt-in-to-caching.ts

Updated imports and local variables to use the new function names. Logic unchanged.

Notes

  • This is a major version jump (5 → 7) and a prerelease; please review carefully before merging.
  • Once 7.0.0 stable ships, consider switching back to a caret range (^7.0.0) so the existing Renovate grouping rules resume auto-tracking non-major updates.

@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploy Preview for pauseai ready!

Name Link
🔨 Latest commit 2f46dfa
🔍 Latest deploy log https://app.netlify.com/projects/pauseai/deploys/6a68a6143525a70008137d8c
😎 Deploy Preview https://deploy-preview-1008--pauseai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 59 (🟢 up 5 from production)
Accessibility: 91 (no change from production)
Best Practices: 100 (no change from production)
SEO: 82 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@Wituareard
Wituareard merged commit d12751b into main Jul 28, 2026
9 checks passed
@Wituareard
Wituareard deleted the chore/adapter-netlify-7-next branch July 28, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant