Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 30, 2023

Bumps wrangler from 2.7.1 to 2.9.0.

Release notes

Sourced from wrangler's releases.

wrangler@2.9.0

Minor Changes

  • #2629 151733e5 Thanks @​mrbbot! - Prefer the workerd exports condition when bundling.

    This can be used to build isomorphic libraries that have different implementations depending on the JavaScript runtime they're running in. When bundling, Wrangler will try to load the workerd key. This is the standard key for the Cloudflare Workers runtime. Learn more about the conditional exports field here.

Patch Changes

  • #2409 89d78c0a Thanks @​penalosa! - Wrangler now supports an --experimental-json-config flag which will read your configuration from a wrangler.json file, rather than wrangler.toml. The format of this file is exactly the same as the wrangler.toml configuration file, except that the syntax is JSONC (JSON with comments) rather than TOML. This is experimental, and is not recommended for production use.

  • #2623 04d8a312 Thanks @​dario-piotrowicz! - fix d1 directory not being created when running the wrangler d1 execute command with the --yes/-y flag

  • #2608 70daffeb Thanks @​dario-piotrowicz! - fix: Add support for D1 databases when bundling an _worker.js on wrangler pages publish

  • #2597 416babf0 Thanks @​petebacondarwin! - fix: do not crash in wrangler dev when passing a request object to fetch

    This reverts and fixes the changes in cloudflare/wrangler2#1769 which does not support creating requests from requests whose bodies have already been consumed.

    Fixes #2562

  • #2622 9778b33e Thanks @​rozenmd! - fix: implement d1 list --json with clean output for piping into other commands

    Before:

    rozenmd@cflaptop test % npx wrangler d1 list
    --------------------
    🚧 D1 is currently in open alpha and is not recommended for production data and traffic
    🚧 Please report any bugs to https://github.com/cloudflare/wrangler2/issues/new/choose
    🚧 To request features, visit https://community.cloudflare.com/c/developers/d1
    🚧 To give feedback, visit https://discord.gg/cloudflaredev
    --------------------
    ┌──────────────────────────────┬─────────────────┐
    │ uuid                         │ name            │
    ├──────────────────────────────┼─────────────────┤
    │ xxxxxx-xxxx-xxxx-xxxx-xxxxxx │ test            │
    ├──────────────────────────────┼─────────────────┤
    │ xxxxxx-xxxx-xxxx-xxxx-xxxxxx │ test2           │
    ├──────────────────────────────┼─────────────────┤
    │ xxxxxx-xxxx-xxxx-xxxx-xxxxxx │ test3           │

... (truncated)

Changelog

Sourced from wrangler's changelog.

2.9.0

Minor Changes

  • #2629 151733e5 Thanks @​mrbbot! - Prefer the workerd exports condition when bundling.

    This can be used to build isomorphic libraries that have different implementations depending on the JavaScript runtime they're running in. When bundling, Wrangler will try to load the workerd key. This is the standard key for the Cloudflare Workers runtime. Learn more about the conditional exports field here.

Patch Changes

  • #2409 89d78c0a Thanks @​penalosa! - Wrangler now supports an --experimental-json-config flag which will read your configuration from a wrangler.json file, rather than wrangler.toml. The format of this file is exactly the same as the wrangler.toml configuration file, except that the syntax is JSONC (JSON with comments) rather than TOML. This is experimental, and is not recommended for production use.
  • #2622 9778b33e Thanks @​rozenmd! - fix: implement d1 list --json with clean output for piping into other commands

    Before:

    rozenmd@cflaptop test % npx wrangler d1 list
    --------------------
    🚧 D1 is currently in open alpha and is not recommended for production data and traffic
    🚧 Please report any bugs to https://github.com/cloudflare/wrangler2/issues/new/choose
    🚧 To request features, visit https://community.cloudflare.com/c/developers/d1
    🚧 To give feedback, visit https://discord.gg/cloudflaredev
    --------------------
    ┌──────────────────────────────┬─────────────────┐
    │ uuid                         │ name            │
    ├──────────────────────────────┼─────────────────┤
    │ xxxxxx-xxxx-xxxx-xxxx-xxxxxx │ test            │
    ├──────────────────────────────┼─────────────────┤
    │ xxxxxx-xxxx-xxxx-xxxx-xxxxxx │ test2           │
    ├──────────────────────────────┼─────────────────┤
    │ xxxxxx-xxxx-xxxx-xxxx-xxxxxx │ test3           │
    └──────────────────────────────┴─────────────────┘

... (truncated)

Commits
  • 5804c74 Version Packages (#2595)
  • 6f0f2ba [D1] add a json option to execute (#2627)
  • 6b3fe5e fix wrangler publish --dry-run to not require authentication with queues (#2631)
  • 151733e Prioritise workerd condition when bundling (#2629)
  • 04d8a31 fix: create d1 dir on wrangler d1 execute command with --yes/-y option (#2623)
  • 9778b33 fix: cleans up d1 list output for json (#2622)
  • 70daffe fix: make sure d1Databases are shimmed in _worker.js files on pages publish (...
  • 416babf fix: do not crash in wrangler dev when passing a request object to fetch (#2597)
  • 89d78c0 Support wrangler.json (#2409)
  • 0697f28 Version Packages (#2561)
  • 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 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/wrangler2/tree/HEAD/packages/wrangler) from 2.7.1 to 2.9.0.
- [Release notes](https://github.com/cloudflare/wrangler2/releases)
- [Changelog](https://github.com/cloudflare/wrangler2/blob/main/packages/wrangler/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/wrangler2/commits/wrangler@2.9.0/packages/wrangler)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependabot-bump Dependabot bumping the dependencies. npm-bump A package from npm is being bumped. labels Jan 30, 2023
@dependabot dependabot bot requested a review from seven7ty January 30, 2023 20:19
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 7, 2023

Superseded by #70.

@dependabot dependabot bot closed this Feb 7, 2023
@dependabot dependabot bot deleted the dependabot-npm_and_yarn-wrangler-2.9.0 branch February 7, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot-bump Dependabot bumping the dependencies. npm-bump A package from npm is being bumped.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants