github cloudflare/workers-sdk wrangler@2.10.0

latest releases: wrangler@3.81.0, @cloudflare/vitest-pool-workers@0.5.20, @cloudflare/quick-edit@0.3.1...
20 months ago

Minor Changes

  • #2567 02ea098e Thanks @matthewdavidrodgers! - Add mtls-certificate commands and binding support

    Functionality implemented first as an api, which is used in the cli standard
    api commands

    Note that this adds a new OAuth scope, so OAuth users will need to log out and
    log back in to use the new 'mtls-certificate' commands
    However, publishing with mtls-certifcate bindings (bindings of type
    'mtls_certificate') will work without the scope.

  • #2717 c5943c9f Thanks @mrbbot! - Upgrade miniflare to 2.12.0, including support for R2 multipart upload bindings, the nodejs_compat compatibility flag, D1 fixes and more!

  • #2579 bf558bdc Thanks @JacobMGEvans! - Added additional fields to the output of wrangler deployments command. The additional fields are from the new value in the response annotations which includes workers/triggered_by and rollback_from

    Example:

    Deployment ID: Galaxy-Class
    Created on:    2021-01-04T00:00:00.000000Z
    
    Trigger:       Upload from Wrangler 🤠
    Rollback from: MOCK-DEPLOYMENT-ID-2222
    

Patch Changes

  • #2624 882bf592 Thanks @CarmenPopoviciu! - Add wasm support in wrangler pages publish

    Currently it is not possible to import wasm modules in either Pages
    Functions or Pages Advanced Mode projects.

    This commit caries out work to address the aforementioned issue by
    enabling wasm module imports in wrangler pages publish. As a result,
    Pages users can now import their wasm modules withing their Functions
    or _worker.js files, and wrangler pages publish will correctly
    bundle everything and serve these "external" modules.

  • #2683 68a2a19e Thanks @mrbbot! - Fix internal middleware system to allow D1 databases and --test-scheduled to be used together

  • #2609 58ac8a78 Thanks @dario-piotrowicz! - fix: make sure that the pages publish --no-bundle flag is correctly recognized

  • #2696 4bc78470 Thanks @rozenmd! - fix: don't throw an error when omitting preview_database_id, warn instead

  • #2715 e33294b0 Thanks @rozenmd! - fix: make it possible to run SQL against preview databases

  • #2685 2b1177ad Thanks @CarmenPopoviciu! - You can now import Wasm modules in Pages Functions and Pages Functions Advanced Mode (_worker.js).
    This change specifically enables wasm module imports in wrangler pages functions build.
    As a result, Pages users can now import their wasm modules within their Functions or
    _worker.js files, and wrangler pages functions build will correctly bundle everything
    and output the expected result file.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.