github cloudflare/workers-sdk wrangler@4.20.5

Patch Changes

  • #9688 086e29d Thanks @dario-piotrowicz! - add remote bindings support to getPlatformProxy

    Example:

    // wrangler.jsonc
    {
    	"name": "get-platform-proxy-test",
    	"services": [
    		{
    			"binding": "MY_WORKER",
    			"service": "my-worker",
    			"experimental_remote": true
    		}
    	]
    }
    // index.mjs
    import { getPlatformProxy } from "wrangler";
    
    const { env } = await getPlatformProxy({
    	experimental: {
    		remoteBindings: true,
    	},
    });
    
    // env.MY_WORKER.fetch() fetches from the remote my-worker service
  • #9558 d5edf52 Thanks @ichernetsky-cf! - wrangler containers apply uses observability configuration.

  • #9678 24b2c66 Thanks @dario-piotrowicz! - remove warnings during config validations on experimental_remote fields

    wrangler commands, run without the --x-remote-bindings flag, parsing config files containing experimental_remote fields currently show warnings stating that the field is not recognized. This is usually more cumbersome than helpful so here we're loosening up this validation and making wrangler always recognize the field even when no --x-remote-bindings flag is provided

  • #9633 3f478af Thanks @nikitassharma! - Add support for setting an instance type for containers in wrangler. This allows users to configure memory, disk, and vCPU by setting instance type when interacting with containers.

  • #9596 5162c51 Thanks @CarmenPopoviciu! - add ability to pull images for containers local dev

  • Updated dependencies [bfb791e, 5162c51]:

    • miniflare@4.20250617.3

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.