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/node-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.2
Choose a base ref
...
head repository: honojs/node-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.4
Choose a head ref
  • 6 commits
  • 12 files changed
  • 4 contributors

Commits on May 13, 2026

  1. chore(ci): update GitHub Actions versions (#352)

    * chore(ci): update GitHub Actions versions
    
    * add SHA
    
    ---------
    
    Co-authored-by: Yusuke Wada <[email protected]>
    BlankParticle and yusukebe authored May 13, 2026
    Configuration menu
    Copy the full SHA
    4aa0650 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2026

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

Commits on May 18, 2026

  1. fix: preserve headers mutated after raw Response construction (#357)

    When a handler returns `new Response(body, init)` and appends headers
    after construction (e.g. `res.headers.append('Set-Cookie', ...)`), the
    headers were silently dropped once middleware cloned the response via
    `new Response(c.res.body, c.res)` (the pattern used by `cors` and
    `compress`).
    
    There were two paths that lost the mutations:
    
    - The constructor read `init.#init.headers` — the *original* init
      passed at construction time — instead of `init.headers` (the live
      getter backed by `cacheKey[2]`).
    - `getResponseCache` built the underlying `GlobalResponse` from
      `this.#init` without consulting the live `cacheKey[2]` headers, so
      any access to a delegated property (`.body`, `.text()`, ...) before
      the clone would freeze the stale init headers.
    
    Both spots now consult the live `Headers` instance on `cacheKey[2]`
    when present, so post-construction header mutations survive cloning.
    
    Fixes #304
    abdulmunimjemal authored May 18, 2026
    Configuration menu
    Copy the full SHA
    9463250 View commit details
    Browse the repository at this point in the history
  2. 2.0.3

    yusukebe committed May 18, 2026
    Configuration menu
    Copy the full SHA
    9d87987 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2026

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

    yusukebe committed May 24, 2026
    Configuration menu
    Copy the full SHA
    9e1cdee View commit details
    Browse the repository at this point in the history
Loading