Patch Changes
-
#1836
3583f313
Thanks @rozenmd! - fix: wrangler publish for CI after a manual deploymentPrior to this change, if you edited your Worker via the Cloudflare Dashboard, then used CI to deploy your script,
wrangler publish
would fail.This change logs a warning that your manual changes are going to be overriden, but doesn't require user input to proceed.
Closes #1832
-
#1644
dc1c9595
Thanks @geelen! - Deprecated --experimental-enable-local-persistence.Added --persist and --persist-to in its place. Changed the default persistence directory to .wrangler/state, relative to wrangler.toml.
To migrate to the new flag, run
mkdir -p .wrangler && mv wrangler-local-state .wrangler/state
then use--persist
. Alternatively, you can use--persist-to=./wrangler-local-state
to keep using the files in the old location.