github cloudflare/workers-sdk wrangler@2.0.29

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

Patch Changes

  • #1731 16f051d3 Thanks @CarmenPopoviciu! - Add custom _routes.json support for Pages Functions projects

  • #1762 23f89216 Thanks @petebacondarwin! - Use getBasePath() when trying to specify paths to files relative to the
    base of the Wrangler package directory rather than trying to compute the
    path from Node.js constants like **dirname and **filename. This is
    because the act of bundling the source code can move the file that contains
    these constants around potentially breaking the relative path to the desired files.

    Fixes #1755

  • #1763 75f3ae82 Thanks @CarmenPopoviciu! - Add description field to _routes.json

    When generating routes for Functions projects, let's add a description
    so we know what wrangler version generated this config

  • #1538 2c9caf74 Thanks @rozenmd! - chore: refactor wrangler.dev API to not need React/Ink

    Prior to this change, wrangler.unstable_dev() would only support running one instance of wrangler at a time, as Ink only lets you render one instance of React. This resulted in test failures in CI.

    This change creates pure JS/TS versions of these React hooks:

    • useEsbuild
    • useLocalWorker
    • useCustomBuild
    • useTmpDir

    As a side-effect of removing React, tests should run faster in CI.

    Closes #1432
    Closes #1419

  • #1775 8163b8cf Thanks @CarmenPopoviciu! - Add unit tests for wrangler pages publish

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.