workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

docs: Create Wrangler 1 -> Wrangler 2 breaking changes document

Open petebacondarwin opened this issue 3 years ago • 2 comments

petebacondarwin avatar May 12 '22 13:05 petebacondarwin

I think this is an important thing to publish, it would have saved us from at least one production incident related to the behaviour change in the linked issue. After updating to wrangler 2, it tried to delete all of the routes we had defined manually in the dashboard which were left alone by wrangler 1, which would have left our worker unreachable in production. This is a major behavioural difference which is very dangerous to not have documented.

ajwootto avatar Aug 09 '22 17:08 ajwootto

Created https://github.com/cloudflare/cloudflare-docs/pull/5482 to address the previous comment, referencing https://github.com/cloudflare/wrangler2/issues/972#issuecomment-1125359729

KianNH avatar Aug 09 '22 18:08 KianNH

@petebacondarwin Is this covered by https://developers.cloudflare.com/workers/wrangler/compare-v1-v2/?

penalosa avatar Jan 27 '23 17:01 penalosa

Yeah I think that doc is good enough.

petebacondarwin avatar Feb 01 '23 09:02 petebacondarwin