Wrangler Changelog
2024-05-14
3.56.0
#5712
151bc3dThanks @penalosa! - feat: Supportmtls_certificatesandbrowserbindings when usingwrangler.tomlwith a Pages project#5813
9627cefThanks @GregBrimble! - fix: Upload Pages project assets with more grace- Reduces the maximum bucket size from 50 MiB to 40 MiB.
- Reduces the maximum asset count from 5000 to 2000.
- Allows for more retries (with increased sleep between attempts) when encountering an API gateway failure.
2024-05-09
3.55.0
#5570
66bdad0Thanks @sesteves! - feature: support delayed delivery in the miniflare’s queue simulator.This change updates the miniflare’s queue broker to support delayed delivery of messages, both when sending the message from a producer and when retrying the message from a consumer.
#5740
97741dbThanks @WalshyDev! - chore: log “Version ID” inwrangler deploy,wrangler deployments list,wrangler deployments viewandwrangler rollbackto support migration from the deprecated “Deployment ID”. Users should update any parsing to use “Version ID” before “Deployment ID” is removed.#5754
f673c66Thanks @RamIdeas! - fix: when using custom builds, thewrangler devproxy server was sometimes left in a paused stateThis could be observed as the browser loading indefinitely, after saving a source file (unchanged) when using custom builds. This is now fixed by ensuring the proxy server is unpaused after a short timeout period.
2024-05-02
3.53.1
#5091
6365c90Thanks @Cherry! - fix: better handle dashes and other invalid JS identifier characters inwrangler typesgeneration for vars, bindings, etc.Previously, with the following in your
wrangler.toml, an invalid types file would be generated:[vars]some-var = "foobar"Now, the generated types file will be valid:
interface Env {"some-var": "foobar";}#5748
27966a4Thanks @penalosa! - fix: Load sourcemaps relative to the entry directory, not cwd.#5746
1dd9f7eThanks @petebacondarwin! - fix: suggest trying to update Wrangler if there is a newer one available after an unexpected error#5226
f63e7a5Thanks @DaniFoldi! - fix: remove second Wrangler banner fromwrangler dispatch-namespace rename
2024-04-30
3.53.0
#5604
327a456Thanks @dario-piotrowicz! - feat: add support for environments ingetPlatformProxyallow
getPlatformProxyto target environments by allowing users to specify anenvironmentoptionExample usage:
const { env } = await getPlatformProxy({environment: "production",});#5705
4097759Thanks @G4brym! - Addstagingflag to AI binding
2024-04-24
3.52.0
#5666
81d9615Thanks @CarmenPopoviciu! - fix: Fix Pages config validation around Durable ObjectsToday Pages cannot deploy Durable Objects itself. For this reason it is mandatory that when declaring Durable Objects bindings in the config file, the
script_nameis specified. We are currently not failing validation ifscript_nameis not specified but we should. These changes fix that.#5610
24840f6Thanks @SuperchupuDev! - Markts-json-schema-generatoras a dev dependency#5669
a7e36d5Thanks @dario-piotrowicz! - fix: fix broken Durable Object local proxying (when nocfproperty is present)A regression was introduced in wrangler 3.46.0 ( https://github.com/cloudflare/workers-sdk/pull/5215) which made it so that missing
Request#cfproperties are serialized as"undefined", this in turn throws a syntax parse error when such values are parsed viaJSON.parsebreaking the communication with Durable Object local proxies. Fix such issue by serializing missingRequest#cfproperties as"{}"instead.#5616
c6312b5Thanks @webbertakken! - fix: broken link to durable object migrations docs#5482
1b7739eThanks @DaniFoldi! - docs: show new Discord url everywhere for consistency. The old URL still works, but https://discord.cloudflare.com is preferred.Updated dependencies [
3a0d735,1b7739e]:- miniflare@3.20240419.0
- @cloudflare/kv-asset-handler@0.3.2
2024-04-18
3.51.2
- #5652
ccb9d3dThanks @petebacondarwin! - chore: re-release due to broken build