Skip to content

Wrangler

2024-09-27

3.78.12

Patch Changes

  • #6840 5bfb75d Thanks @a-robinson! - chore: update warning in wrangler dev --remote when using Queues to not mention beta status
3.78.11

Patch Changes

2024-09-25

3.78.9

Patch Changes

3.78.10

Patch Changes

2024-09-23

3.78.8

Patch Changes

  • #6791 74d719f Thanks @penalosa! - fix: Add missing binding to init --from-dash

  • #6728 1ca313f Thanks @emily-shen! - fix: remove filepath encoding on asset upload and handle sometimes-encoded characters

    Some characters like [ ] @ are encoded by encodeURIComponent() but are often requested at an unencoded URL path. This change will make assets with filenames with these characters accessible at both the encoded and unencoded paths, but to use the encoded path as the canonical one, and to redirect requests to the canonical path if necessary.

  • #6798 7d7f19a Thanks @emily-shen! - fix: error if an asset binding is provided without a Worker script

  • Updated dependencies [1ca313f]:

2024-09-20

3.78.7

Patch Changes

  • #6775 ecd82e8 Thanks @CarmenPopoviciu! - fix: Support switching between static and dynamic Workers

    This commit fixes the current behaviour of watch mode for Workers with assets, and adds support for switching between static and dynamic Workers within a single wrangler dev session.

  • #6762 2840b9f Thanks @petebacondarwin! - fix: error if a user inadvertently uploads a Pages _workers.js file or directory as an asset

  • #6778 61dd93a Thanks @CarmenPopoviciu! - fix: Error if Workers + Assets are run in remote mode

    Workers + Assets are currently supported only in local mode. We should throw an error if users attempt to use Workers with assets in remote mode.

  • #6782 7655505 Thanks @vicb! - chore: update unenv dependency version

  • #6777 9649dbc Thanks @penalosa! - chore: Update CI messaging

  • #6779 3e75612 Thanks @emily-shen! - fix: include asset binding in wrangler types

2024-09-19

3.78.6

Patch Changes

  • #6743 b45e326 Thanks @petebacondarwin! - fix: ability to build tricky Node.js compat scenario Workers

    Adds support for non-default build conditions and platform via the WRANGLER_BUILD_CONDITIONS and WRANGLER_BUILD_PLATFORM flags.

    Fixes https://github.com/cloudflare/workers-sdk/issues/6742

  • #6776 02de103 Thanks @zebp! - fix: disable observability on deploy if not explicitly defined in config

    When deploying a Worker that has observability enabled in the deployed version but not specified in the wrangler.toml Wrangler will now set observability to disabled for the new version to match the wrangler.toml as the source of truth.

  • Updated dependencies [2ddbb65]:

2024-09-18

3.78.5

Patch Changes

  • #6744 e3136f9 Thanks @petebacondarwin! - chore: update unenv dependency version

  • #6749 9a06f88 Thanks @CarmenPopoviciu! - fix: Throw error when attempting to configure Workers with assets and tail consumers

    Tail Workers are currently not supported for Workers with assets. This commit ensures we throw a corresponding error if users are attempting to configure tail_consumers via their configuration file, for a Worker with assets. This validation is applied for all wrangler dev, wrangler deploy, wrangler versions upload.

  • #6746 0deb42b Thanks @GregBrimble! - fix: Fix assets upload message to correctly report number of uploaded assets

  • #6745 6dbbb88 Thanks @jonesphillip! - fix: r2 bucket notification get <bucket_name> has been marked deprecated in favor of r2 bucket notification list <bucket_name> to reflect behavior.

  • Updated dependencies [2407c41]: