itty-router
A tiny, zero-dependency router, designed to make beautiful APIs in any environment.
5.0.24
kwhitley/itty-router
What this package is like to depend on
Last release 2 months ago
08 Jun 2026
Ships unpredictably
gaps range from 8 days to 11 months
Rarely documented
notes for 21 of 175 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
271 releases · first in 2020
2 releases in the last 12 months
see the full history below
Release timeline
271 releases · Apr 2020 to Jun 2026Releases
latest 60 of 271-
6.0.029 Mar 2024 withdrawnthis package has been deprecated
Nothing published for this version
-
5.0.2408 Jun 2026 -
5.0.2326 Feb 2026Release notes
Open source →- fixed: cors/corsify should no longer throw immutable headers error (edge case fix)
-
5.0.2211 Aug 2025 -
5.0.2104 Aug 2025 -
5.0.2026 Jul 2025 -
5.0.1926 Jul 2025 -
5.0.1816 Aug 2024 -
5.0.1728 Apr 2024 -
5.0.1620 Apr 2024 -
5.0.1514 Apr 2024 -
5.0.1414 Apr 2024 -
5.0.1314 Apr 2024Release notes
Open source →- fixed: Router/AutoRouter stages were not connected to router-level generics
-
5.0.1209 Apr 2024 -
5.0.12-next.009 Apr 2024 pre-releaseNothing published for this version
-
5.0.1109 Apr 2024Nothing published for this version
-
5.0.1009 Apr 2024Release notes
Open source →- fixed: response formatters in finally stage could still cross pollute headers in Node
-
5.0.903 Apr 2024Release notes
Open source →- fixed: cors preflight should reflect requested headers as the default (required for credentials)
-
5.0.802 Apr 2024Nothing published for this version
-
5.0.702 Apr 2024Release notes
Open source →- fixed: withParams could attempt to bind null (collision with node adapter)
-
5.0.602 Apr 2024Release notes
Open source →- fixed: corsify as replacing status codes (now mutates original response)
-
5.0.502 Apr 2024 -
5.0.429 Mar 2024Release notes
Open source →- fixed: (TypeScript) middleware corrupting downstream request types and args
-
5.0.329 Mar 2024Nothing published for this version
-
5.0.229 Mar 2024Release notes
Open 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.
- fixed: AutoRouter was missing the router-level generics support of the other 2 routers.
-
5.0.129 Mar 2024Nothing published for this version
-
5.0.029 Mar 2024Release notes
Open 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
- BREAKING: router.fetch replaces router.handle (now deprecated)
-
5.0.0-next.329 Mar 2024 pre-releaseNothing published for this version
-
5.0.0-next.228 Mar 2024 pre-releaseNothing published for this version
-
5.0.0-next.128 Mar 2024 pre-releaseNothing published for this version
-
4.3.0-next.425 Mar 2024 pre-releaseNothing published for this version
-
4.3.0-next.325 Mar 2024 pre-releaseNothing published for this version
-
4.3.0-next.225 Mar 2024 pre-releaseNothing published for this version
-
4.3.0-next.120 Mar 2024 pre-releaseNothing published for this version
-
4.3.0-next.017 Mar 2024 pre-releaseNothing published for this version
-
4.2.216 Mar 2024Nothing published for this version
-
4.2.113 Mar 2024Nothing published for this version
-
4.2.013 Mar 2024Nothing published for this version
-
4.1.112 Mar 2024Nothing published for this version
-
4.1.1-next.013 Mar 2024 pre-releaseNothing published for this version
-
4.1.012 Mar 2024Nothing published for this version
-
4.1.0-next.413 Sep 2023 pre-releaseNothing published for this version
-
4.1.0-next.313 Sep 2023 pre-releaseNothing published for this version
-
4.1.0-next.213 Sep 2023 pre-releaseNothing published for this version
-
4.1.0-next.116 Aug 2023 pre-releaseNothing published for this version
-
4.1.0-next.016 Aug 2023 pre-releaseNothing published for this version
-
4.0.2812 Mar 2024Nothing published for this version
-
4.0.2710 Jan 2024Nothing published for this version
-
4.0.2603 Jan 2024Nothing published for this version
-
4.0.2522 Dec 2023Nothing published for this version
-
4.0.25-next.122 Dec 2023 pre-releaseNothing published for this version
-
4.0.25-next.022 Dec 2023 pre-releaseNothing published for this version
-
4.0.2420 Dec 2023Nothing published for this version
-
4.0.24-next.022 Dec 2023 pre-releaseNothing published for this version
-
4.0.2312 Sep 2023Nothing published for this version
-
4.0.2220 Aug 2023Nothing published for this version
-
4.0.2120 Aug 2023Nothing published for this version
-
4.0.2019 Aug 2023Nothing published for this version
-
4.0.1919 Aug 2023Nothing published for this version
-
4.0.1819 Aug 2023Nothing published for this version