Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 27, 2023

Bumps itty-router from 3.0.12 to 4.0.5.

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
  • 5bc32f6 released v4.0.5 - removed @​next from installation snippet
  • 7668923 accidental commit
  • 844e0f0 Revert "removed build folder"
  • 9fcc989 removed build folder
  • 4617cfa removed bun test files
  • 83c78de released v4.0.4 - added CONTRIBUTRING.md
  • ab9fa92 released v4.0.3 - updated deps and added code of conduct
  • f40d7ef released v4.0.2 - README update
  • 533bcf9 Update docs header in README.md
  • a9143e4 released v4.0.1 - updated links in README and added --patch to release by def...
  • 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 May 27, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/itty-router-4.0.5 branch from 14a993e to ea6a6a6 Compare May 27, 2023 18:04
Bumps [itty-router](https://github.com/kwhitley/itty-router) from 3.0.12 to 4.0.5.
- [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.5)

---
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.5 branch from ea6a6a6 to 9d9587a Compare May 27, 2023 18:41
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 29, 2023

Superseded by #6.

@dependabot dependabot bot closed this May 29, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/itty-router-4.0.5 branch May 29, 2023 14:07
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