Skip to content

Releases: cloudflare/workers-sdk

[email protected]

06 Dec 12:32
cf0022e
Compare
Choose a tag to compare

Patch Changes

  • #2339 f6821189 Thanks @GregBrimble! - fix: wrangler dev --local now correctly lazy-imports @miniflare/tre

    Previously, we introduced a bug where we were incorrectly requiring @miniflare/tre, even when not using the workerd/--experimental-local mode.

@cloudflare/[email protected]

06 Dec 12:32
cf0022e
Compare
Choose a tag to compare

Patch Changes

  • #2339 f6821189 Thanks @GregBrimble! - fix: wrangler dev --local now correctly lazy-imports @miniflare/tre

    Previously, we introduced a bug where we were incorrectly requiring @miniflare/tre, even when not using the workerd/--experimental-local mode.

[email protected]

05 Dec 18:17
271aece
Compare
Choose a tag to compare

Minor Changes

  • #2268 3be1c2cf Thanks @GregBrimble! - feat: Add support for --experimental-local to wrangler pages dev which will use the workerd runtime.

    Add @miniflare/tre environment polyfill to @cloudflare/pages-shared.

  • #2163 d73a34be Thanks @jimhawkridge! - feat: Add support for Analytics Engine bindings.

    For example:

    analytics_engine_datasets = [
        { binding = "ANALYTICS", dataset = "my_dataset" }
    ]
    

Patch Changes

  • #2177 e98613f8 Thanks @caass! - Trigger login flow if a user runs wrangler dev while logged out

    Previously, we would just error if a user logged out and then ran wrangler dev.
    Now, we kick them to the OAuth flow and suggest running wrangler dev --local if
    the login fails.

    Closes #2147

  • #2298 bb5e4f91 Thanks @rozenmd! - fix: d1 not using the preview database when using wrangler dev

    After this fix, wrangler will correctly connect to the preview database, rather than the prod database when using wrangler dev

  • #2176 d48ee112 Thanks @caass! - Use the user's preferred default branch name if set in .gitconfig.

    Previously, we would initialize new workers with main as the name of the default branch.
    Now, we see if the user has a custom setting in .gitconfig for init.defaultBranch, and use
    that if it exists.

    Closes #2112

  • #2275 bbfb6a96 Thanks @mrbbot! - Fix script reloads, and allow clean exits, when using --experimental-local on Linux

  • #2275 bbfb6a96 Thanks @mrbbot! - Fix DevTools inspector support when using --(experimental-)local

@cloudflare/[email protected]

05 Dec 18:17
271aece
Compare
Choose a tag to compare

Patch Changes

  • #2303 1a1f1dc7 Thanks @jrf0110! - fix: Pages asset-server duplicating the hash component
    fix: Pages metadata missing line numbers. This could have resulted in redirects precedence ordering not being respected.

  • #2268 3be1c2cf Thanks @GregBrimble! - feat: Add support for --experimental-local to wrangler pages dev which will use the workerd runtime.

    Add @miniflare/tre environment polyfill to @cloudflare/pages-shared.

[email protected]

29 Nov 18:47
b1cd2fc
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #2296 7da8f0e6 Thanks @Skye-31! - Fix: check response status of d1 backup download command before writing contents to file

  • #2260 c2940160 Thanks @rozenmd! - fix: make it possible to use a local db for d1 migrations

    As of this change, wrangler's d1 migrations commands now accept local and persist-to as flags, so migrations can run against the local d1 db.

  • #1883 60d31c01 Thanks @GregBrimble! - fix: Fix --port=0 option to report the actually used port.

[email protected]

22 Nov 16:03
f8ea2b6
Compare
Choose a tag to compare

Patch Changes

[email protected]

22 Nov 14:51
1c3e243
Compare
Choose a tag to compare

Patch Changes

  • #2249 e41c7e41 Thanks @mrbbot! - Enable pretty source-mapped error pages when using --experimental-local

  • #2208 5bd04296 Thanks @OilyLime! - Add link to Queues tab in dashboard when unauthorized to use Queues

  • #2248 effc2215 Thanks @rozenmd! - chore: remove d1 local hardcoding

    Prior to this change wrangler would only ever use local mode when testing d1.

    After this change d1 tests can access both local and remote Workers.

  • #2254 9e296a4d Thanks @penalosa! - Add an option to customise whether wrangler login opens a browser automatically. Use wrangler login --no-browser to prevent a browser being open—the link will be printed to the console so it can be manually opened.

[email protected]

18 Nov 14:10
683b983
Compare
Choose a tag to compare

Patch Changes

[email protected]

18 Nov 13:39
4b30a60
Compare
Choose a tag to compare

Patch Changes

[email protected]

17 Nov 11:25
da1096a
Compare
Choose a tag to compare

Minor Changes

  • #2193 0047ad30 Thanks @JacobMGEvans! - Local Mode Console Support
    Added support for detailed console.log capability when using --experimental-local

    resolves #2122

Patch Changes

  • #2192 add4278a Thanks @mrbbot! - Add a --experimental-local-remote-kv flag to enable reading/writing from/to real KV namespaces.
    Note this flag requires --experimental-local to be enabled.

  • #2204 c725ce01 Thanks @jahands! - fix: Upload filepath-routing configuration in wrangler pages publish

    Publishing Pages projects containing a functions directory incorrectly did not upload the filepath-routing config so that the user can view it in Dash. This fixes that, making the generated routes viewable under Routing configuration in the Functions tab of a deployment.