Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: honojs/hono
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.13.0
Choose a base ref
...
head repository: honojs/hono
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.13.1
Choose a head ref
  • 4 commits
  • 8 files changed
  • 5 contributors

Commits on Aug 5, 2026

  1. fix(trie-router): count every slash a pattern consumes (#5189)

    * fix(trie-router): count every slash a pattern consumes
    
    When a `:param{regexp}` match spans several path parts, the node is
    requeued so it resumes at the part following the match. The number of
    parts to skip was taken from `m[0].match(/\//)?.length`, but without the
    `g` flag `String.prototype.match` returns at most one match, so the
    count was 1 for any number of slashes.
    
    A pattern spanning three or more parts therefore resumed one part too
    early and matched a part it had already consumed:
    
    - `/:dirs{.+}/file.html` did not match `/foo/bar/baz/file.html`
    - `/:file{.*}/*` returned its handler twice for `/a/b/c`
    
    Two parts happened to give the right answer, which is why the existing
    `/foo/bar/file.html` case passed.
    
    * chore(trie-router): drop the explanatory comment
    
    ---------
    
    Co-authored-by: Jayesh Bhade <[email protected]>
    Jaybhade and jayesh-keychain authored Aug 5, 2026
    Configuration menu
    Copy the full SHA
    569b419 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2026

  1. Configuration menu
    Copy the full SHA
    cd31bc1 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2026

  1. Configuration menu
    Copy the full SHA
    f6aa913 View commit details
    Browse the repository at this point in the history
  2. 4.13.1

    yusukebe committed Aug 7, 2026
    Configuration menu
    Copy the full SHA
    cf78528 View commit details
    Browse the repository at this point in the history
Loading