Patch Changes
-
#932
e95e5a0
Thanks @threepointone! - fix: log proper response status codes indev
During
dev
we log the method/url/statuscode for every req+res. This fix logs the correct details for every request.Fixes #931
-
#930
bc28bea
Thanks @GregBrimble! - fix: Default to creating a new project when no existing ones are available for 'wrangler pages publish' -
#934
692ddc4
Thanks @GregBrimble! - fix: Suppress beta warning when operating in Pages' CI environment -
#936
a0e0b26
Thanks @petebacondarwin! - fix: support Windows line-endings in TOML filesThe TOML parser that Wrangler uses crashes if there is a Windows line-ending in a comment.
See iarna/iarna-toml#33.According to the TOML spec, we should be able to normalize line-endings as we see fit.
See https://toml.io/en/v1.0.0#:~:text=normalize%20newline%20to%20whatever%20makes%20sense.This change normalizes line-endings of TOML strings before parsing to avoid hitting this bug.
Fixes #915