Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #6645

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Version Packages #6645

merged 1 commit into from
Sep 10, 2024

Conversation

workers-devprod
Copy link
Contributor

@workers-devprod workers-devprod commented Sep 6, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

wrangler@3.76.0

Minor Changes

  • #6126 18c105b Thanks @IRCody! - feature: Add 'cloudchamber curl' command

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

  • #6649 46a91e7 Thanks @andyjessop! - feature: 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

  • #6612 6471090 Thanks @dario-piotrowicz! - fix: 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

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

    Fixes 🐛 BUG: wrangler does not mark node:async_hooks as external when nodejs_als compatibility flag is used #6011

  • Updated dependencies [5936282, 6471090]:

    • miniflare@3.20240821.2

miniflare@3.20240821.2

Patch Changes

  • #6627 5936282 Thanks @GregBrimble! - fix: Fixes max asset count error message to properly report count of assets

  • #6612 6471090 Thanks @dario-piotrowicz! - fix: add hyperdrive bindings support in getBindings

    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

@cloudflare/pages-shared@0.11.55

Patch Changes

@cloudflare/vitest-pool-workers@0.4.30

Patch Changes

@cloudflare/quick-edit@0.1.0

Minor Changes

@workers-devprod workers-devprod requested review from a team as code owners September 6, 2024 18:10
Copy link
Contributor

github-actions bot commented Sep 6, 2024

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10796761359/npm-package-wrangler-6645

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6645/npm-package-wrangler-6645

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10796761359/npm-package-wrangler-6645 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10796761359/npm-package-create-cloudflare-6645 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10796761359/npm-package-cloudflare-kv-asset-handler-6645
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10796761359/npm-package-miniflare-6645
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10796761359/npm-package-cloudflare-pages-shared-6645
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10796761359/npm-package-cloudflare-vitest-pool-workers-6645
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10796761359/npm-package-cloudflare-workers-editor-shared-6645
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10796761359/npm-package-cloudflare-workers-shared-6645

Note that these links will no longer work once the GitHub Actions artifact expires.


wrangler@3.76.0 includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20240821.2
workerd 1.20240821.1 1.20240821.1
workerd --version 1.20240821.1 2024-08-21

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

@workers-devprod workers-devprod force-pushed the changeset-release/main branch 6 times, most recently from e30f32a to cd8a3cc Compare September 10, 2024 11:33
@penalosa penalosa merged commit 395e105 into main Sep 10, 2024
26 checks passed
@penalosa penalosa deleted the changeset-release/main branch September 10, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

🐛 BUG: wrangler does not mark node:async_hooks as external when nodejs_als compatibility flag is used
3 participants