Repository navigation
v0.28.2
Branches now build on a copy made with the Deploy button, and a deployment without its secret no longer runs. No migration.
Fixed
- Every push to a branch of a button's copy failed its build. The button turns Preview builds on, and Wrangler will not build a Preview without a
previewsblock inwrangler.jsonc. So each branch showed a failed build, Dependabot's included. Those builds now pass. (#219) - A deployment missing the database or
BETTER_AUTH_SECRETnow answers 503, says why, serves nothing else, and refuses mail for intake addresses, dropping what a machine sent. A deployed Worker needs the secret to deploy, so this reaches a Preview given a database and no secret of its own. (#219) update-copyno longer guesses or leaves anything behind. A line a copy rewrote that stands twice inwrangler.jsonccould land on the wrong one, so it is now left to a person. A run stopped halfway left a replacement that falsified the copy's history and stopped the next run. (#218)
Changed
- The self-hosting guide says what a Preview gets: none of the Worker's bindings or secrets, where it used to say Previews share the database. It says how to give them what they need, and that Dependabot's pull requests on a copy are not needed.
update-copykeeps Dependabot's file out once a copy has deleted it. (#219)
Upgrading
No migration. If you gave a Preview a database, give Previews a secret of their own, or they now answer 503: pnpm wrangler preview base-config secret put BETTER_AUTH_SECRET. Anyone with an account on such a Preview should treat its sessions as forgeable until then.