honojs/hono ea329b83..ad570f2b
base and head as given
- Route matching is selectable when applications are created.
- A regular-expression router joins the built-in trie router.
- The regular-expression router uses the shared routing interface.
- files changed
- 10
- in a component
- 8
- lines in components
- 375
- components
- 3
- public routes changed
- 0
- schema statements
- 0
- new dependencies
- 0
- excluded by role
- 2
Selectable route matching
Added- Before
- Only trie routing was available
- After
- Trie or regex routing is selectable
Applications can select regular-expression route matching when created. The matcher combines routes by method, supports parameters and wildcards, includes all-method middleware, and discards registered route lists after building matchers.
In favour
- In favour: Reuses one routing contract for default and alternate matchers
- In favour: Releases registered routes after building matchers
Against
- Against: Regex routers reject routes after their first match
1 new dependency between components — Reg Exp Router → Source
What else could behave differently
2 components · 6 filesThese components import changed code, directly or through other files. A traced dependency is a place to review, not a confirmed runtime failure.
Reached 2
| Component | Symbol | Cited at | Files | Reached by |
|---|---|---|---|---|
| Sourcesrc/ | Signature changed Hono1 of 6 changed symbols reaching it | src/hono.ts:55-229 | 3 | 3 directTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
| Reg Exp Routersrc/router/reg-exp-router/ | Added METHOD_NAME_OF_ALL1 of 9 changed symbols reaching it | src/router.ts:1 | 3 | 3 directTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
Statements 2
Hono's signature changed and reached 3 files in Source; 4 of 10 names changed in its origin file. 3METHOD_NAME_OF_ALL was added and reached 3 files in Reg Exp Router. 314 reached files belong to no component — tests, docs and config.
Routes, schema, dependencies
No public URL, no migration and no new package.
Inspect components, files and symbols
Component
File
Diff
Analysis scope
121 → 3- files at head121
- components8
- changed by this change3
Where the new files landed
5 new files| New file | Belongs to | Used by | Calls | Serves |
|---|---|---|---|---|
| src/router.ts | Sourcebase frame | Reg Exp Router | nothing outside its own component | — |
| src/router/reg-exp-router/4 new files | Reg Exp Routernew territory | its own component only — 1 of 4 files imported by nothing | Source | — |
1 added file carries no component — 1 test.
10 files changed, 7 claims stated. 2 components reached in total.