github cloudflare/workers-sdk wrangler@3.14.0

latest releases: @cloudflare/quick-edit@0.2.3, @cloudflare/vitest-pool-workers@0.5.12, wrangler@3.78.12...
11 months ago

Minor Changes

  • #4204 38fdbe9b Thanks @matthewdavidrodgers! - Support user limits for CPU time

    User limits provided via script metadata on upload

    Example configuration:

    [limits]
    cpu_ms = 20000
    
  • #2162 a1f212e6 Thanks @WalshyDev! - add support for service bindings in wrangler pages dev by providing the
    new --service|-s flag which accepts an array of BINDING_NAME=SCRIPT_NAME
    where BINDING_NAME is the name of the binding and SCRIPT_NAME is the name
    of the worker (as defined in its wrangler.toml), such workers need to be
    running locally with with wrangler dev.

    For example if a user has a worker named worker-a, in order to locally bind
    to that they'll need to open two different terminals, in each navigate to the
    respective worker/pages application and then run respectively wrangler dev and
    wrangler pages ./publicDir --service MY_SERVICE=worker-a this will add the
    MY_SERVICE binding to pages' worker env object.

    Note: additionally after the SCRIPT_NAME the name of an environment can be specified,
    prefixed by an @ (as in: MY_SERVICE=SCRIPT_NAME@PRODUCTION), this behavior is however
    experimental and not fully properly defined.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.