fix(wrangler): show error when D1 migration commands run without config file#11711
fix(wrangler): show error when D1 migration commands run without config file#11711southpolesteve merged 2 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 7d64a96 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 |
|
Claude finished @southpolesteve's task —— View job Reviewing Changeset
✅ All changesets look good The changeset
The changeset accurately describes the change and provides good context for users reading the changelog. |
|
Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the Depending on your changes, running Notes:
|
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
…ig file Previously, running `wrangler d1 migrations apply`, `list`, or `create` in a directory without a wrangler.toml or wrangler.json would silently exit with no feedback. Now these commands display a clear error message guiding users to create a configuration file. Fixes #11709
…ig file Previously, running `wrangler d1 migrations apply`, `list`, or `create` in a directory without a Wrangler configuration file would silently exit with no feedback. Now these commands display a clear error message guiding users to create a configuration file. Fixes #11709
81ac568 to
7d64a96
Compare
…ig file (cloudflare#11711) * fix(wrangler): show error when D1 migration commands run without config file Previously, running `wrangler d1 migrations apply`, `list`, or `create` in a directory without a wrangler.toml or wrangler.json would silently exit with no feedback. Now these commands display a clear error message guiding users to create a configuration file. Fixes cloudflare#11709 * fix(wrangler): show error when D1 migration commands run without config file Previously, running `wrangler d1 migrations apply`, `list`, or `create` in a directory without a Wrangler configuration file would silently exit with no feedback. Now these commands display a clear error message guiding users to create a configuration file. Fixes cloudflare#11709
Fixes #11709.
Previously, running
wrangler d1 migrations apply,wrangler d1 migrations list, orwrangler d1 migrations createin a directory without awrangler.tomlorwrangler.jsonfile would silently exit with no feedback, leaving users confused about what went wrong.Now these commands display a clear error message:
Written using OpenCode and Claude Opus 4.5
Prompt: "Can you solve this issue for me #11709"