Skip to content
Compare
Choose a tag to compare
@workers-devprod workers-devprod released this 09 Jul 15:42
· 830 commits to main since this release
b0a4072

Patch Changes

  • #9685 cbea64b Thanks @WillTaylorDev! - Select only successfully deployed deployments when tailing.

  • #9776 6e09672 Thanks @vicb! - Cap the number of errors and warnings for bulk KV put to avoid consuming too much memory

  • #9694 dacfc35 Thanks @dario-piotrowicz! - add support for assets bindings to getPlatformProxy

    this change makes sure that that getPlatformProxy, when the input configuration
    file contains an assets field, correctly returns the appropriate asset binding proxy

    example:

    // wrangler.jsonc
    {
    	"name": "my-worker",
    	"assets": {
    		"directory": "./public/",
    		"binding": "ASSETS",
    	},
    }
    import { getPlatformProxy } from "wrangler";
    
    const { env, dispose } = await getPlatformProxy();
    
    const text = await (await env.ASSETS.fetch("http://0.0.0.0/file.txt")).text();
    console.log(text); // logs the content of file.txt
    
    await dispose();
  • #9807 4dd026b Thanks @penalosa! - Better messaging for account owned tokens in wrangler whoami