[Snyk] Upgrade hono from 4.8.8 to 4.9.8 #93
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.
Snyk has created this PR to upgrade hono from 4.8.8 to 4.9.8.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 13 versions ahead of your current version.
The recommended version was released 25 days ago.
Release notes
Package name: hono
-
4.9.8 - 2025-09-18
- fix(types): JSONParsed infer unknown values by @ BarryThePenguin in #4405
- refactor(types): remove SimplifyDeepArray from json types by @ BarryThePenguin in #4406
- refactor(types): fix the type definitions in hono-base by @ yusukebe in #4407
- fix(request): return empty string for empty catch-all param by @ amitksingh0880 in #4395
- @ amitksingh0880 made their first contribution in #4395
-
4.9.7 - 2025-09-12
- Fixed an issue in the
- fix(client): Fix
- chore: add
- chore: update
- test(jwk): Add tests of JWK token verification by @ buckett in #4402
- @ lr0pb made their first contribution in #4399
- @ buckett made their first contribution in #4402
-
4.9.6 - 2025-09-03
- chore: update packages in the router bench by @ yusukebe in #4386
- chore(benchmarks): remove comment-out from router bench by @ yusukebe in #4387
-
4.9.5 - 2025-08-29
- chore: replace supertest with undici by @ BarryThePenguin in #4365
- fix(aws-lambda): preserve percent-encoded values in query strings by @ yusukebe in #4372
- feat(cors): Allow async functions for
- feat(cors): Correct origin function return type asynchronously returning null or undefined for origin by @ jobrk in #4375
- fix(service-worker): correct args for
- fix(language-detector): Detect language from path after getPath changed by @ iflamed in #4369
- @ jobrk made their first contribution in #4373
- @ iflamed made their first contribution in #4369
-
4.9.4 - 2025-08-22
- chore: add a type cast to run
-
4.9.3 - 2025-08-22
- feat(csrf): Add modern CSRF protection with Fetch Metadata support by @ meck93 in #4353
- tests: use vitest projects by @ BarryThePenguin in #4359
- feat(proxy): add
- chore: update
- chore: add
-
4.9.2 - 2025-08-15
- fix(jsx): 'plaintext-only' value for contenteditable attribute by @ object1037 in #4349
- fix(client): handle query parameters in
- @ object1037 made their first contribution in #4349
-
4.9.1 - 2025-08-12
- feat(parseResponse): set
- fix(parseResponse): should not include error responses in result by @ NamesMT in #4348
-
4.9.0 - 2025-08-07
import { parseResponse, DetailedError } from 'hono/client'
- feat(bun): allow importing upgradeWebSocket and websocket directly #4242
- feat(aws-lambda): specify content-type as binary #4250
- feat(jwt): add validation for the issuer (iss) claim #4253
- feat(jwk): add headerName to JWK middleware #4279
- feat(cookie): add generateCookie and generateSignedCookie helpers #4285
- feat(serve-static): use join to correct path resolution #4291
- feat(jwt): expose utility function verifyWithJwks for external use #4302
- feat: add parseResponse util to smartly parse hc's Response #4314
- feat(ssg): mark old hook options as deprecated #4331
- feat(aws-lambda): specify content-type as binary by @ Kanahiro in #4250
- feat(jwt): added validation for the issuer (
- feat(jwk): Add custom
- feat(cookie): generateCookie and generateSignedCookie helpers by @ Soviut in #4285
- feat(serve-static): use
- feat(jwt): Exposing utility function
- feat: add
- feat(ssg): mark old hook options as deprecated by @ 3w36zj6 in #4331
- fix(bun): exports functions related to websocket by @ yusukebe in #4341
- Next by @ yusukebe in #4340
- chore: enable
- @ yolocat-dev made their first contribution in #4253
- @ JoaquinGimenez1 made their first contribution in #4279
- @ Soviut made their first contribution in #4285
-
4.8.12 - 2025-08-02
- fix(router): support
-
4.8.11 - 2025-08-01
-
4.8.10 - 2025-07-29
-
4.8.9 - 2025-07-26
-
4.8.8 - 2025-07-25
from hono GitHub release notesWhat's Changed
New Contributors
Full Changelog: v4.9.7...v4.9.8
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: v4.9.6...v4.9.7
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: v4.9.5...v4.9.6
What's Changed
originandallowMethodsby @ jobrk in #4373app.fetchinhandleby @ yusukebe in #4374New Contributors
Full Changelog: v4.9.4...v4.9.5
What's Changed
deno publishby @ yusukebe in #4364Full Changelog: v4.9.3...v4.9.4
What's Changed
customFetchoption to allow custom fetch function by @ yusukebe in #4360typescriptto5.9.2by @ yusukebe in #4362packageManagerfield topackage.jsonby @ yusukebe in #4363Full Changelog: v4.9.2...v4.9.3
What's Changed
removeIndexStringby @ yusukebe in #4352New Contributors
Full Changelog: v4.9.1...v4.9.2
What's Changed
DetailedError.name(+ error tests) by @ NamesMT in #4344Full Changelog: v4.9.0...v4.9.1
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.// result contains the parsed response body (automatically parsed based on Content-Type)
const result = await parseResponse(client.hello.$get()).catch(
// parseResponse automatically throws an error if response is not ok
(e: DetailedError) => {
console.error(e)
}
)
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: v4.8.12...v4.9.0
What's Changed
/files/:name{.*}by @ yusukebe in #4329Full Changelog: v4.8.11...v4.8.12
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: