Skip to content

Releases: cloudflare/workers-sdk

[email protected]

12 Feb 00:38
825a021
Compare
Choose a tag to compare

Patch Changes

@cloudflare/[email protected]

12 Feb 00:37
825a021
Compare
Choose a tag to compare

Minor Changes

@cloudflare/[email protected]

12 Feb 00:38
825a021
Compare
Choose a tag to compare

Patch Changes

  • #7810 ac4f30b Thanks @edmundhung! - Added Vite dependency pre-bundling support. If you encounter module resolution issues—such as: Error: Cannot use require() to import an ES Module or Error: No such module—you can now bundle these dependencies using the deps.optimizer option:

    import { defineWorkersConfig } from "@cloudflare/vitest-pool-workers/config";
    
    export default defineWorkersConfig({
      test: {
        deps: {
          optimizer: {
            ssr: {
              enabled: true,
              include: ["your-package-name"],
            },
          },
        },
        poolOptions: {
          workers: {
            // ...
          },
        },
      },
    });

    Fixed #6591, #6581, #6405.

  • Updated dependencies [a025ad2]:

[email protected]

11 Feb 14:52
127a3fd
Compare
Choose a tag to compare

Minor Changes

  • #7990 b1966df Thanks @cmsparks! - Add WRANGLER_CI_OVERRIDE_NAME for Workers CI

  • #8028 b2dca9a Thanks @emily-shen! - feat: Also log when no bindings are found.

    We currently print a worker's bindings during dev, versions upload and deploy. This just also prints something when there's no bindings found, in case you were expecting bindings.

  • #8037 71fd250 Thanks @WillTaylorDev! - Provides unsafe.metadata configurations when using wrangler versions secret put.

Patch Changes

  • #8058 1f80d69 Thanks @WillTaylorDev! - Bugfix: Modified versions secret put to inherit all known bindings, which circumvents a limitation in the API which does not return all fields for all bindings.

  • #7986 88514c8 Thanks @andyjessop! - docs: clarifies that local resources are "simulated locally" or "connected to remote resource", and adds console messages to help explain local dev

  • #8008 9d08af8 Thanks @ns476! - Add support for Images bindings (in private beta for now), with optional local support for platforms where Sharp is available.

  • #7769 6abe69c Thanks @cmackenzie1! - Adds the following new option for wrangler pipelines create and wrangler pipelines update commands:

    --cors-origins           CORS origin allowlist for HTTP endpoint (use * for any origin)  [array]
    
  • #7290 0c0374c Thanks @emily-shen! - fix: add support for workers with assets when running multiple workers in one wrangler dev instance

    #7251 added support for running multiple Workers in one wrangler dev/miniflare session. e.g. wrangler dev -c wrangler.toml -c ../worker2/wrangler.toml, which among other things, allowed cross-service RPC to Durable Objects.

    However this did not work in the same way as production when there was a Worker with assets - this PR should fix that.

  • #7769 6abe69c Thanks @cmackenzie1! - Rename wrangler pipelines <create|update> flags

    The following parameters have been renamed:

    Previous Name New Name
    access-key-id r2-access-key-id
    secret-access-key r2-secret-access-key
    transform transform-worker
    r2 r2-bucket
    prefix r2-prefix
    binding enable-worker-binding
    http enable-http
    authentication require-http-auth
    filename file-template
    filepath partition-template
  • #8012 c412a31 Thanks @mtlemilio! - Use fetchPagedListResult when listing Hyperdrive configs from the API

    This fixes an issue where only 20 configs were being listed.

  • #8077 60310cd Thanks @emily-shen! - feat: add telemetry to experimental auto-provisioning

  • Updated dependencies [c80dbd8, 0c0374c]:

[email protected]

11 Feb 14:52
127a3fd
Compare
Choose a tag to compare

Patch Changes

  • #8032 c80dbd8 Thanks @dependabot! - chore: update dependencies of "miniflare" package

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20250129.0 1.20250204.0
    @cloudflare/workers-types ^4.20250129.0 ^4.20250204.0
  • #7290 0c0374c Thanks @emily-shen! - fix: add support for workers with assets when running multiple workers in one wrangler dev instance

    #7251 added support for running multiple Workers in one wrangler dev/miniflare session. e.g. wrangler dev -c wrangler.toml -c ../worker2/wrangler.toml, which among other things, allowed cross-service RPC to Durable Objects.

    However this did not work in the same way as production when there was a Worker with assets - this PR should fix that.

[email protected]

11 Feb 16:16
1fdc88e
Compare
Choose a tag to compare

Minor Changes

  • #8024 e8272b0 Thanks @emily-shen! - Output wrangler.jsonc instead of wrangler.json

    The JSONC format allows comments, but otherwise uses standard JSON syntax.

    Note that Wrangler is still happy to parse .json files with comments (along the lines of tsconfig.json), but to prevent confusion and for default compatibility with all IDEs, create-cloudflare will now output wrangler.jsonc.

  • #8024 e8272b0 Thanks @emily-shen! - Include a .vscode/settings.json file with a 'jsonc' file association for templates that use wrangler.json

[email protected]

11 Feb 14:52
127a3fd
Compare
Choose a tag to compare

Patch Changes

  • #7917 6a500d6 Thanks @dependabot! - chore: update dependencies of "create-cloudflare" package

    The following dependency versions have been updated:

    Dependency From To
    @angular/create 19.1.2 19.1.5
    create-hono 0.15.2 0.15.3
    create-remix 2.15.2 2.15.3
    nuxi 3.20.0 3.21.1
  • #7918 88ea196 Thanks @dependabot! - chore: update dependencies of "create-cloudflare" package

    The following dependency versions have been updated:

    Dependency From To
    create-vue 3.13.0 3.14.0
  • #7919 5ed2744 Thanks @dependabot! - chore: update dependencies of "create-cloudflare" package

    The following dependency versions have been updated:

    Dependency From To
    @angular/create 19.1.2 19.1.5
    create-hono 0.15.2 0.15.3
    create-remix 2.15.2 2.15.3
    nuxi 3.20.0 3.21.1
  • #7978 5bcb204 Thanks @dependabot! - chore: update dependencies of "create-cloudflare" package

    The following dependency versions have been updated:

    Dependency From To
    @angular/create 19.1.2 19.1.5
  • #8076 9cfe0d8 Thanks @dependabot! - chore: update dependencies of "create-cloudflare" package

    The following dependency versions have been updated:

    Dependency From To
    @angular/create 19.1.5 19.1.6
  • #7854 bff209d Thanks @beratbayram! - Update the Next.js template

    • Removed top-level await in next.config.ts as it is not allowed there and not required.
    • Improved setupDevPlatform() comment
  • #8033 e62b097 Thanks @edmundhung! - update vitest version in templates to ~2.1.9

@cloudflare/[email protected]

11 Feb 14:52
127a3fd
Compare
Choose a tag to compare

Patch Changes

  • #8044 7006630 Thanks @GregBrimble! - chore: Adds analytics and code (zero-percent gated) for a new asset manifest search algorithm

@cloudflare/[email protected]

11 Feb 14:52
127a3fd
Compare
Choose a tag to compare

@cloudflare/[email protected]

11 Feb 16:16
1fdc88e
Compare
Choose a tag to compare

Patch Changes