Packages

wrangler

4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed

Your version

3.76.0

10 Sep 2024Where it was published

3.114.17 is the newest release of 3.x.

In short

2 new2 fixed1 internal

Security

1 advisory affects 3.76.0; 3.114.17 fixes them

Release note

Minor Changes

  • Add 'cloudchamber curl' command

    Adds a cloudchamber curl command which allows easy access to arbitrary cloudchamber API endpoints.

  • Integrate the Cloudflare Pipelines product into wrangler.

    Cloudflare Pipelines is a product that handles the ingest of event streams
    into R2. This feature integrates various forms of managing pipelines.

    Usage:
    wrangler pipelines create <pipeline>: Create a new pipeline
    wrangler pipelines list: List current pipelines
    wrangler pipelines show <pipeline>: Show a pipeline configuration
    wrangler pipelines update <pipeline>: Update a pipeline
    wrangler pipelines delete <pipeline>: Delete a pipeline

    Examples:
    wrangler pipelines create my-pipeline --r2 MY_BUCKET --access-key-id "my-key" --secret-access-key "my-secret"
    wrangler pipelines show my-pipeline
    wrangler pipelines delete my-pipline

Patch Changes

  • Add hyperdrive binding support in getPlatformProxy

    example:

    # wrangler.toml
    [[hyperdrive]]
    binding = "MY_HYPERDRIVE"
    id = "000000000000000000000000000000000"
    localConnectionString = "postgres://user:pass@127.0.0.1:1234/db"
    // index.mjs
    
    import postgres from "postgres";
    import { getPlatformProxy } from "wrangler";
    
    const { env, dispose } = await getPlatformProxy();
    
    try {
      const sql = postgres(
        // Note: connectionString points to `postgres://user:pass@127.0.0.1:1234/db` not to the actual hyperdrive
        //       connection string, for more details see the explanation below
        env.MY_HYPERDRIVE.connectionString,
      );
      const results = await sql`SELECT * FROM pg_tables`;
      await sql.end();
    } catch (e) {
      console.error(e);
    }
    
    await dispose();

    Note: the returned binding values are no-op/passthrough that can be used inside node.js, meaning
    that besides direct connections via the connect methods, all the other values point to the
    same db connection specified in the user configuration

  • ecdfabe Thanks @petebacondarwin! - fix: don't warn about node:async_hooks if nodejs_als is set

    Fixes #6011

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.