github cloudflare/workers-sdk wrangler@2.1.11

latest releases: wrangler@3.86.0, @cloudflare/workers-shared@0.7.1, @cloudflare/wrangler-devtools@0.1.0...
2 years ago

Patch Changes

  • #1957 b579c2b5 Thanks @caass! - Remove dependency on create-cloudflare.

    Previously, wrangler generate was a thin wrapper around create-cloudflare. Now, we've moved over the logic from that package directly into wrangler.

  • #1985 51385e57 Thanks @rozenmd! - fix: hide deprecated flags from --help menu

  • #1944 ea54623c Thanks @CarmenPopoviciu! - wrangler pages publish should prioritize _worker.js over /functions if both exist

  • #1950 daf73fbe Thanks @CarmenPopoviciu! - wrangler pages dev should prioritize _worker.js

    When using a _worker.js file, the entire /functions directory should be ignored – this includes its routing and middleware characteristics. Currently wrangler pages dev does the reverse, by prioritizing
    /functions over _worker.js. These changes fix the current behaviour.

  • #1928 c1722170 Thanks @GregBrimble! - fix: Allow unsetting of automatically generated Link headers using _headers and the ! Link operator

  • #1928 c1722170 Thanks @GregBrimble! - fix: Only generate Link headers from simple <link> elements.

    Specifically, only those with the rel, href and possibly as attributes. Any element with additional attributes will not be used to generate headers.

  • #1974 a96f2585 Thanks @GregBrimble! - chore: Bump @cloudflare/pages-shared@0.0.7 and use TS directly

  • #1965 9709d3a3 Thanks @JacobMGEvans! - chore: remove hidden on --from-dash
    The --from-dash can now be used with the dashboard features to support moving Worker developmment to a local machine.

    resolves #1783

  • #1978 6006ae50 Thanks @JacobMGEvans! - chore: Undici 5.11.0 multipart/form-data support
    The 5.11.0 version of Undici now supports multipart/form-data previously needed a ponyfill
    we can now handle the multipart/form-data without any custom code.

    resolves #1977

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.