Skip to content

Releases: koajs/router

v15.2.0

04 Jan 01:56

Choose a tag to compare

  • feat: add new utility that help to valdiate route params and/or migrate from previous versions to v14+ ae0e55d

v15.1.2...v15.2.0

v15.1.2

04 Jan 00:15

Choose a tag to compare


v15.1.1...v15.1.2

v15.1.1

18 Dec 22:33

Choose a tag to compare

  • chore: make the logic simpler a62d94d
  • bump deps 0bc25a1
  • fix: Make types compatible with Koa Middleware 6e9ce90

v15.1.0...v15.1.1

v15.1.0

12 Dec 19:12

Choose a tag to compare

  • fix all any types in the code + enhance the end user types (full type-safe) + fix some potential bugs + refine code structure 67b4183
  • fix: fix .use() middleware with no path params is a global match 0f27fa9
  • fix: router constructor exports on cjs 3107163
  • chore: bump deps f1af263
  • chore(deps): bump jws from 3.2.2 to 3.2.3 964f482

v15.0.0...v15.1.0

v15.0.0

02 Dec 20:40

Choose a tag to compare

  • chore: add full migration guide to v15 91a0ce2
  • feat: re-writing in TS + fix all reported bugs + add all effective enhancments + rock to v15 d53e17f
  • Revert "Fix: Ensure .use() middleware works when path or prefix contains para…" (#204) e64b164
  • Fix: Ensure .use() middleware works when path or prefix contains parameters (#203) 3ca5aa6

Check the full docs here, and the full migration here!


v14.0.0...v15.0.0

v14.0.0

02 Aug 17:19

Choose a tag to compare

  • chore: fix path under bench to be compatible with v8 + support koa v3 + node v20+ 2e33770
  • chore: update linter deps to eslint v9 a51bae3
  • chore: clean-up + update path-to-regex v8.2 + rename pathIsRegex to pathIsRegEx 4518d30
  • chore: pass trailing option to pathToRegexp call when strict is true (#190) a006b5d
  • Chore: Update path-to-regex to v8.1.0 (#189) d5da6a3
  • ci: add benchmarking to pull request checks (#199) 82d832b

v13.1.1...v14.0.0

v13.1.1

01 Jul 17:16
v13.1.1
2c46aa4

Choose a tag to compare

13.1.0

18 Sep 00:47

Choose a tag to compare

  • fix: fixed repo url 057c50a
  • fix: allowedMethods() should not fail if more than one router is defined (#183) af70276
  • fix: bump path-to-regexp to 6.3.0 (#187) 850aa38

v12.0.2

18 Sep 00:44

Choose a tag to compare

  • bump path-to-regex to v6.3.0

v13.0.0

15 Aug 14:54
v13.0.0
9b7339d

Choose a tag to compare

  • refactor: support Node.js v18+ and replace the debug module with native Node.js one (#181) 83d2b34
  • Refactor to use native Node.js modules, support Node.js v20+ and modernize the code (#180) f7ffb93
  • fix: undefined property in unmatched host (#178) 31deae8
  • docs: correct npm link reference in readme (#174) cdf8ec4

v12.0.1...v13.0.0