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.12.3
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.12.5
Choose a head ref
  • 11 commits
  • 33 files changed
  • 12 contributors

Commits on Mar 2, 2026

  1. fix(client): preserve route schema in ApplyGlobalResponse (#4777)

    * fix(client): preserve route schema in ApplyGlobalResponse
    
    * ci: apply automated fixes
    
    ---------
    
    Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
    agumy and autofix-ci[bot] authored Mar 2, 2026
    Configuration menu
    Copy the full SHA
    0768232 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2026

  1. Merge commit from fork

    * fix(serve-static): replace decodeURIComponent with tryDecodeURI to prevent auth bypass
    Co-authored-by: Taku Amano <[email protected]>
    
    * fix(serve-static): replace decodeURIComponent with tryDecodeURI
    
    Co-authored-by: Taku Amano <[email protected]>
    Co-authored-by: EdamAmex <[email protected]>
    
    * fix(serve-static): streamline app.use syntax and ensure consistent string quotes in tests
    
    ---------
    
    Co-authored-by: Taku Amano <[email protected]>
    Co-authored-by: EdamAmex <[email protected]>
    3 people authored Mar 3, 2026
    Configuration menu
    Copy the full SHA
    6a0607a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80a9837 View commit details
    Browse the repository at this point in the history
  3. Merge commit from fork

    * fix: sse event must not contain \r or \n
    
    * fix: improve error message
    usualoma authored Mar 3, 2026
    Configuration menu
    Copy the full SHA
    f4123ed View commit details
    Browse the repository at this point in the history
  4. Merge commit from fork

    usualoma authored Mar 3, 2026
    Configuration menu
    Copy the full SHA
    44ae0c8 View commit details
    Browse the repository at this point in the history
  5. 4.12.4

    yusukebe committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    19d20d2 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2026

  1. fix(request): return string | undefined from param() when path type…

    … is any (#4723)
    
    * fix: return string | undefined from param() when path type is any
    
    When middleware uses Context with a default path type parameter (any),
    c.req.param('key') incorrectly returns string instead of string | undefined.
    This is because ParamKeys<any> resolves to string, matching the first
    overload that returns string.
    
    Add a new overload that detects when P is any using the 0 extends (1 & P)
    trick and returns string | undefined, ensuring type safety in middleware.
    
    Fixes #3198
    
    * ci: apply automated fixes
    
    * test(request): add type tests for param() with any path type
    
    * fixed the overload and test
    
    ---------
    
    Co-authored-by: exe.dev user <[email protected]>
    Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
    Co-authored-by: andrewdamelio <[email protected]>
    Co-authored-by: Yusuke Wada <[email protected]>
    5 people authored Mar 4, 2026
    Configuration menu
    Copy the full SHA
    0f49915 View commit details
    Browse the repository at this point in the history
  2. fix(jwt): validate token format in decode and decodeHeader functions (#…

    …4752)
    
    * fix(jwt): validate token format in decode and decodeHeader functions
    
    * refactor: simplify the code
    
    ---------
    
    Co-authored-by: Yusuke Wada <[email protected]>
    otoneko1102 and yusukebe authored Mar 4, 2026
    Configuration menu
    Copy the full SHA
    8c4d7f3 View commit details
    Browse the repository at this point in the history
  3. fix(jsx): Fix "Invalid state: Controller is already closed" (#4770)

    * Add failing test cases for Invalid state: Controller is already closed
    
    * Fix the crashes
    
    * refactored
    
    Co-authored-by: Taku Amano <[email protected]>
    
    ---------
    
    Co-authored-by: Yusuke Wada <[email protected]>
    Co-authored-by: Taku Amano <[email protected]>
    3 people authored Mar 4, 2026
    Configuration menu
    Copy the full SHA
    b8cff18 View commit details
    Browse the repository at this point in the history
  4. chore(eslint): upgrade @hono/eslint-config (#4781)

    * chore(eslint): upgrade `@hono/eslint-config`
    
    * chore(eslint): fix lint
    BarryThePenguin authored Mar 4, 2026
    Configuration menu
    Copy the full SHA
    5d59ac7 View commit details
    Browse the repository at this point in the history
  5. 4.12.5

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