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-dev): bump wrangler from 3.22.1 to 3.24.0 #19

Merged
merged 2 commits into from
Jan 28, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 25, 2024

Bumps wrangler from 3.22.1 to 3.24.0.

Release notes

Sourced from wrangler's releases.

[email protected]

Minor Changes

  • #4523 9f96f28b Thanks @​dario-piotrowicz! - Add new getBindingsProxy utility to the wrangler package

    The new utility is part of wrangler's JS API (it is not part of the wrangler CLI) and its use is to provide proxy objects to bindings, such objects can be used in Node.js code as if they were actual bindings

    The utility reads the wrangler.toml file present in the current working directory in order to discern what bindings should be available (a wrangler.json file can be used too, as well as config files with custom paths).

    Example

    Assuming that in the current working directory there is a wrangler.toml file with the following content:

    [[kv_namespaces]]
    binding = "MY_KV"
    id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    

    The utility could be used in a nodejs script in the following way:

    import { getBindingsProxy } from "wrangler";
    const { bindings, dispose } = await getBindingsProxy();
    try {
    const myKv = bindings.MY_KV;
    const kvValue = await myKv.get("my-kv-key");
    console.log(`KV Value = ${kvValue}`);
    
    } finally {
    await dispose();
    }

Patch Changes

  • #3427 b79e93a3 Thanks @​ZakKemble! - fix: Use Windows SYSTEMROOT env var for finding netstat

    Currently, the drive letter of os.homedir() (the user's home directory) is used to build the path to netstat.exe. However, user directories are not always on the same drive as the Windows installation, in which case the path to netstat will be incorrect. Now we use the %SYSTEMROOT% environment variable which correctly points to the installation path of Windows.

  • #4768 c3e410c2 Thanks @​petebacondarwin! - ci: bump undici versions to 5.28.2

  • Updated dependencies [c3e410c2]:

[email protected]

Minor Changes

... (truncated)

Changelog

Sourced from wrangler's changelog.

3.24.0

Minor Changes

  • #4523 9f96f28b Thanks @​dario-piotrowicz! - Add new getBindingsProxy utility to the wrangler package

    The new utility is part of wrangler's JS API (it is not part of the wrangler CLI) and its use is to provide proxy objects to bindings, such objects can be used in Node.js code as if they were actual bindings

    The utility reads the wrangler.toml file present in the current working directory in order to discern what bindings should be available (a wrangler.json file can be used too, as well as config files with custom paths).

    Example

    Assuming that in the current working directory there is a wrangler.toml file with the following content:

    [[kv_namespaces]]
    binding = "MY_KV"
    id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    

    The utility could be used in a nodejs script in the following way:

    import { getBindingsProxy } from "wrangler";
    const { bindings, dispose } = await getBindingsProxy();
    try {
    const myKv = bindings.MY_KV;
    const kvValue = await myKv.get("my-kv-key");
    console.log(`KV Value = ${kvValue}`);
    
    } finally {
    await dispose();
    }

Patch Changes

  • #3427 b79e93a3 Thanks @​ZakKemble! - fix: Use Windows SYSTEMROOT env var for finding netstat

    Currently, the drive letter of os.homedir() (the user's home directory) is used to build the path to netstat.exe. However, user directories are not always on the same drive as the Windows installation, in which case the path to netstat will be incorrect. Now we use the %SYSTEMROOT% environment variable which correctly points to the installation path of Windows.

3.23.0

... (truncated)

Commits
  • a979d9e Version Packages (#4781)
  • 5e25935 Gradual Rollouts versions upload (experimental) command (#4744)
  • c3e410c chore: bump undici versions to 5.28.2 (#4768)
  • f4f1dc6 make sure getBindingsProxy supports .dev.vars files (#4796)
  • 884e418 Add prettier plugin to auto-sort imports (#4139)
  • 52d37ae test: avoid mocking undici for kv and r2 local tests (#4802)
  • 9f96f28 implement getBindingsProxy utility (#4523)
  • b79e93a [wrangler] fix: Use Windows SYSTEMROOT env var for finding netstat (#3427)
  • f860aba ci: easy pre-releases for new packages (#4757)
  • 180d90e fix no-non-null-assertion warnings coming the wrangler/src/cloudchamber (#4783)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) from 3.22.1 to 3.24.0.
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/[email protected]/packages/wrangler)

---
updated-dependencies:
- dependency-name: wrangler
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 25, 2024
@niracler niracler merged commit 9d1022e into main Jan 28, 2024
1 check passed
@niracler niracler deleted the dependabot/npm_and_yarn/wrangler-3.24.0 branch January 28, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant