PackageTrack
Sign in Get early access

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 2026
2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 271
  1. 6.0.0 29 Mar 2024 withdrawn

    this package has been deprecated

    Nothing published for this version

  2. 5.0.24 08 Jun 2026
    Release notes Open source →
    Release notes
    • fixed: greedy param (/a/:b+) would reject /a but accept /a/ (bad)
    Open source →
  3. 5.0.23 26 Feb 2026
    Release notes Open source →
    Release notes
    • fixed: cors/corsify should no longer throw immutable headers error (edge case fix)
    Open source →
  4. 5.0.22 11 Aug 2025
    Release notes Open source →
  5. 5.0.21 04 Aug 2025
    Release notes Open source →
  6. 5.0.20 26 Jul 2025
    Release notes Open source →
    Release notes
    • docs: export default { ...router } as README example
    Open source →
  7. 5.0.19 26 Jul 2025
    Release notes Open source →
  8. 5.0.18 16 Aug 2024
    Release notes Open source →
  9. 5.0.17 28 Apr 2024
    Release notes Open source →
    Release notes
    • fixed: corsify should clone response before appending headers
    Open source →
  10. 5.0.16 20 Apr 2024
    Release notes Open source →
    Release notes
    • maintenance: README
    Open source →
  11. 5.0.15 14 Apr 2024
    Release notes

    updating release script

    Open source →
    Release notes
    • maintenance: types cleanup and publishing test
    Open source →
  12. 5.0.14 14 Apr 2024
    Release notes
    • maintenance: types cleanup and publishing test
    Open source →
  13. 5.0.13 14 Apr 2024
    Release notes
    • fixed: Router/AutoRouter stages were not connected to router-level generics
    Open source →
  14. 5.0.12 09 Apr 2024
    Release notes
    • fixed: ./types was not being properly exported
    Open source →
  15. 5.0.12-next.0 09 Apr 2024 pre-release

    Nothing published for this version

  16. 5.0.11 09 Apr 2024

    Nothing published for this version

  17. 5.0.10 09 Apr 2024
    Release notes
    • fixed: response formatters in finally stage could still cross pollute headers in Node
    Open source →
  18. 5.0.9 03 Apr 2024
    Release notes
    • fixed: cors preflight should reflect requested headers as the default (required for credentials)
    Open source →
  19. 5.0.8 02 Apr 2024

    Nothing published for this version

  20. 5.0.7 02 Apr 2024
    Release notes
    • fixed: withParams could attempt to bind null (collision with node adapter)
    Open source →
  21. 5.0.6 02 Apr 2024
    Release notes
    • fixed: corsify as replacing status codes (now mutates original response)
    Open source →
  22. 5.0.5 02 Apr 2024
    Release notes
    • fixed: corsify now properly ignores WebSocket responses
    Open source →
  23. 5.0.4 29 Mar 2024
    Release notes
    • fixed: (TypeScript) middleware corrupting downstream request types and args
    Open source →
  24. 5.0.3 29 Mar 2024

    Nothing published for this version

  25. 5.0.2 29 Mar 2024
    Release notes
    • 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.
    Open source →
  26. 5.0.1 29 Mar 2024

    Nothing published for this version

  27. 5.0.0 29 Mar 2024
    Release notes
    • 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

    Open source →
  28. 5.0.0-next.3 29 Mar 2024 pre-release

    Nothing published for this version

  29. 5.0.0-next.2 28 Mar 2024 pre-release

    Nothing published for this version

  30. 5.0.0-next.1 28 Mar 2024 pre-release

    Nothing published for this version

  31. 4.3.0-next.4 25 Mar 2024 pre-release

    Nothing published for this version

  32. 4.3.0-next.3 25 Mar 2024 pre-release

    Nothing published for this version

  33. 4.3.0-next.2 25 Mar 2024 pre-release

    Nothing published for this version

  34. 4.3.0-next.1 20 Mar 2024 pre-release

    Nothing published for this version

  35. 4.3.0-next.0 17 Mar 2024 pre-release

    Nothing published for this version

  36. 4.2.2 16 Mar 2024

    Nothing published for this version

  37. 4.2.1 13 Mar 2024

    Nothing published for this version

  38. 4.2.0 13 Mar 2024

    Nothing published for this version

  39. 4.1.1 12 Mar 2024

    Nothing published for this version

  40. 4.1.1-next.0 13 Mar 2024 pre-release

    Nothing published for this version

  41. 4.1.0 12 Mar 2024

    Nothing published for this version

  42. 4.1.0-next.4 13 Sep 2023 pre-release

    Nothing published for this version

  43. 4.1.0-next.3 13 Sep 2023 pre-release

    Nothing published for this version

  44. 4.1.0-next.2 13 Sep 2023 pre-release

    Nothing published for this version

  45. 4.1.0-next.1 16 Aug 2023 pre-release

    Nothing published for this version

  46. 4.1.0-next.0 16 Aug 2023 pre-release

    Nothing published for this version

  47. 4.0.28 12 Mar 2024

    Nothing published for this version

  48. 4.0.27 10 Jan 2024

    Nothing published for this version

  49. 4.0.26 03 Jan 2024

    Nothing published for this version

  50. 4.0.25 22 Dec 2023

    Nothing published for this version

  51. 4.0.25-next.1 22 Dec 2023 pre-release

    Nothing published for this version

  52. 4.0.25-next.0 22 Dec 2023 pre-release

    Nothing published for this version

  53. 4.0.24 20 Dec 2023

    Nothing published for this version

  54. 4.0.24-next.0 22 Dec 2023 pre-release

    Nothing published for this version

  55. 4.0.23 12 Sep 2023

    Nothing published for this version

  56. 4.0.22 20 Aug 2023

    Nothing published for this version

  57. 4.0.21 20 Aug 2023

    Nothing published for this version

  58. 4.0.20 19 Aug 2023

    Nothing published for this version

  59. 4.0.19 19 Aug 2023

    Nothing published for this version

  60. 4.0.18 19 Aug 2023

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive