github cloudflare/workers-sdk wrangler@2.1.6

Patch Changes

  • #1890 5a4c7113 Thanks @rozenmd! - fix: add missing noBundle type to api/dev

  • #1895 1b53bf9d Thanks @rozenmd! - fix: rename keep_bindings to keep_vars, and make it opt-in, to keep wrangler.toml compatible with being used for Infrastructure as Code

    By default, wrangler.toml is the source of truth for your environment configuration, like a terraform file.

    If you change your settings (particularly your vars) in the dashboard, wrangler will override them. If you want to disable this behavior, set this field to true.

    Between wrangler 2.0.28 and 2.1.5, by default wrangler would not delete your vars by default, breaking expected wrangler.toml behaviour.

  • #1889 98f756c7 Thanks @penalosa! - fix: Correctly place the .wrangler/state local state directory in the same directory as wrangler.toml by default

  • #1886 8b647175 Thanks @JacobMGEvans! - fix: potential missing compatibility_date in wrangler.toml when running wrangler init --from-dash
    Fixed a bug where compatibility_date wasn't being added to wrangler.toml when initializing a worker via wrangler init --from-dash

    fixes #1855

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.