chore(deps): update dependency hono to v4.11.9#16
Open
renovate[bot] wants to merge 1 commit intodevfrom
Open
Conversation
ab51935 to
4e9ac52
Compare
8e663e0 to
f114564
Compare
f114564 to
c55c68c
Compare
c55c68c to
eb2e868
Compare
eb2e868 to
5917d73
Compare
5917d73 to
3a7b117
Compare
457ec6f to
a00147d
Compare
a00147d to
6382c3f
Compare
6382c3f to
4c0dfbf
Compare
4c0dfbf to
424e813
Compare
424e813 to
6867534
Compare
41228d8 to
77d7479
Compare
77d7479 to
e9827d0
Compare
e9827d0 to
69a9696
Compare
69a9696 to
5610c59
Compare
5610c59 to
8eebe69
Compare
8eebe69 to
7f1cdcf
Compare
7f1cdcf to
db5349e
Compare
ba918b5 to
9d75021
Compare
6b147f6 to
cad3ea0
Compare
cad3ea0 to
5b086ce
Compare
5b086ce to
9169836
Compare
9169836 to
9327ef1
Compare
9327ef1 to
174b9a4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.6.10→4.11.9Release Notes
honojs/hono (hono)
v4.11.9Compare Source
v4.11.8Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.11.7...v4.11.8
v4.11.7Compare Source
Security Release
This release includes security fixes for multiple vulnerabilities in Hono and related middleware. We recommend upgrading if you are using any of the affected components.
Components
IP Restriction Middleware
Fixed an IPv4 address validation bypass that could allow IP-based access control to be bypassed under certain configurations.
Cache Middleware
Fixed an issue where responses marked with
Cache-Control: privateorno-storecould be cached, potentially leading to information disclosure on some runtimes.Serve Static Middleware (Cloudflare Workers adapter)
Fixed an issue that could allow unintended access to internal asset keys when serving static files with user-controlled paths.
hono/jsx
ErrorBoundaryFixed a reflected Cross-Site Scripting (XSS) issue in the
ErrorBoundarycomponent that could occur when untrusted strings were rendered without proper escaping.Recommendation
Users are encouraged to upgrade to this release, especially if they:
ErrorBoundarycomponentsSecurity Advisories & CVEs
IP Restriction Middleware – IPv4 address validation bypass
Cache Middleware ignores
Cache-Control: privateServe Static Middleware (Cloudflare Workers adapter) – Arbitrary key read
hono/jsx
ErrorBoundary– Cross-Site Scripting (XSS)Full Changelog: honojs/hono@v4.11.6...v4.11.7
v4.11.6Compare Source
What's Changed
unique symbolfor more accurate typing. by @usualoma in #4651\rand\r\nline endings in writeSSE by @AprilNEA in #4644New Contributors
Full Changelog: honojs/hono@v4.11.5...v4.11.6
v4.11.5Compare Source
What's Changed
AlgorithmTypesby @yusukebe in #4642New Contributors
Full Changelog: honojs/hono@v4.11.4...v4.11.5
v4.11.4Compare Source
Security
Fixed a JWT algorithm confusion issue in the JWT and JWK/JWKS middleware.
Both middlewares now require an explicit algorithm configuration to prevent the verification algorithm from being influenced by untrusted JWT header values.
If you are using the JWT or JWK/JWKS middleware, please update to the latest version as soon as possible.
JWT middleware
JWK/JWKS middleware
For more details, see the Security Advisory.
What's Changed
@hono/eslint-configand enable curly rule by @yusukebe in #4620algoption for JWT middleware by @yusukebe in #4624New Contributors
Full Changelog: honojs/hono@v4.11.3...v4.11.4
v4.11.3Compare Source
What's Changed
Full Changelog: honojs/hono@v4.11.2...v4.11.3
v4.11.2Compare Source
What's Changed
HonoURLtypes by @yusukebe in #4592SimplifyinToSchemaby @yusukebe in #4597MergeMiddlewareResponsetype by @yusukebe in #4598New Contributors
Full Changelog: honojs/hono@v4.11.1...v4.11.2
v4.11.1Compare Source
What's Changed
Full Changelog: honojs/hono@v4.11.0...v4.11.1
v4.11.0Compare Source
Release Notes
Hono v4.11.0 is now available!
This release includes new features for the Hono client, middleware improvements, and an important type system fix.
Type System Fix for Middleware
We've fixed a bug in the type system for middleware. Previously,
appdid not have the correct type with pathless handlers:This has now been fixed.
Thanks @kosei28!
Typed URL for Hono Client
You can now pass the base URL as the second type parameter to
hcto get more precise URL types:This is useful when you want to use the URL as a type-safe key for libraries like SWR.
Thanks @miyaji255!
Custom NotFoundResponse Type
You can now customize the
NotFoundResponsetype using module augmentation. This allowsc.notFound()to return a typed response:Now the client can correctly infer the 404 response type.
Thanks @miyaji255!
tryGetContext Helper
The new
tryGetContext()helper in the Context Storage middleware returnsundefinedinstead of throwing an error when the context is not available:Thanks @AyushCoder9!
Custom Query Serializer
You can now customize how query parameters are serialized using the
buildSearchParamsoption:Thanks @bolasblack!
New features
All changes
New Contributors
Full Changelog: honojs/hono@v4.10.8...v4.11.0
v4.10.8Compare Source
What's Changed
IsAllowedOriginHandlerby @baseballyama in #4558IsAllowedSecFetchSiteHandlerby @baseballyama in #4559New Contributors
Full Changelog: honojs/hono@v4.10.7...v4.10.8
v4.10.7Compare Source
What's Changed
NotSpecifiedandStrictVerifyOptionsby @ysknsid25 in #4525bun.lockby @yusukebe in #4548New Contributors
Full Changelog: honojs/hono@v4.10.6...v4.10.7
v4.10.6Compare Source
Deperecated
bearer-auth options
The following options are deprecated and will be removed in a future version:
noAuthenticationHeaderMessage=> usenoAuthenticationHeader.messageinvalidAuthenticationHeaderMessage=> useinvalidAuthenticationHeader.messageinvalidTokenMessage=> useinvalidToken.messageWhat's Changed
New Contributors
Full Changelog: honojs/hono@v4.10.5...v4.10.6
v4.10.5Compare Source
What's Changed
Vary: *is present by @pHo9UBenaA in #4504New Contributors
Full Changelog: honojs/hono@v4.10.4...v4.10.5
v4.10.4Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.10.3...v4.10.4
v4.10.3Compare Source
Securiy Fix
A security issue in the CORS middleware has been fixed. In some cases, a request header could affect the Vary response header. Please update to the latest version if you are using the CORS middleware.
What's Changed
=by @ryuapp in #4478New Contributors
Full Changelog: honojs/hono@v4.10.2...v4.10.3
v4.10.2Compare Source
v4.10.1Compare Source
What's Changed
.usenon-return mw fromcreateMiddlewareby @NamesMT in #4465Full Changelog: honojs/hono@v4.10.0...v4.10.1
v4.10.0Compare Source
Release Notes
Hono v4.10.0 is now available!
This release brings improved TypeScript support and new utilities.
The main highlight is the enhanced middleware type definitions that solve a long-standing issue with type safety for RPC clients.
Middleware Type Improvements
Imagine the following app:
The client with RPC:
Previously, it couldn't infer the responses from middleware, so a type error was thrown.
Now the responses are correctly typed.
This was a long-standing issue and we were thinking it was super difficult to resolve it. But now come true.
Thank you for the great work @slawekkolodziej!
cloneRawRequest Utility
The new
cloneRawRequestutility allows you to clone the raw Request object after it has been consumed by validators or middleware.Thanks @kamaal111!
New features
All changes
New Contributors
Full Changelog: honojs/hono@v4.9.12...v4.10.0
v4.9.12Compare Source
What's Changed
PreparedRegExpRouterfor optimization and added tests by @usualoma in #4456tree shakingby @usualoma in #4458Full Changelog: honojs/hono@v4.9.11...v4.9.12
v4.9.11Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.9.10...v4.9.11
v4.9.10Compare Source
What's Changed
Full Changelog: honojs/hono@v4.9.9...v4.9.10
v4.9.9Compare Source
What's Changed
handleby @yusukebe in #4421New Contributors
Full Changelog: honojs/hono@v4.9.8...v4.9.9
v4.9.8Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.9.7...v4.9.8
v4.9.7Compare Source
Security
bodyLimitmiddleware where the body size limit could be bypassed when bothContent-LengthandTransfer-Encodingheaders were present. If you are using this middleware, please update immediately. Security AdvisoryWhat's Changed
parseResponsenot parsing json in react native by @lr0pb in #4399.tool-versionsfile by @3w36zj6 in #4397bun installcommands to use--frozen-lockfileby @3w36zj6 in #4398New Contributors
Full Changelog: honojs/hono@v4.9.6...v4.9.7
v4.9.6Compare Source
Security
Fixed a bug in URL path parsing (
getPath) that could cause path confusion under malformed requests.If you rely on reverse proxies (e.g. Nginx) for ACLs or restrict access to endpoints like
/admin, please update immediately.See advisory for details: GHSA-9hp6-4448-45g2
What's Changed
Full Changelog: honojs/hono@v4.9.5...v4.9.6
v4.9.5Compare Source
What's Changed
originandallowMethodsby @jobrk in #4373app.fetchinhandleby @yusukebe in #4374New Contributors
Full Changelog: honojs/hono@v4.9.4...v4.9.5
v4.9.4Compare Source
What's Changed
deno publishby @yusukebe in #4364Full Changelog: honojs/hono@v4.9.3...v4.9.4
v4.9.3Compare Source
What's Changed
customFetchoption to allow custom fetch function by @yusukebe in #4360typescriptto5.9.2by @yusukebe in #4362packageManagerfield topackage.jsonby @yusukebe in #4363Full Changelog: honojs/hono@v4.9.2...v4.9.3
v4.9.2Compare Source
What's Changed
removeIndexStringby @yusukebe in #4352New Contributors
Full Changelog: honojs/hono@v4.9.1...v4.9.2
v4.9.1Compare Source
What's Changed
DetailedError.name(+ error tests) by @NamesMT in #4344Full Changelog: honojs/hono@v4.9.0...v4.9.1
v4.9.0Compare Source
Release Notes
Hono v4.9.0 is now available!
This release introduces several enhancements and utilities.
The main highlight is the new
parseResponseutility that makes it easier to work with RPC client responses.parseResponse Utility
The new
parseResponseutility provides a convenient way to parse responses from Hono RPC clients (hc). It automatically handles different response formats and throws structured errors for failed requests.This makes working with RPC client responses much more straightforward and type-safe.
Thanks @NamesMT!
New features
All changes
iss) claim by @yolocat-dev in #4253headerNameto JWK middleware by @JoaquinGimenez1 in #4279jointo correct path resolution by @yusukebe in #4291verifyWithJwksfor external use by @Beyondo in #4302parseResponseutil to smartly parsehc's Response by @NamesMT in #4314skipLibCheckto resolve TypeScript compilation issues by @yusukebe in #4342New Contributors
Full Changelog: honojs/hono@v4.8.12...v4.9.0
v4.8.12Compare Source
What's Changed
/files/:name{.*}by @yusukebe in #4329Full Changelog: honojs/hono@v4.8.11...v4.8.12
v4.8.11Compare Source
What's Changed
outputtype forc.body()by @NamesMT in #4318FetchEventas second argument toapp.fetchby @yusukebe in #4328@hono/eslint-configby @yusukebe in #4330Full Changelog: honojs/hono@v4.8.10...v4.8.11
v4.8.10Compare Source
What's Changed
benchmarks/*by @yusukebe in #4317New Contributors
Full Changelog: honojs/hono@v4.8.9...v4.8.10
v4.8.9Compare Source
What's Changed
isByteStringinc.redirectby @yusukebe in #4307Full Changelog: honojs/hono@v4.8.8...v4.8.9
v4.8.8Compare Source
What's Changed
safeEncodeURIby @yusukebe in #4306Full Changelog: honojs/hono@v4.8.7...v4.8.8
v4.8.7Compare Source
What's Changed
Full Changelog: honojs/hono@v4.8.6...v4.8.7
v4.8.6Compare Source
What's Changed
Full Changelog: honojs/hono@v4.8.5...v4.8.6
v4.8.5Compare Source
What's Changed
Full Changelog: honojs/hono@v4.8.4...v4.8.5
v4.8.4Compare Source
What's Changed
Proxyto support Node.js 24 by @yusukebe in #4260signingSecretoption by @yusukebe in #4263indexstring when calling$url()by @yusukebe in #4267req.json()keeps the content as is by @yusukebe in #4269Full Changelog: honojs/hono@v4.8.3...v4.8.4
v4.8.3Compare Source
What's Changed
tryDecodewhen parsing cookie by @yusukebe in #4240JwtTokenIssuedAterror message by @yusukebe in #4244pkg.pr.newby @NEKOYASAN in #4245New Contributors
Full Changelog: honojs/hono@v4.8.2...v4.8.3
[
v4.8.2](https://redirect.github.com/