TampaDevs / api.jobs.tampa.dev

Tampa Devs Job Board API
5 stars 0 forks source link

Bump wrangler from 2.6.2 to 2.8.0 #21

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps wrangler from 2.6.2 to 2.8.0.

Release notes

Sourced from wrangler's releases.

wrangler@2.8.0

Minor Changes

  • #2538 af4f27c5 Thanks @​edevil! - feat: support EmailEvent event type in wrangler tail.

  • #2404 3f824347 Thanks @​petebacondarwin! - feat: support bundling the raw Pages _worker.js before deploying

    Previously, if you provided a _worker.js file, then Pages would simply check the file for disallowed imports and then deploy the file as-is.

    Not bundling the _worker.js file means that it cannot containing imports to other JS files, but also prevents Wrangler from adding shims such as the one for the D1 alpha release.

    This change adds the ability to tell Wrangler to pass the _worker.js through the normal Wrangler bundling process before deploying by setting the --bundle command line argument to wrangler pages dev and wrangler pages publish.

    This is in keeping with the same flag for wrangler publish.

    Currently bundling is opt-in, flag defaults to false if not provided.

Patch Changes

  • #2525 fe8c6917 Thanks @​rozenmd! - fix: send wrangler docs d1 to the right place

  • #2542 b44e1a75 Thanks @​GregBrimble! - chore: Rename --bundle to --no-bundle in Pages commands to make similar to Workers

  • #2551 bfffe595 Thanks @​rozenmd! - fix: wrangler init --from-dash incorrectly expects index.ts while writing index.js

    This PR fixes a bug where Wrangler would write a wrangler.toml expecting an index.ts file, while writing an index.js file.

  • #2529 2270507c Thanks @​CarmenPopoviciu! - Remove "experimental _routes.json" warnings

    _routes.json is no longer considered an experimental feature, so let's remove all warnings we have in place for that.

  • #2548 4db768fa Thanks @​rozenmd! - fix: path should be optional for wrangler d1 backup download

    This PR fixes a bug that forces folks to provide a --output flag to wrangler d1 backup download.

  • #2528 18208091 Thanks @​caass! - Add some guidance when folks encounter a 10021 error.

    Error code 10021 can occur when your worker doesn't pass startup validation. This error message will make it a little easier to reason about what happened and what to do next.

... (truncated)

Changelog

Sourced from wrangler's changelog.

2.8.0

Minor Changes

  • #2404 3f824347 Thanks @​petebacondarwin! - feat: support bundling the raw Pages _worker.js before deploying

    Previously, if you provided a _worker.js file, then Pages would simply check the file for disallowed imports and then deploy the file as-is.

    Not bundling the _worker.js file means that it cannot containing imports to other JS files, but also prevents Wrangler from adding shims such as the one for the D1 alpha release.

    This change adds the ability to tell Wrangler to pass the _worker.js through the normal Wrangler bundling process before deploying by setting the --bundle command line argument to wrangler pages dev and wrangler pages publish.

    This is in keeping with the same flag for wrangler publish.

    Currently bundling is opt-in, flag defaults to false if not provided.

Patch Changes

  • #2551 bfffe595 Thanks @​rozenmd! - fix: wrangler init --from-dash incorrectly expects index.ts while writing index.js

    This PR fixes a bug where Wrangler would write a wrangler.toml expecting an index.ts file, while writing an index.js file.

  • #2529 2270507c Thanks @​CarmenPopoviciu! - Remove "experimental _routes.json" warnings

    _routes.json is no longer considered an experimental feature, so let's remove all warnings we have in place for that.

  • #2548 4db768fa Thanks @​rozenmd! - fix: path should be optional for wrangler d1 backup download

    This PR fixes a bug that forces folks to provide a --output flag to wrangler d1 backup download.

  • #2528 18208091 Thanks @​caass! - Add some guidance when folks encounter a 10021 error.

    Error code 10021 can occur when your worker doesn't pass startup validation. This error message will make it a little easier to reason about what happened and what to do next.

    Closes #2519

... (truncated)

Commits
  • 853d5f2 Version Packages (#2531)
  • bfffe59 fix: wrangler init --from-dash incorrectly expects index.ts while writing ind...
  • 1820809 Add some guidance when folks encounter a 10021 error. (#2528)
  • 4db768f fix: path should be optional for wrangler d1 backup download (#2548)
  • b44e1a7 Rename --bundle to --no-bundle in Pages commands for similarity with Work...
  • af4f27c feat: support events of type EmailEvent (#2538)
  • 6a67efe fix: allow URL object to be passed to local fetch() calls (#1769)
  • 3f82434 feat: support bundling the raw Pages _worker.js before deploying (#2404)
  • fe8c691 fix: send wrangler docs d1 to the right place (#2525)
  • 2270507 fix: Remove "experimental _routes.json" warnings (#2529)
  • 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)