Skip to content

refactor miniflare to use new config format#14745

Draft
emily-shen wants to merge 5 commits into
miniflare-v5from
emily/new-config
Draft

refactor miniflare to use new config format#14745
emily-shen wants to merge 5 commits into
miniflare-v5from
emily/new-config

Conversation

@emily-shen

Copy link
Copy Markdown
Contributor

Plugin options are now exactly what is in the (new) config format defined in the @cloudflare/config package.
This removes the translation from user config -> miniflare config. (Note we will still need a transformation from the old wrangler config to the new config shape)

  • There are two exceptions - DOs and browsers have local dev specific options, so we import and extend those binding schemas specifically.
  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because:

A picture of a cute animal (not mandatory, but encouraged)

@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: da4ad6d

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

This PR includes changesets to release 1 package
Name Type
@cloudflare/config Minor

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

@github-actions

Copy link
Copy Markdown
Contributor

✅ All changesets look good

@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@14745

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@14745

create-cloudflare

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

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@14745

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

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

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@14745

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

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

wrangler

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

commit: da4ad6d

@ask-bonk

ask-bonk Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

@emily-shen Bonk workflow was cancelled.

View workflow run · To retry, trigger Bonk again.

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.

2 participants