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.5
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.6
Choose a head ref
  • 6 commits
  • 7 files changed
  • 8 contributors

Commits on Aug 27, 2026

  1. fix(client): keep a param value of "index" in $url() and $path() (#5297)

    removeIndexString() strips a trailing /index so that the synthetic .index
    accessor resolves to the route it aliases. In the $url()/$path() branch it ran
    after the params had been substituted, so anything that merely looked like the
    alias once substitution was done got stripped as well:
    
      client.docs[':page'].$path({ param: { page: 'index' } })   // "/docs"
      client.index[':v?'].$path({ param: { v: undefined } })     // "/"
    
    The second is a route with a literal /index segment; "/" does not match it and
    returns 404, so that URL never pointed at the route it came from.
    
    The alias belongs to the route template and neither of those does, so the strip
    now runs before substitution. ClientRequestImpl.fetch already does it in that
    order, which is why $get() has always returned the right path for these routes
    while $url() and $path() did not.
    MahathirMohammadShuvo authored Aug 27, 2026
    Configuration menu
    Copy the full SHA
    50b8788 View commit details
    Browse the repository at this point in the history
  2. fix(client): normalize root WebSocket URLs (#5291)

    The index segment is a client-side alias for root routes. Apply the existing normalization before path parameter substitution so $ws() targets the declared endpoint while preserving dynamic values named index.
    Ersaoktaviannn authored Aug 27, 2026
    Configuration menu
    Copy the full SHA
    499c35e View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2026

  1. fix(types): allow symbol keys in Context<any> get and set fallbacks (#…

    …5300)
    
    * fix(types): allow symbol keys in Context<any> get and set fallbacks
    
    Fixes #5298
    
    Signed-off-by: Liang Xu <[email protected]>
    
    * refactor(types): use PropertyKey for untyped Context get/set fallbacks
    
    Signed-off-by: Liang Xu <[email protected]>
    
    * ci: apply automated fixes
    
    ---------
    
    Signed-off-by: Liang Xu <[email protected]>
    Co-authored-by: Liang Xu <[email protected]>
    Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
    3 people authored Aug 28, 2026
    Configuration menu
    Copy the full SHA
    e2740d5 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2026

  1. Configuration menu
    Copy the full SHA
    ec648d6 View commit details
    Browse the repository at this point in the history
  2. refactor(on-handler): use forEach for consistent handler iteration (#…

    …5326)
    
    * refactor(on-handler): use forEach for consistent handler iteration
    
    * refactor(hono): optimize handler iteration and normalization
    
    ---------
    
    Co-authored-by: Yusuke Wada <[email protected]>
    Co-authored-by: Taku Amano <[email protected]>
    3 people authored Sep 4, 2026
    Configuration menu
    Copy the full SHA
    dac5d57 View commit details
    Browse the repository at this point in the history
  3. 4.13.6

    yusukebe committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    cac0c4d View commit details
    Browse the repository at this point in the history
Loading