Skip to content

Conversation

@petebacondarwin
Copy link
Contributor

Just #11176 but on the cloudflare org for easier testing.

Fixes [DEVX-2229]

This PR is mostly based on and supersedes #10848, but I've not stacked them because it includes updates from main to resolve conflicts. My changes are all in 8641dc6 so you may want to review that specifically.

Adds a check to ensure that the locally-installed version of wrangler meets the peer dependency requirements of the Vite plugin. This is required because of package managers with lax enforcement of peerdep ranges, which isn't acceptable for us as it can cause breakages.


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: internal fix
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: not Wrangler

petebacondarwin and others added 12 commits November 13, 2025 11:46
This change delays confusing "missing export" failures to allow us to run a more user friendly version skew check, for when the user installs a version of Wrangler that breaks the plugin
…being used internally is correct

This is necessary because some package managers will incorrectly merge peer dependencies with actual dependencies (often ignoring peer dependency constraints).
@petebacondarwin petebacondarwin requested a review from a team as a code owner November 13, 2025 13:38
@petebacondarwin petebacondarwin requested a review from a team November 13, 2025 13:38
@changeset-bot
Copy link

changeset-bot bot commented Nov 13, 2025

🦋 Changeset detected

Latest commit: c890500

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

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 13, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@11265

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@11265

miniflare

npm i https://pkg.pr.new/miniflare@11265

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@11265

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@11265

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@11265

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@11265

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@11265

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@11265

wrangler

npm i https://pkg.pr.new/wrangler@11265

commit: 00ec8c7

@petebacondarwin petebacondarwin marked this pull request as draft November 13, 2025 16:31
vicb and others added 9 commits November 14, 2025 11:20
* Avoid using object lookup for OAuth Error classes

* fixup! Avoid using object lookup for OAuth Error classes
* feat: add streaming tail consumer configuration support

Implement [[streaming_tail_consumer]] configuration similar to tail_consumer,
sending to streamingTails instead of tails. Includes:

- Configuration schema and validation for streaming_tail_consumers
- Miniflare integration with streamingTails support
- Development and deployment workflow updates
- Print bindings integration for CLI output
- Comprehensive test coverage

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* fixups

* Create clever-eggs-sit.md

* fix types

* Work in Vite + Vitest

* fix tests

* Add E2E test

* Address comments

---------

Co-authored-by: Claude <[email protected]>
Co-authored-by: Samuel Macleod <[email protected]>
Co-authored-by: Somhairle MacLeòid <[email protected]>
* Support the WRANGLER_HIDE_BANNER environment variable across Wrangler & C3

* Reduce C3 framework test timeout. Previously it was 25 mins, now it should be 3 mins

* Remove dev server from C3 command. To make this consistent across frameworks we were injecting extra dev commands into package.json files, which meant that generated C3 projects often had both a `start` and a `develop` script.

* Reduce logging in package-manager detection

* Expand autoconfig & use it in C3 for gatsby

* Expand framework configuration and support dry-running

* Address comments

* Address comments

* longer timeout 😢
…rameworks (#11013)

* [C3] Bump sv in /packages/create-cloudflare/src/frameworks

Bumps [sv](https://github.com/sveltejs/cli/tree/HEAD/packages/cli) from 0.9.8 to 0.9.9.
- [Release notes](https://github.com/sveltejs/cli/releases)
- [Changelog](https://github.com/sveltejs/cli/blob/main/packages/cli/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/cli/commits/[email protected]/packages/cli)

---
updated-dependencies:
- dependency-name: sv
  dependency-version: 0.9.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: update dependencies of "create-cloudflare" package

The following dependency versions have been updated:

| Dependency | From  | To    |
| ---------- | ----- | ----- |
| sv         | 0.9.8 | 0.9.9 |

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wrangler automated PR updater <[email protected]>
…loudflare/src/frameworks (#11015)

* [C3] Bump create-docusaurus

Bumps [create-docusaurus](https://github.com/facebook/docusaurus/tree/HEAD/packages/create-docusaurus) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.9.2/packages/create-docusaurus)

---
updated-dependencies:
- dependency-name: create-docusaurus
  dependency-version: 3.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: update dependencies of "create-cloudflare" package

The following dependency versions have been updated:

| Dependency        | From  | To    |
| ----------------- | ----- | ----- |
| create-docusaurus | 3.9.1 | 3.9.2 |

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wrangler automated PR updater <[email protected]>
* Ensure process.on(exit) listeners are only added once

* Add changeset
vicb and others added 8 commits November 14, 2025 11:20
…rc/frameworks (#11222)

* [C3] Bump nuxi in /packages/create-cloudflare/src/frameworks

Bumps [nuxi](https://github.com/nuxt/cli/tree/HEAD/packages/nuxi) from 3.29.3 to 3.30.0.
- [Release notes](https://github.com/nuxt/cli/releases)
- [Commits](https://github.com/nuxt/cli/commits/v3.30.0/packages/nuxi)

---
updated-dependencies:
- dependency-name: nuxi
  dependency-version: 3.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: update dependencies of "create-cloudflare" package

The following dependency versions have been updated:

| Dependency | From   | To     |
| ---------- | ------ | ------ |
| nuxi       | 3.29.3 | 3.30.0 |

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wrangler automated PR updater <[email protected]>
* Bump the workerd-and-workers-types group with 2 updates

Bumps the workerd-and-workers-types group with 2 updates: [workerd](https://github.com/cloudflare/workerd) and [@cloudflare/workers-types](https://github.com/cloudflare/workerd).


Updates `workerd` from 1.20251109.0 to 1.20251111.0
- [Release notes](https://github.com/cloudflare/workerd/releases)
- [Changelog](https://github.com/cloudflare/workerd/blob/main/Dockerfile.release)
- [Commits](cloudflare/workerd@v1.20251109.0...v1.20251111.0)

Updates `@cloudflare/workers-types` from 4.20251109.0 to 4.20251111.0
- [Release notes](https://github.com/cloudflare/workerd/releases)
- [Changelog](https://github.com/cloudflare/workerd/blob/main/Dockerfile.release)
- [Commits](https://github.com/cloudflare/workerd/commits)

---
updated-dependencies:
- dependency-name: workerd
  dependency-version: 1.20251111.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: workerd-and-workers-types
- dependency-name: "@cloudflare/workers-types"
  dependency-version: 4.20251111.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: workerd-and-workers-types
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: update dependencies of "miniflare" package

The following dependency versions have been updated:

| Dependency | From         | To           |
| ---------- | ------------ | ------------ |
| workerd    | 1.20251109.0 | 1.20251111.0 |

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wrangler automated PR updater <[email protected]>
* Fix typo that meant static routing exclude rules were being evaluated in both Vite and the Router Worker

* Add changeset

* Update changeset

* Update changeset
* fix: use .dev.vars when envFiles is empty array

* Add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

7 participants