github cloudflare/workers-sdk wrangler@3.28.2

latest releases: create-cloudflare@2.32.1, wrangler@3.86.1, @cloudflare/vitest-pool-workers@0.5.27...
9 months ago

Patch Changes

  • #4950 05360e43 Thanks @petebacondarwin! - fix: ensure we do not rewrite external Origin headers in wrangler dev

    In #4812 we tried to fix the Origin headers to match the Host header but were overzealous and rewrote Origin headers for external origins (outside of the proxy server's origin).

    This is now fixed, and moreover we rewrite any headers that refer to the proxy server on the request with the configured host and vice versa on the response.

    This should ensure that CORS is not broken in browsers when a different host is being simulated based on routes in the Wrangler configuration.

  • #4997 bfeefe27 Thanks @dario-piotrowicz! - chore: add missing defineNavigatorUserAgent dependency to useEsbuild hook

  • #4966 36692326 Thanks @penalosa! - fix: Report Custom Build failures as UserErrors

  • #5002 315a651b Thanks @dario-piotrowicz! - chore: rename getBindingsProxy to getPlatformProxy

    initially getBindingsProxy was supposed to only provide proxies for bindings,
    the utility has however grown, including now cf, ctx and caches, to
    clarify the increased scope the utility is getting renamed to getPlatformProxy
    and its bindings field is getting renamed env

    note: getBindingProxy with its signature is still kept available, making this
    a non breaking change

  • Updated dependencies [05360e43]:

    • miniflare@3.20240129.2

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.