discord / cloudflare-sample-app

Example discord bot using Cloudflare Workers
MIT License
289 stars 79 forks source link

build(deps): bump itty-router from 3.0.12 to 4.0.11 #15

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps itty-router from 3.0.12 to 4.0.11.

Release notes

Sourced from itty-router's releases.

v4.0.0

This is an extensive v4.x update, bringing a series of quality of life additions, as well as a potentially breaking change for TypeScript users:

!Breaking Changes!

  • TYPES HAVE CHANGED FOR THE ROUTER. The core TypeScript and exposed types for the Router itself have been completely retooled to allow much better, strong type support throughout your routes. Previously this required complex custom setups to work around the lack of internal typing. Now it's included out of the box, but you'll need to follow the instructions.

    This was not an easy change to commit to, but was long overdue. The solution finally settled on allows for a more flexible (yet boiler-platey) approach, or a more rigid one... but allows for many more scenarios than the previous types did.

Other Changes

  • added: nearly all the extras from itty-router-extras have moved in-house to the core library. This library will be deprecated as a result.
  • added: createCors from itty-cors has moved into the core library as well
  • feature: withParams middleware (previously from itty-router-extras) is now possible to use as upstream middleware (e.g. globally) to reduce boilerplate. Previously this was not possible.

Official Documentation Site

We've just launched a itty.dev to house documentation for all the itty projects going forward. Previously, we auto-generated docs from the README, but clearly the documentation needs far outweighed what could feasibly fit within a single long README. See the itty-router section for more details!

See the migration guide for complete details.

Commits
  • 64ec625 released v4.0.11 - hotfix: repair 4.0.10
  • ddf822b released v4.0.10-next.4 - retry
  • 59239b4 released v4.0.10-next.0 - removing specified exports
  • 4bf18d1 released v4.0.10 - fixes esm/cjs iimport issue
  • b3899a2 released v4.0.9-next.0 - Fixes ESM/CJS import issue with explicit named expor...
  • d83653e Fix: v4.x exports (#172)
  • 44e7204 Update README.md
  • 0d36aa9 Update README.md
  • 88a145b released v4.0.9 - hotfix: fixed prettier mangling Router
  • 4c8e93b released v4.0.8 - added prettier
  • 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)
colinloretz commented 1 year ago

@dependabot rebase

dependabot[bot] commented 1 year ago

Superseded by #18.