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

chore(deps): update dependency wrangler to v3.104.0 #1317

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 22, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
wrangler (source) 3.103.2 -> 3.104.0 age adoption passing confidence

Release Notes

cloudflare/workers-sdk (wrangler)

v3.104.0

Compare Source

Minor Changes
  • #​7715 26fa9e8 Thanks @​penalosa! - Support service bindings from Pages projects to Workers in a single workerd instance. To try it out, pass multiple -c flags to Wrangler: i.e. wrangler pages dev -c wrangler.toml -c ../other-worker/wrangler.toml. The first -c flag must point to your Pages config file, and the rest should point to Workers that are bound to your Pages project.

  • #​7816 f6cc029 Thanks @​dario-piotrowicz! - add support for assets bindings to getPlatformProxy

    this change makes sure that that getPlatformProxy, when the input configuration
    file contains an assets field, correctly returns the appropriate asset binding proxy

    example:

    // wrangler.json
    {
      "name": "my-worker",
      "assets": {
        "directory": "./public/",
        "binding": "ASSETS"
      },
      "vars": {
        "MY_VAR": "my-var"
      }
    }
    import { getPlatformProxy } from "wrangler";
    
    const { env, dispose } = await getPlatformProxy();
    
    if (env.ASSETS) {
      const text = await (
        await env.ASSETS.fetch("http://0.0.0.0/file.txt")
      ).text();
      console.log(text); // logs the content of file.txt
    }
    
    await dispose();
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 313ad85 to a6cc90c Compare January 22, 2025 13:59
@renovate renovate bot merged commit dff38b3 into main Jan 22, 2025
29 checks passed
@renovate renovate bot deleted the renovate/wrangler-3.x branch January 22, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants