Patch Changes
-
#782
34552d9
Thanks @GregBrimble! - feature: Add 'pages create project [name]' command.This command will create a Pages project with a given name, and optionally set its
--production-branch=[production]
. -
#772
a852e32
Thanks @JacobMGEvans! - fix: We want to prevent any user created code from sending Events to Sentry,
which can be captured byuncaughtExceptionMonitor
listener.
Miniflare code can run user code on the same process as Wrangler,
so we want to returnnull
if@miniflare
is present in the Event frames. -
#778
85b0c31
Thanks @threepointone! - feat: optionally send zone_id with a routeThis enables optionally passing a route as
{pattern: string, zone_id: string}
. There are scenarios where we need to explicitly pass a zone_id to the api, so this enables that.Some nuance: The errors from the api aren't super useful when invalid values are passed, but that's something to further work on.
This also fixes some types in our cli parsing.
Fixes #774
-
#797
67fc4fc
Thanks @threepointone! - feat: optionally sendzone_name
with routesA followup to #778, this lets you send an optional
zone_name
with routes. This is particularly useful when using ssl for saas (https://developers.cloudflare.com/ssl/ssl-for-saas/).Fixes #793
-
#813
5c59f97
Thanks @threepointone! - add a warning if service environments are being used.Service environments are not ready for widespread usage, and their behaviour is going to change. This adds a warning if anyone uses them.
Closes #809
-
#789
5852bba
Thanks @threepointone! - polish: don't log all errors when logging inThis removes a couple of logs we had for literally every error in our oauth flow. We throw the error and handle it separately anyway, so this is a safe cleanup.
Fixes #788
-
#806
b24aeb5
Thanks @threepointone! - fix: check for updates on the right channelThis makes the update checker run on the channel that the version being used runs on.
-
#807
7e560e1
Thanks @threepointone! - fix: readisLegacyEnv
correctlyThis fixes the signature for
isLegacyEnv()
since it doesn't use args, and we fix reading legacy_env correctly when creating a draft worker when creating a secret. -
#779
664803e
Thanks @threepointone! - chore: update packagesThis updates some dependencies. Some highlights -
-
#810
0ce47a5
Thanks @caass! - Makewrangler tail
TTY-aware, and stop printing non-JSON in JSON modeCloses #493
2 quick fixes:
- Check
process.stdout.isTTY
at runtime to determine whether to default to "pretty" or "json" output for tailing. - Only print messages like "Connected to {worker}" if in "pretty" mode (errors still throw strings)
- Check