Skip to content

wrangler@4.165.0

Latest

Choose a tag to compare

@workers-devprod workers-devprod released this 18 Nov 21:56
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.
5b44e5e

Minor Changes

  • #10598 24bd3c3 Thanks @Ehbraheem! - Add a new --force flag to d1 migrations apply which skips the interactive confirmation and applies any pending migrations non-interactively. This is useful for CI and automation.

    Usage example:

    wrangler d1 migrations apply <db> --remote --force
    

    Fixes #5017

Patch Changes

  • #16019 8f26e90 Thanks @penalosa! - Correct the dry-run setup message to say "exiting now" instead of "existing now".

    The previous wording contained a typo and appeared in Wrangler setup output and other consumers of shared autoconfig.

  • #17003 3595295 Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-18

    Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17003 3595295 Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"

    The following dependency versions have been updated:

    Dependency From To
    @cloudflare/workers-types ^5.20261117.1 ^5.20261118.1
    workerd 1.20261117.1 1.20261118.1
  • #16719 f833c8a Thanks @jaeminbird! - Report .dev.vars and .env files that are not UTF-8 instead of silently loading no variables

    Before Wrangler would incorrectly read non UTF-8 .dev.vars and .env files as UTF-8. A .dev.vars file that is not UTF-8 now stops wrangler dev with a message that says how to fix it, and a .env file that is not UTF-8 is skipped with a warning. UTF-8 files, with or without a BOM, load as before.

  • #14334 67d7c0a Thanks @Divkix! - Replace the unmaintained asset hashing dependency with hash-wasm

    Keep asset hashes unchanged for Workers and Pages deployments and local Pages development while using a maintained WebAssembly implementation.

  • #16949 110c162 Thanks @edmundhung! - Fail remote RPC binding requests on network errors instead of hanging

    Remote bindings that connect over RPC treated every network failure, such as being offline, a DNS or TLS error, as a preview reload. The request then waited silently for a reload that never came. These requests now fail with the error, while GET and HEAD requests interrupted by an actual reload are still retried.

  • #14578 6750663 Thanks @penalosa! - Fix TypeScript errors when importing Wrangler's APIs

    Projects that import Wrangler's APIs, such as getPlatformProxy or defineWranglerConfig, can now type-check with skipLibCheck: false. The published types no longer refer to missing internal packages, and their required type dependencies are installed automatically.

  • Updated dependencies [0a4315f, 3595295, 3595295, 6750663, 6750663, d04e667, 6750663, 5a6e450]: