Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 24, 2023

Bumps itty-router from 3.0.12 to 4.0.13.

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
  • 41d6750 released v4.0.13 - releasing type fix for createResponse
  • 0a8feab fixes #175 by allowing full options inclusion in status and fixing types in c...
  • af17894 released v4.0.12 - fixed export map
  • 19de5eb updated deps
  • 45e8f5a Fixed export map
  • ec447b3 Update pull_request_template.md
  • 0727801 Update pull_request_template.md
  • 89e0352 Update pull_request_template.md
  • 1d9fa92 Update pull_request_template.md
  • 08a5768 released v4.0.11-next.3 - adding /cjs folder back in for backwards compatibility
  • 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 24, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/itty-router-4.0.13 branch 2 times, most recently from 7bd5704 to 4f2716d Compare June 26, 2023 07:51
Bumps [itty-router](https://github.com/kwhitley/itty-router) from 3.0.12 to 4.0.13.
- [Release notes](https://github.com/kwhitley/itty-router/releases)
- [Changelog](https://github.com/kwhitley/itty-router/blob/v4.x/CHANGELOG.md)
- [Commits](kwhitley/itty-router@v3.0.12...v4.0.13)

---
updated-dependencies:
- dependency-name: itty-router
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/itty-router-4.0.13 branch from 4f2716d to f2cb950 Compare July 4, 2023 18:39
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 6, 2023

Superseded by #21.

@dependabot dependabot bot closed this Jul 6, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/itty-router-4.0.13 branch July 6, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant