fix(deps): update dependency hono to v4.6.1 - autoclosed #2346
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.5.11
->4.6.1
Release Notes
honojs/hono (hono)
v4.6.1
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.6.0...v4.6.1
v4.6.0
Compare Source
Hono v4.6.0 is now available!
One of the highlights of this release is the Context Storage Middleware. Let's introduce it.
Context Storage Middleware
Many users may have been waiting for this feature. The Context Storage Middleware uses
AsyncLocalStorage
to allow handling of the current Context object even outside of handlers.For example, let’s define a Hono app with a variable
message: string
.To enable Context Storage Middleware, register
contextStorage()
as middleware at the top and set themessage
value.getContext()
returns the current Context object, allowing you to get the value of themessage
variable outside the handler.In the case of Cloudflare Workers, you can also access the
Bindings
outside the handler by using this middleware.Thanks @marceloverdijk !
New features
c.env.eventContext
in handleMiddleware https://github.com/honojs/hono/pull/3332WSContext
https://github.com/honojs/hono/pull/3337Content-Encoding
whenstream
is true https://github.com/honojs/hono/pull/3355precompressed
option https://github.com/honojs/hono/pull/3366Promise<string>
or (async)JSX.Element
instreamSSE
https://github.com/honojs/hono/pull/3344onFound
option https://github.com/honojs/hono/pull/3396Other changes
New Contributors
Full Changelog: honojs/hono@v4.5.11...v4.6.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.