Repository navigation
Comparing changes
Open a pull request
base repository: honojs/hono
base: v4.13.16
head repository: honojs/hono
compare: v4.13.17
- 18 commits
- 35 files changed
- 14 contributors
Commits on Nov 4, 2026
-
fix(cookie): match the __Secure- and __Host- prefixes case-insensitiv…
…ely (#5608) * fix(cookie): match the __Secure- and __Host- prefixes case-insensitively * chore: remove comments
Configuration menu - View commit details
-
Copy full SHA for f98dcc9 - Browse repository at this point
Copy the full SHA f98dcc9View commit details -
fix(utils/url): do not match a query key across separators (#5607)
* fix(utils/url): do not match a query key across separators * chore: remove comments
Configuration menu - View commit details
-
Copy full SHA for 846e952 - Browse repository at this point
Copy the full SHA 846e952View commit details -
fix(etag,pretty-json): cancel the discarded response body (#5606)
* fix(etag,pretty-json): cancel the discarded response body * chore: remove comments
Configuration menu - View commit details
-
Copy full SHA for a512ba4 - Browse repository at this point
Copy the full SHA a512ba4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0fd46e - Browse repository at this point
Copy the full SHA c0fd46eView commit details -
fix(timing): honor an explicit precision of 0 in setMetric (#5363)
setMetric used toFixed(precision || 1), so passing precision: 0 (whole millisecond output) was silently replaced with 1 decimal place. Switch to precision ?? 1 so an explicit 0 is respected while the default stays 1. This also flows through endTime and wrapTime, which forward precision.
Configuration menu - View commit details
-
Copy full SHA for edae2bf - Browse repository at this point
Copy the full SHA edae2bfView commit details -
fix(utils/mime,ssg): match media types case-insensitively (#5449)
Co-authored-by: Ryosei Sato <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e44d0a5 - Browse repository at this point
Copy the full SHA e44d0a5View commit details -
fix(timing): escape double quotes and backslashes in Server-Timing de…
…scriptions (#5478) * fix(timing): escape double quotes and backslashes in Server-Timing descriptions * style(timing): fix formatting per check:fix * refactor(timing): escape desc in one place * test(timing): close the escaping describe block after the merge --------- Co-authored-by: Yusuke Wada <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28e7498 - Browse repository at this point
Copy the full SHA 28e7498View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b3f65a - Browse repository at this point
Copy the full SHA 2b3f65aView commit details -
fix(etag): preserve commas within quoted entity tags (#5353)
* fix(etag): preserve commas within quoted entity tags * refactor(etag): pick the quoted tags instead of splitting on commas * chore: remove a comment and a stray node_modules symlink --------- Co-authored-by: Yusuke Wada <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3f1272 - Browse repository at this point
Copy the full SHA b3f1272View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98b35af - Browse repository at this point
Copy the full SHA 98b35afView commit details -
fix(cookie): match the __Secure- and __Host- prefixes case-insensitiv…
…ely in CookieConstraint (#5611) * fix(cookie): match the __Secure- and __Host- prefixes case-insensitively in CookieConstraint * test: add descriptions to the @ts-expect-error directives
Configuration menu - View commit details
-
Copy full SHA for 456fe46 - Browse repository at this point
Copy the full SHA 456fe46View commit details -
fix(jsx): add the CSP nonce to all scripts generated by ErrorBoundary (…
…#5430) #4216 added `scriptNonce` support via `StreamingContext`, but two of the three inline scripts ErrorBoundary emits while streaming were left without the nonce: - the script that swaps in the fallback when a child rejects during streaming - the cleanup script emitted after all nested Suspense boundaries resolve Under a nonce-based CSP these scripts are blocked, so the fallback is never shown and the boundary markers are never removed. The existing "with StreamingContext" test was asserting the nonce-less cleanup script; it now expects the nonce, and a test for the error path is added.
Configuration menu - View commit details
-
Copy full SHA for bcfd02b - Browse repository at this point
Copy the full SHA bcfd02bView commit details -
fix(ssg): do not reuse created directories across toSSG runs (#5381)
`saveContentToFile` remembered the directories it had created in a module-level Set so that each one was only passed to `mkdir` once. That Set was never cleared, so it outlived the `toSSG` call that filled it. When `toSSG` runs again in the same process after the output was removed (a clean step, a rebuild, a test that writes to a fresh directory), every directory created by an earlier run is skipped and `writeFile` fails with ENOENT for nested routes such as `/about/team`. Keep the Set per run: `toSSG` creates one and passes it to `saveContentToFile`, which falls back to a fresh Set when called on its own.
Configuration menu - View commit details
-
Copy full SHA for 7852e0a - Browse repository at this point
Copy the full SHA 7852e0aView commit details -
fix(aws-lambda): sanitize non-ASCII header values in API Gateway v2 e…
…vents (#5483) EventV2Processor.getHeaders passed header values to Headers.set() as is, so a request carrying a non-ASCII header value (for example Cloudflare's cf-ipcity) was answered with 400 Invalid request. The v1, ALB and VPC Lattice processors already encode such values with sanitizeHeaderValue(). Apply the same handling to v2 in both hono/aws-lambda and @hono/aws-lambda. Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b7f9e9 - Browse repository at this point
Copy the full SHA 8b7f9e9View commit details
Commits on Nov 5, 2026
-
fix(jsx): escape element and object attribute values (#5512)
* fix(jsx): escape element and object attribute values Render JSX nodes and other objects as escaped attribute text, including promised values and asynchronous toString results. Mark precompiled JSX templates so their child-content escaping is not trusted inside attributes. Keep raw() and html values explicitly trusted, and prevent callbacks from escaped nodes from propagating into the outer stream. Cover both runtimes and the Deno precompile transform. Co-authored-by: Taku Amano <[email protected]> * perf(jsx): use a set for boolean attribute lookup Use Set.has for boolean attribute membership without changing the accepted attribute names or their rendering. * fix(jsx): serialize boolean attributes in precompiled JSX Omit false boolean attributes and emit an empty value for true ones in jsxAttr, matching JSXNode. Preserve true/false text for non-boolean names. * feat(jsx): support declarative Shadow DOM boolean attributes Recognize shadowrootclonable, shadowrootdelegatesfocus, and shadowrootserializable as boolean attributes. Cover true and false values in both attribute serializers. Co-authored-by: Taku Amano <[email protected]> * fix(jsx): omit null style attributes Skip null style values before traversing the style object in both JSXNode and jsxAttr. Cover null and undefined omission. Co-authored-by: Taku Amano <[email protected]> * fix(jsx): validate function attributes in precompiled JSX Skip on-prefixed event handlers and ref callbacks in jsxAttr. Reject functions on other attributes with the same rule as JSXNode, including when the Deno precompile transform calls jsxAttr. Co-authored-by: Taku Amano <[email protected]> * refactor(jsx): share attribute serialization between JSXNode and jsxAttr Use attributeToBuffer for both render paths so attribute handling cannot drift between them. Keep the explicit string conversion required by the buffer type. Handle dangerouslySetInnerHTML separately when the value is an object with __html; other values follow the normal attribute serializer. * perf(jsx): add a string fast path to jsxAttr Escape string values directly in jsxAttr instead of going through attributeToBuffer. Strings are the common case in precompiled JSX, and the shared serializer made them about 50% slower on Deno. * fix(jsx): resolve function form actions in precompiled JSX Functions passed to action and formaction threw in jsxAttr, while the form, input and button intrinsic elements accept them when rendered through JSXNode. Resolve them in the same way: use the permalink when one is attached and omit the attribute otherwise. * fix(jsx): escape async render results used as attribute values An asynchronous JSXNode.toString() resolves to an HtmlEscapedString that contains markup. It was trusted as an attribute value, while the string from a synchronous render was escaped. Mark it in the same way as a precompiled template so that both are escaped. * refactor(jsx): rename JSX_TEMPLATE to RENDERED_JSX The mark is no longer specific to precompiled templates; asynchronous JSXNode render results carry it too. Rename the symbol and its helper to match. No behavior change. --------- Co-authored-by: Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6cbe361 - Browse repository at this point
Copy the full SHA 6cbe361View commit details -
fix(jsx): do not render ref objects as attributes (#5615)
Co-authored-by: Ashunar0 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb754bd - Browse repository at this point
Copy the full SHA eb754bdView commit details
Commits on Nov 7, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 1534ffa - Browse repository at this point
Copy the full SHA 1534ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f7c59 - Browse repository at this point
Copy the full SHA 61f7c59View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.13.16...v4.13.17