TampaDevs / api.jobs.tampa.dev

Tampa Devs Job Board API
5 stars 0 forks source link

Bump wrangler from 2.8.0 to 2.8.1 #27

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps wrangler from 2.8.0 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)