github cloudflare/workers-sdk wrangler@2.1.4

latest releases: wrangler@3.86.0, @cloudflare/workers-shared@0.7.1, @cloudflare/wrangler-devtools@0.1.0...
2 years ago

Patch Changes

  • #1843 c5ee6dee Thanks @rozenmd! - feat: teach wrangler init how to write js tests

  • #1856 6aae958a Thanks @rozenmd! - feat: add vitest as a test runner option

  • #1839 2660872a Thanks @cameron-robey! - feat: make it possible to specify a path for unstable_dev()'s fetch method

    const worker = await unstable_dev(
      "script.js"
    );
    const res = await worker.fetch(req);
    

    where req can be anything from RequestInfo: string | URL | Request.

  • #1851 afca1b6c Thanks @cameron-robey! - feat: summary output for secret:bulk

    When wrangler secret:bulk <json> is run, a summary is outputted at the end with the number of secrets successfully / unsuccessfully created.

  • #1847 5726788f Thanks @rozenmd! - chore: add instructions as part of wrangler init for testing

  • #1846 f450e387 Thanks @rozenmd! - fix: when running wrangler init, add a test script to package.json when the user asks us to write their first test

  • #1837 aa5ede62 Thanks @rozenmd! - fix: explicitly export UnstableDevWorker type

  • #1779 974f3311 Thanks @WalshyDev! - Add debug outputs to the exchange request

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.