Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps wrangler from 2.7.1 to 2.8.1.

Release notes

Sourced from wrangler's releases.

wrangler@2.8.1

Patch Changes

  • #2501 a0e5a491 Thanks @​geelen! - fix: make it possible to query d1 databases from durable objects

    This PR makes it possible to access D1 from Durable Objects.

    To be able to query D1 from your Durable Object, you'll need to install the latest version of wrangler, and redeploy your Worker.

    For a D1 binding like:

    [[d1_databases]]
    binding = "DB" # i.e. available in your Worker on env.DB
    database_name = "my-database-name"
    database_id = "UUID-GOES-HERE"
    preview_database_id = "UUID-GOES-HERE"

    You'll be able to access your D1 database via env.DB in your Durable Object.

  • #2280 ef110923 Thanks @​penalosa! - Support queue and trace events in module middleware. This means that queue and trace events should work properly with the --test-scheduled flag

  • #2526 69d379a4 Thanks @​jrf0110! - Adds unstable_pages module to JS API

  • #2558 b910f644 Thanks @​caass! - Add metrics for deployments

  • #2554 fbeaf609 Thanks @​CarmenPopoviciu! - feat: Add support for wasm module imports in wrangler pages dev

    Currently it is not possible to import wasm modules in either Pages Functions or Pages Advanced Mode projects.

    This commit caries out work to address the aforementioned issue by enabling wasm module imports in wrangler pages dev. As a result, Pages users can now import their wasm modules withing their Functions or _worker.js files, and wrangler pages dev will correctly bundle everything and serve these "external" modules.

    import hello from "./hello.wasm"
    

    export async function onRequest() { const module = await WebAssembly.instantiate(hello); return new Response(module.exports.hello); }

... (truncated)

Changelog

Sourced from wrangler's changelog.

2.8.1

Patch Changes

  • #2501 a0e5a491 Thanks @​geelen! - fix: make it possible to query d1 databases from durable objects

    This PR makes it possible to access D1 from Durable Objects.

    To be able to query D1 from your Durable Object, you'll need to install the latest version of wrangler, and redeploy your Worker.

    For a D1 binding like:

    [[d1_databases]]
    binding = "DB" # i.e. available in your Worker on env.DB
    database_name = "my-database-name"
    database_id = "UUID-GOES-HERE"
    preview_database_id = "UUID-GOES-HERE"

    You'll be able to access your D1 database via env.DB in your Durable Object.

  • #2280 ef110923 Thanks @​penalosa! - Support queue and trace events in module middleware. This means that queue and trace events should work properly with the --test-scheduled flag
  • #2554 fbeaf609 Thanks @​CarmenPopoviciu! - feat: Add support for wasm module imports in wrangler pages dev

    Currently it is not possible to import wasm modules in either Pages Functions or Pages Advanced Mode projects.

    This commit caries out work to address the aforementioned issue by enabling wasm module imports in wrangler pages dev. As a result, Pages users can now import their wasm modules withing their Functions or _worker.js files, and wrangler pages dev will correctly bundle everything and serve these "external" modules.

    import hello from "./hello.wasm"
    

    export async function onRequest() { const module = await WebAssembly.instantiate(hello); return new Response(module.exports.hello); }

... (truncated)

Commits

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.8.1.
- [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.8.1/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 23, 2023
@dependabot dependabot bot requested a review from seven7ty January 23, 2023 20:19
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 30, 2023

Superseded by #68.

@dependabot dependabot bot closed this Jan 30, 2023
@dependabot dependabot bot deleted the dependabot-npm_and_yarn-wrangler-2.8.1 branch January 30, 2023 20:19
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