-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency hono to v4.7.1 #331
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/hono-4.x-lockfile
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
|
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
3fcf3b0
to
1380e3b
Compare
1380e3b
to
4a6f5da
Compare
4a6f5da
to
8e0c871
Compare
8e0c871
to
a24a4ec
Compare
a24a4ec
to
241719e
Compare
241719e
to
225ffc6
Compare
225ffc6
to
2ea0d1a
Compare
2ea0d1a
to
7c5a8d6
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.6
->4.7.1
Release Notes
honojs/hono (hono)
v4.7.1
Compare Source
v4.7.0
Compare Source
Release Notes
Hono v4.7.0 is now available!
This release introduces one helper and two middleware.
Plus, Standard Schema Validator has been born.
Let's look at each of these.
Proxy Helper
We sometimes use the Hono application as a reverse proxy. In that case, it accesses the backend using
fetch
. However, it sends an unintended headers.For example,
fetch
may sendAccept-Encoding
, causing the origin server to return a compressed response. Some runtimes automatically decode it, leading to aContent-Length
mismatch and potential client-side errors.Also, you should probably remove some of the headers sent from the origin server, such as
Transfer-Encoding
.Proxy Helper will send requests to the origin and handle responses properly. The above headers problem is solved simply by writing as follows.
You can also use it in more complex ways.
Thanks @usualoma!
Language Middleware
Language Middleware provides 18n functions to Hono applications. By using the
languageDetector
function, you can get the language that your application should support.You can get the target language in various ways, not just by using
Accept-Language
.Accept-Language
headerThanks @lord007tn!
JWK Auth Middleware
Finally, middleware that supports JWK (JSON Web Key) has landed. Using JWK Auth Middleware, you can authenticate by verifying JWK tokens. It can access keys fetched from the specified URL.
Thanks @Beyondo!
Standard Schema Validator
Standard Schema provides a common interface for TypeScript validator libraries. Standard Schema Validator is a validator that uses it. This means that Standard Schema Validator can handle several validators, such as Zod, Valibot, and ArkType, with the same interface.
The code below really works!
Thanks @muningis!
New features
All changes
yarn
by @EdamAme-x in https://github.com/honojs/hono/pull/3878toLowerCase()
is unnecessary forreq.header()
by @yusukebe in https://github.com/honojs/hono/pull/3880env
type by @yusukebe in https://github.com/honojs/hono/pull/3885c.json({})
by @yusukebe in https://github.com/honojs/hono/pull/3873deno.lock
by @yusukebe in https://github.com/honojs/hono/pull/3897New Contributors
Full Changelog: honojs/hono@v4.6.20...v4.7.0
v4.6.20
Compare Source
What's Changed
np
by @yusukebe in https://github.com/honojs/hono/pull/3874New Contributors
Full Changelog: honojs/hono@v4.6.19...v4.6.20
v4.6.19
Compare Source
What's Changed
OnHandlerInterface
by @sor4chi in https://github.com/honojs/hono/pull/3852env
should setc
type correctly by @yusukebe in https://github.com/honojs/hono/pull/3856Full Changelog: honojs/hono@v4.6.18...v4.6.19
v4.6.18
Compare Source
What's Changed
types.ts
by @yusukebe in https://github.com/honojs/hono/pull/3836ParamKey
simply by @yusukebe in https://github.com/honojs/hono/pull/3837factory.createMiddleware()
by @yusukebe in https://github.com/honojs/hono/pull/3849Full Changelog: honojs/hono@v4.6.17...v4.6.18
v4.6.17
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.6.16...v4.6.17
v4.6.16
Compare Source
What's Changed
app.on(method,path[],middleware,handler)
type by @yusukebe in https://github.com/honojs/hono/pull/3802Full Changelog: honojs/hono@v4.6.15...v4.6.16
v4.6.15
Compare Source
c.json()
etc. throwing type error when the status is contentless code, e.g., 204From this release, when
c.json()
,c.text()
, orc.html()
returns content, specifying a contentless status code such as 204 will now throw a type error.At first glance, this seems like a breaking change but not. It is not possible to return a contentless response with
c.json()
orc.text()
. So, in that case, please usec.body()
.What's Changed
ResponseInit
accepts genericsStatusCode
forstatus
by @yusukebe in https://github.com/honojs/hono/pull/3770COMPOSED_HANDLER
by @yusukebe in https://github.com/honojs/hono/pull/3773New Contributors
Full Changelog: honojs/hono@v4.6.14...v4.6.15
v4.6.14
Compare Source
What's Changed
Object.create(null)
by @usualoma in https://github.com/honojs/hono/pull/3735charset
parameter from MIME type ofapplication/json
by @SaekiTominaga in https://github.com/honojs/hono/pull/3743New Contributors
Full Changelog: honojs/hono@v4.6.13...v4.6.14
v4.6.13
Compare Source
What's Changed
Array.prototype.at()
to look at the end by @ryuapp in https://github.com/honojs/hono/pull/3703New Contributors
Full Changelog: honojs/hono@v4.6.12...v4.6.13
v4.6.12
Compare Source
What's Changed
KB
by @EdamAme-x in https://github.com/honojs/hono/pull/3696New Contributors
Full Changelog: honojs/hono@v4.6.11...v4.6.12
v4.6.11
Compare Source
What's Changed
qs
for query-param by @yusukebe in https://github.com/honojs/hono/pull/3674perf-measures
by @yusukebe in https://github.com/honojs/hono/pull/3683build
andperf-measures
by @yusukebe in https://github.com/honojs/hono/pull/3686errorHandler
withprivate
not use#
by @yusukebe in https://github.com/honojs/hono/pull/3692New Contributors
Full Changelog: honojs/hono@v4.6.10...v4.6.11
v4.6.10
Compare Source
What's Changed
no-response.yml
by @yusukebe in https://github.com/honojs/hono/pull/3622devDependencies
by @EdamAme-x in https://github.com/honojs/hono/pull/3633package.json
andjsr.json
by @EdamAme-x in https://github.com/honojs/hono/pull/3638#
for private props to reduce the minified bundle size by @EdamAme-x in https://github.com/honojs/hono/pull/3660c.req.routeIndex
from being changed by @usualoma in https://github.com/honojs/hono/pull/3663New Contributors
Full Changelog: honojs/hono@v4.6.9...v4.6.10
v4.6.9
Compare Source
What's Changed
c.req.param
decodes invalid percent strings by @yusukebe in https://github.com/honojs/hono/pull/3573memo
for DOM renderer by @usualoma in https://github.com/honojs/hono/pull/3568.concat
instead of spread syntax by @EdamAme-x in https://github.com/honojs/hono/pull/3584any
and fix types of adapter/deno by @EdamAme-x in https://github.com/honojs/hono/pull/3291.matchRoute
and reduce bundle size by @EdamAme-x in https://github.com/honojs/hono/pull/3595c.redirect()
by @cometkim in https://github.com/honojs/hono/pull/3609| 0
instead ofMath.floor
by @EdamAme-x in https://github.com/honojs/hono/pull/3605#
for private methods to reduce the minified file size by @yusukebe in https://github.com/honojs/hono/pull/3596New Contributors
Full Changelog: honojs/hono@v4.6.8...v4.6.9
v4.6.8
Compare Source
What's Changed
--hot
by @nakasyou in https://github.com/honojs/hono/pull/3576New Contributors
Full Changelog: honojs/hono@v4.6.7...v4.6.8
v4.6.7
Compare Source
What's Changed
requestContext
by @yusukebe in https://github.com/honojs/hono/pull/3549New Contributors
Full Changelog: honojs/hono@v4.6.6...v4.6.7
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.