github cloudflare/workers-sdk wrangler@3.32.0

latest releases: wrangler@3.84.1, playground-preview-worker@0.1.1, edge-preview-authenticated-proxy@0.2.1...
8 months ago

Minor Changes

Patch Changes

  • #5089 5b85dc9 Thanks @DaniFoldi! - fix: include all currently existing bindings in wrangler types

    Add support for Email Send, Vectorize, Hyperdrive, mTLS, Browser Rendering and Workers AI bindings in wrangler types

    For example, from the following wrangler.toml setup:

    [browser]
    binding = "BROWSER"
    
    [ai]
    binding = "AI"
    
    [[send_email]]
    name = "SEND_EMAIL"
    
    [[vectorize]]
    binding = "VECTORIZE"
    index_name = "VECTORIZE_NAME"
    
    [[hyperdrive]]
    binding = "HYPERDRIVE"
    id = "HYPERDRIVE_ID"
    
    [[mtls_certificates]]
    binding = "MTLS"
    certificate_id = "MTLS_CERTIFICATE_ID"

    Previously, nothing would have been included in the generated Environment.
    Now, the following will be generated:

    interface Env {
    	SEND_EMAIL: SendEmail;
    	VECTORIZE: VectorizeIndex;
    	HYPERDRIVE: Hyperdrive;
    	MTLS: Fetcher;
    	BROWSER: Fetcher;
    	AI: Fetcher;
    }
  • Updated dependencies [11951f3, 11951f3]:

    • miniflare@3.20240304.0

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.