github cloudflare/workers-sdk wrangler@0.0.26

latest releases: wrangler@3.57.0, workers-playground@0.0.5, playground-preview-worker@0.0.3...
2 years ago

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 by uncaughtExceptionMonitor listener.
    Miniflare code can run user code on the same process as Wrangler,
    so we want to return null if @miniflare is present in the Event frames.

  • #778 85b0c31 Thanks @threepointone! - feat: optionally send zone_id with a route

    This 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 send zone_name with routes

    A 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 in

    This 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 channel

    This makes the update checker run on the channel that the version being used runs on.

  • #807 7e560e1 Thanks @threepointone! - fix: read isLegacyEnv correctly

    This 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 packages

    This updates some dependencies. Some highlights -

    • updates to @iarna/toml means we can have mixed types for inline arrays, which is great for #774 / #778
    • I also moved timeago.js to devDependencies since it already gets compiled into the bundle
    • updates to esbuild brings along a number of smaller fixes for modern js
  • #810 0ce47a5 Thanks @caass! - Make wrangler tail TTY-aware, and stop printing non-JSON in JSON mode

    Closes #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)

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.