github cloudflare/workers-sdk wrangler@2.0.17

latest releases: create-cloudflare@2.32.1, wrangler@3.86.1, @cloudflare/vitest-pool-workers@0.5.27...
2 years ago

Patch Changes

  • #1389 eab9542 Thanks @caass! - Remove delegation message when global wrangler delegates to a local installation

    A message used for debugging purposes was accidentally left in, and confused some
    folks. Now it'll only appear when WRANGLER_LOG is set to debug.

  • #1447 16f9436 Thanks @threepointone! - feat: r2 support in wrangler dev --local

    This adds support for r2 bindings in wrangler dev --local, powered by miniflare@2.6.0 via cloudflare/miniflare#289.

    Fixes #1066

  • #1406 0f35556 Thanks @rozenmd! - fix: use fork to let wrangler know miniflare is ready

    This PR replaces our use of spawn in favour of fork to spawn miniflare in wrangler's dev function. This lets miniflare let wrangler know when we're ready to send requests.

    Closes #1408

  • #1442 f9efc04 Thanks @jrencz! - fix: add missing metadata option to kv:key put

    Closes #1441

  • #999 238b546 Thanks @caass! - Include devtools in wrangler monorepo

    Previously, wrangler relied on @threepointone's built-devtools. Now, these devtools are included in the wrangler repository.

  • #1424 8cf0008 Thanks @caass! - fix: Check config.assets when deciding whether to include a default entry point.

    An entry point isn't mandatory when using --assets, and we can use a default worker when doing so. This fix enables that same behaviour when config.assets is configured.

  • #1448 0d462c0 Thanks @threepointone! - polish: set checkjs: false and jsx: "react" in newly created projects

    When we create a new project, it's annoying having to set jsx: "react" when that's the overwhelmingly default choice, our compiler is setup to do it automatically, and the tsc error message isn't helpful. So we set jsx: "react" in the generated tsconfig.

    Setting checkJs: true is also annoying because it's not a common choice. So we set checkJs: false in the generated tsconfig.

  • #1450 172310d Thanks @threepointone! - polish: tweak static assets facade to log only real errors

    This prevents the abundance of NotFoundErrors being unnecessaryily logged.

  • #1415 f3a8452 Thanks @caass! - Emit type declarations for wrangler

    This is a first go-round of emitting type declarations alongside the bundled JS output,
    which should make it easier to use wrangler as a library.

  • #1433 1c1214f Thanks @threepointone! - polish: adds an actionable message when a worker name isn't provided to tail/secret

    Just a better error message when a Worker name isn't available for wrangler secret or wrangler tail.

    Closes #1380

  • #1427 3fa5041 Thanks @caass! - Check npm_config_user_agent to guess a user's package manager

    The environment variable npm_config_user_agent can be used to guess the package manager
    that was used to execute wrangler. It's imperfect (just like regular user agent sniffing!)
    but the package managers we support all set this property:

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.