Repository navigation
·
15 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Fixed
- cloudflare-version.yml: no more doubled environment suffix on build-output configs. Under
standardandchaintopology,--env <wranglerEnv>was passed even whenworkingDirectoryheld an environment-resolvedwrangler.json, which is what the Cloudflare Vite plugin emits. Wrangler then added the environment to the Worker name a second time. provider-devtool's staging candidate deployed asprovider-registry-devtool-staging-staging. A release would have deployedprovider-registry-devtool-productionand moved the production custom domains onto a Worker with no secrets. - A new "Resolve Wrangler environment" step runs after Build and produces the one
--envvalue every wrangler command uses: deploy,versions uploadandd1 migrations apply.- When the config file in
workingDirectory, or the declaredwranglerConfig, hastargetEnvironment, wrangler runs without--env. The run fails iftargetEnvironmentdiffers from the target'swranglerEnv, so a staging build can never deploy as production. - A
.wrangler/deploy/config.jsonredirect keeps--env. D1 migrations don't follow the redirect and need--envto pick the target's database. Wrangler accepts a matching--envon a redirected config, and the step fails early if the redirect target was built for another environment. - JSON and JSONC (comments, trailing commas) are both read. In TOML, only a top-level
targetEnvironmentcounts. - Configs without
targetEnvironment, andsingletopology, behave exactly as before.
- When the config file in
Upgrade
- Callers pick this up through the
cloudflare-version.ymlpin used bycloudflare-pr.yml,cloudflare-main.ymlandcloudflare-release.yml. The helper bundle is unchanged.