Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump up itty-router version to v5 #9

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 24, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
itty-router (source) ^4.2.2 -> ^5.0.0 age adoption passing confidence

Release Notes

kwhitley/itty-router (itty-router)

v5.0.17

Compare Source

  • fixed: corsify should clone response before appending headers

v5.0.16

Compare Source

  • maintenance: README

v5.0.15

Compare Source

  • maintenance: types cleanup and publishing test

v5.0.14

Compare Source

  • maintenance: types cleanup and publishing test

v5.0.13

Compare Source

  • fixed: Router/AutoRouter stages were not connected to router-level generics

v5.0.12

Compare Source

  • fixed: ./types was not being properly exported

v5.0.11

Compare Source

v5.0.10

Compare Source

  • fixed: response formatters in finally stage could still cross pollute headers in Node

v5.0.9

Compare Source

  • fixed: cors preflight should reflect requested headers as the default (required for credentials)

v5.0.8

Compare Source

v5.0.7

Compare Source

  • fixed: withParams could attempt to bind null (collision with node adapter)

v5.0.6

Compare Source

  • fixed: corsify as replacing status codes (now mutates original response)

v5.0.5

Compare Source

  • fixed: corsify now properly ignores WebSocket responses

v5.0.4

Compare Source

  • fixed: (TypeScript) middleware corrupting downstream request types and args

v5.0.3

Compare Source

v5.0.2

Compare Source

  • fixed: AutoRouter was missing the router-level generics support of the other 2 routers.
    • fixed: All 3 routers had their 3rd generic argument, ResponseType added per the spec.

v5.0.1

Compare Source

  • fixed: corsify should clone response before appending headers

v5.0.0

Compare Source

  • BREAKING: router.fetch replaces router.handle (now deprecated)
    • BREAKING: "createCors" has been deprecated in favor of "cors" (new options & requirements)
    • changed: previous Router (smallest) is now IttyRouter
    • added: Router (full backwards compatability with previous Router) has been added, including:
      • "before" stage (array of request handlers)
      • "finally" stage (array of response handlers)
      • "catch" stage (single error handler)
    • added: AutoRouter (batteries-included Router)
    • fixed (TS): Routers types have been modified to allow both rotuer-level generics AND route-level generics in the same instance.
    • docs: see Migration guide at https://itty.dev/itty-router/migrations/v4-v5

For changes prior to v5, see the v4 CHANGELOG


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/itty-router-5.x branch from 757555a to 2f3a373 Compare August 7, 2024 09:33
@Brooooooklyn Brooooooklyn merged commit 7ec5436 into main Aug 13, 2024
1 check passed
@Brooooooklyn Brooooooklyn deleted the renovate/itty-router-5.x branch August 13, 2024 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant