XDG paths now use `wrangler` rather than the hidden `.wrangler` sub-path
The XDG container directory is already hidden so there is no value in hiding the sub-path. In fact it can cause confusion if it is not easy to find the sub-path quickly.
If Wrangler finds .wrangler XDG paths or legacy home-based config paths, it will migrate them to this new location.
Fixes #11032
- Tests
- [x] Tests included
- [ ] Tests not necessary because:
- Public documentation
- [ ] Cloudflare docs PR(s):
- [x] Documentation not necessary because: this aspect is mostly internal and not publicly documented
- Wrangler V3 Backport
- [ ] Wrangler PR: TODO
- [x] Not necessary because: workers-utils are not backported and so would make this marginal change very awkward
🦋 Changeset detected
Latest commit: 900232d30901e7c53d031c797a6034762ee92a25
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
Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the v3-maintenance branch with your changes. Thank you for helping us keep Wrangler v3 supported!
Depending on your changes, running git rebase --onto v3-maintenance main pbd/wrangler/auth-location might be a good starting point.
Notes:
- your PR branch should be named
v3-backport-11075 - add the
skip-v3-prlabel to the current PR to stop this workflow from failing
create-cloudflare
npm i https://pkg.pr.new/create-cloudflare@11075
@cloudflare/kv-asset-handler
npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@11075
miniflare
npm i https://pkg.pr.new/miniflare@11075
@cloudflare/pages-shared
npm i https://pkg.pr.new/@cloudflare/pages-shared@11075
@cloudflare/unenv-preset
npm i https://pkg.pr.new/@cloudflare/unenv-preset@11075
@cloudflare/vite-plugin
npm i https://pkg.pr.new/@cloudflare/vite-plugin@11075
@cloudflare/vitest-pool-workers
npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@11075
@cloudflare/workers-editor-shared
npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@11075
@cloudflare/workers-utils
npm i https://pkg.pr.new/@cloudflare/workers-utils@11075
wrangler
npm i https://pkg.pr.new/wrangler@11075
commit: 900232d