Skip to content

breaking: remove support for Cloudflare Pages - #17479

Open
teemingc wants to merge 8 commits into
claude/vite-cloudflare-adapter-settings-796704from
teemingc-remove-cloudflare-pages
Open

teemingc wants to merge 8 commits into
claude/vite-cloudflare-adapter-settings-796704from
teemingc-remove-cloudflare-pages

Conversation

@teemingc

@teemingc teemingc commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

closes #15060

stacked on #17503

We will eventually need to do this when Cloudflare officially sunsets Cloudflare Pages or when we add integration for the Cloudflare Vite plugin anyway. Doing it earlier will make the latter easier.

This PR:

  • removes the test app for cloudflare pages and related adapter code
  • changes the auto adapter to detect the Cloudflare Workers Builds environment instead
  • adds a check to the Cloudflare adapter to tell users to migrate to Cloudflare Workers

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

  • Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 555f536:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/555f53619c19890c834aaaa8ba201517c96569c2

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/17479

@svelte-docs-bot

Copy link
Copy Markdown

@teemingc teemingc changed the title TODO breaking: remove support for Cloudflare Pages Oct 16, 2026
@changeset-bot

changeset-bot Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 555f536

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@sveltejs/adapter-cloudflare Major
@sveltejs/adapter-auto Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@teemingc
teemingc marked this pull request as ready for review October 16, 2026 08:34
@teemingc teemingc added the needs-platform-tests This PR needs to run platform tests in order to merge. label Oct 16, 2026
@teemingc
teemingc force-pushed the teemingc-remove-cloudflare-pages branch from 682173b to 7203124 Compare October 22, 2026 07:50
@teemingc
teemingc changed the base branch from main to claude/vite-cloudflare-adapter-settings-796704 October 22, 2026 07:50
@teemingc
teemingc marked this pull request as draft October 23, 2026 03:34
@teemingc
teemingc marked this pull request as ready for review October 23, 2026 03:55

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change needs-platform-tests This PR needs to run platform tests in order to merge. pkg:adapter-cloudflare

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@sveltejs/adapter-auto not detecting Cloudflare Workers

2 participants