Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Migrating from Version 2

Provides a migration path from Miniflare v2 to v3, detailing changes to the CLI, API options, and method signatures required to transition to the workerd runtime.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Migrating from Version 2

Provides a migration path from Miniflare v2 to v3, detailing changes to the CLI, API options, and method signatures required to transition to the workerd runtime.

When To Use

Use when upgrading a local development environment from Miniflare v2 to v3 to ensure compatibility with the workerd runtime and correct configuration of bindings and CLI commands.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-testing-miniflare-migrating-from-version-2-workflow-guide.mdA guide detailing the CLI, API, and configuration changes required when migrating from Miniflare version 2 to version 3.Questions about a guide detailing the CLI, API, and configuration changes required when migrating from Miniflare version 2 to version 3.
examples/workers-testing-miniflare-migrating-from-version-2-cloudflare-workers-mi.textThe command used to run the wrangler development server for migrating from Miniflare version 2.Exact payloads, commands, or snippets shown in The command used to run the wrangler development server for migrating from Miniflare version 2.
examples/workers-testing-miniflare-migrating-from-version-2-cloudflare-workers-mi-2.textA text representation of the updated QueueConsumerOptions interface used during the Miniflare version 2 to version 3 migration.Exact payloads, commands, or snippets shown in A text representation of the updated QueueConsumerOptions interface used during the Miniflare version 2 to version 3...
examples/workers-testing-miniflare-migrating-from-version-2-cloudflare-workers-mi-3.textA code example demonstrating the updated Miniflare configuration syntax and object structure required when migrating from version 2 to version 3.Exact payloads, commands, or snippets shown in A code example demonstrating the updated Miniflare configuration syntax and object structure required when migrating...

What This Skill Covers

  • Miniflare v3 now uses workerd ↗, the open-source Cloudflare Workers runtime. This is the same runtime that's deployed on Cloudflare's network, giving bug-for...
  • Main sections: CLI Changes, API Changes, Updated Options, Removed Options, Updated Methods.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/testing/miniflare/migrations/from-v2