Update all non-major dependencies #173
Open
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:
^0.18.0
->^0.23.0
^0.4.0
->^0.7.0
22.10.5
->22.18.11
v3.0.1
->v3.2.0
4.6.16
->4.10.1
3.4.2
->3.6.2
3.12.1
->3.14.0
4.19.2
->4.20.6
5.7.2
->5.9.3
6.0.7
->6.4.0
4.4.0
->4.5.4
3.24.1
->3.25.76
3.24.1
->3.24.6
3.4.0
->3.5.3
Release Notes
honojs/vite-plugins (@hono/vite-dev-server)
v0.23.0
Compare Source
Minor Changes
c81946732953c3dec4d8c41217654eb9ce30ddc9
Thanks @3w36zj6! - add base option to configure application routing base pathv0.22.0
Compare Source
Minor Changes
a9aa4b0a294c11b3702002a0a517e04d9afb7ab4
Thanks @nakasyou! - support .vue and .svelte for excludingv0.21.1
Compare Source
Patch Changes
59de7dc8653971297692503b61e42f7f0c2f4ed9
Thanks @chtushar! - feat: add support for TanStack Router code splitting in dev-serverv0.21.0
Compare Source
Minor Changes
6313a175bbe20002840ef7b1d781be06ae7aab62
Thanks @Its-Just-Nans! - use the vitejs base for the vite injectionv0.20.1
Compare Source
Patch Changes
275a177401b7c8402890c0089ad90f4ed95dbf8f
Thanks @yusukebe! - fix: inject vite client script at end of streaming responsev0.20.0
Compare Source
Minor Changes
56d7c63933da084418bf9798b151d2fee696fa95
Thanks @Hill-98! - feat: addgetConnInfo
helper functionv0.19.1
Compare Source
Patch Changes
2eb66db9b43131e4b41417e2ddc31ebf16db383e
Thanks @zachnoble! - chore: bump@hono/node-server
to 1.14.2v0.19.0
Compare Source
Minor Changes
367d2b088c14c29ae12701ab702305209b1959ce
Thanks @yusukebe! - feat: addhandleHotUpdate
optionv0.18.3
Compare Source
Patch Changes
1dbcbb8654739f54beb0e4082b3639f4f4a9468f
Thanks @yusukebe! - fix: enable HMR for client-sidev0.18.2
Compare Source
Patch Changes
#231
eb196d52a7f2059540c64a9c0b94298d49a00b90
Thanks @yusukebe! - fix: support hot reload for Vite6#228
5153b84779b279274836512f7172c53e5cc11ae7
Thanks @mo36924! - fix: Fixed problem with source map not working when reading entry filesv0.18.1
Compare Source
Patch Changes
01d28ca426646f4b75754767baeb41a11e0d8dfd
Thanks @gobengo! - dev-server plugin getRequestListener fetchCallback now always returns Promise instead of sometimes returning Promisehonojs/middleware (@hono/zod-validator)
v0.7.4
Compare Source
Patch Changes
d6102352531aa3f030051f0b85065bd1051ebdac
Thanks @BThero! - Fix a minor Zod v4 error type inference bugv0.7.3
Compare Source
Patch Changes
713a9392f9adf521920d2d814894c4433ae718bf
Thanks @yusukebe! - fix: correct fallback behavior when usingcoerce
v0.7.2
Compare Source
Patch Changes
c6a16ab7aa8fba2403d4294e7673f96796020c65
Thanks @yusukebe! - fix: support transformv0.7.1
Compare Source
Patch Changes
#1302
9f6278f51c846a171a9baa6335fb8fbd9b42cb1c
Thanks @kiki-kanri! - correctly set the zod version to follow the official website doc#1302
9f6278f51c846a171a9baa6335fb8fbd9b42cb1c
Thanks @kiki-kanri! - upgrade zod to v4 and import style to be more tree-shakeable in README.mdv0.7.0
Compare Source
Minor Changes
5c3f61f889f5d96f2ff4a79c9df89c03e25dd7f3
Thanks @yusukebe! - feat: update peerDependency to Zod^3.25.0
and fix the typesv0.6.0
Compare Source
Minor Changes
a62b59f4505d10f41523a36ad7c02776f9e1cb01
Thanks @yusukebe! - feat: support Zod v4v0.5.0
Compare Source
Minor Changes
8ed99d9d791ed6bd8b897c705289b0464947e632
Thanks @yusukebe! - feat: addvalidationFunction
optionv0.4.3
Compare Source
Patch Changes
b65d5a58616f861520047dd08babc9cd1d81cbd1
Thanks @yusukebe! - fix: fix commonjs import problemdcarbone/install-jq-action (dcarbone/install-jq-action)
v3.2.0
Compare Source
What's Changed
New Contributors
Full Changelog: dcarbone/install-jq-action@v3.1.1...v3.2.0
v3.1.1
Compare Source
What's Changed
Full Changelog: dcarbone/install-jq-action@v3...v3.1.1
v3.1.0
Compare Source
What's Changed
Full Changelog: dcarbone/install-jq-action@v3...v3.1.0
honojs/hono (hono)
v4.10.1
Compare Source
What's Changed
.use
non-return mw fromcreateMiddleware
by @NamesMT in #4465Full Changelog: honojs/hono@v4.10.0...v4.10.1
v4.10.0
Compare 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
cloneRawRequest
utility 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.12
Compare Source
What's Changed
PreparedRegExpRouter
for optimization and added tests by @usualoma in #4456tree shaking
by @usualoma in #4458Full Changelog: honojs/hono@v4.9.11...v4.9.12
v4.9.11
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.9.10...v4.9.11
v4.9.10
Compare Source
What's Changed
Full Changelog: honojs/hono@v4.9.9...v4.9.10
v4.9.9
Compare Source
What's Changed
handle
by @yusukebe in #4421New Contributors
Full Changelog: honojs/hono@v4.9.8...v4.9.9
v4.9.8
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.9.7...v4.9.8
v4.9.7
Compare Source
Security
bodyLimit
middleware where the body size limit could be bypassed when bothContent-Length
andTransfer-Encoding
headers were present. If you are using this middleware, please update immediately. Security AdvisoryWhat's Changed
parseResponse
not parsing json in react native by @lr0pb in #4399.tool-versions
file by @3w36zj6 in #4397bun install
commands to use--frozen-lockfile
by @3w36zj6 in #4398New Contributors
Full Changelog: honojs/hono@v4.9.6...v4.9.7
v4.9.6
Compare 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.5
Compare Source
What's Changed
origin
andallowMethods
by @jobrk in #4373app.fetch
inhandle
by @yusukebe in #4374New Contributors
Full Changelog: honojs/hono@v4.9.4...v4.9.5
v4.9.4
Compare Source
What's Changed
deno publish
by @yusukebe in #4364Full Changelog: honojs/hono@v4.9.3...v4.9.4
v4.9.3
Compare Source
What's Changed
customFetch
option to allow custom fetch function by @yusukebe in #4360typescript
to5.9.2
by @yusukebe in #4362packageManager
field topackage.json
by @yusukebe in #4363Full Changelog: honojs/hono@v4.9.2...v4.9.3
v4.9.2
Compare Source
What's Changed
removeIndexString
by @yusukebe in #4352New Contributors
Full Changelog: honojs/hono@v4.9.1...v4.9.2
v4.9.1
Compare Source
What's Changed
DetailedError.name
(+ error tests) by @NamesMT in #4344Full Changelog: honojs/hono@v4.9.0...v4.9.1
v4.9.0
Compare Source
Release Notes
Hono v4.9.0 is now available!
This release introduces several enhancements and utilities.
The main highlight is the new
parseResponse
utility that makes it easier to work with RPC client responses.parseResponse Utility
The new
parseResponse
utility 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 #4253headerName
to JWK middleware by @JoaquinGimenez1 in #4279join
to correct path resolution by @yusukebe in #4291verifyWithJwks
for external use by @Beyondo in #4302parseResponse
util to smartly parsehc
's Response by @NamesMT in #4314skipLibCheck
to resolve TypeScript compilation issues by @yusukebe in #4342New Contributors
Full Changelog: honojs/hono@v4.8.12...v4.9.0
v4.8.12
Compare Source
What's Changed
/files/:name{.*}
by @yusukebe in #4329Full Changelog: honojs/hono@v4.8.11...v4.8.12
v4.8.11
Compare Source
What's Changed
output
type forc.body()
by @NamesMT in #4318FetchEvent
as second argument toapp.fetch
by @yusukebe in #4328@hono/eslint-config
by @yusukebe in #4330Full Changelog: honojs/hono@v4.8.10...v4.8.11
v4.8.10
Compare Source
What's Changed
benchmarks/*
by @yusukebe in #4317New Contributors
Full Changelog: honojs/hono@v4.8.9...v4.8.10
v4.8.9
Compare Source
What's Changed
isByteString
inc.redirect
by @yusukebe in #4307Full Changelog: honojs/hono@v4.8.8...v4.8.9
v4.8.8
Compare Source
What's Changed
safeEncodeURI
by @yusukebe in #4306Full Changelog: honojs/hono@v4.8.7...v4.8.8
v4.8.7
Compare Source
What's Changed
Full Changelog: honojs/hono@v4.8.6...v4.8.7
v4.8.6
Compare Source
What's Changed
Full Changelog: honojs/hono@v4.8.5...v4.8.6
v4.8.5
Compare Source
What's Changed
Full Changelog: honojs/hono@v4.8.4...v4.8.5
v4.8.4
Compare Source
What's Changed
Proxy
to support Node.js 24 by @yusukebe in #4260signingSecret
option by @yusukebe in #4263index
string 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.3
Compare Source
What's Changed
tryDecode
when parsing cookie by @yusukebe in #4240JwtTokenIssuedAt
error message by @yusukebe in #4244pkg.pr.new
by @NEKOYASAN in #4245New Contributors
Full Changelog: honojs/hono@v4.8.2...v4.8.3
v4.8.2
Compare Source
What's Changed
Full Changelog: honojs/hono@v4.8.1...v4.8.2
v4.8.1
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.8.0...v4.8.1
v4.8.0
Compare Source
Release Notes
Hono v4.8.0 is now available!
This release enhances existing features with new options and introduces powerful helpers for routing and static site generation. Additionally, we're introducing new third-party middleware packages.
fire()
FunctionPlus new third-party middleware:
Let's look at each of these.
Reduced the code size
First, this update reduces the code size! The smallest
hono/tiny
package has been reduced by about 800 bytes fromv4.7.11
, bringing it down to approximately 11 KB. When gzipped, it's only 4.5 KB. Very tiny!Route Helper
New route helper functions provide easy access to route information and path utilities.
These helpers make route introspection cleaner and more explicit.
Thanks @usualoma!
JWT Custom Header Location
JWT middleware now supports custom header locations beyond the standard
Authorization
header. You can specify any header name to retrieve JWT tokens from.This is useful when working with APIs that use non-standard authentication headers.
Thanks @kunalbhagawati!
JSX Streaming Nonce Support
JSX streaming now supports nonce values for Content Security Policy (CSP) compliance. The streaming context can include a nonce that gets applied to inline scripts.
Thanks @usualoma!
CORS Dynamic allowedMethods
CORS middleware now supports dynamic
allowedMethods
based on the request origin. You can provide a function that returns different allowed methods depending on the origin.This enables fine-grained control over CORS policies per origin.
Thanks @Kanahiro!
JWK Allow Anonymous Access
JWK middleware now supports anonymous access with the
allow_anon
option. When enabled, requests without valid tokens can still proceed to your handlers.Additionally,
keys
andjwks_uri
options now support functions that receive the context, enabling dynamic key resolution.Thanks @Beyondo!
Cache Status Codes Option
Cache middleware now allows you to specify which status codes should be cached using the
cacheableStatusCodes
option.Thanks @miyamo2!
Service Worker fire() Function
A new
fire()
functi