Update dependency @hono/zod-openapi to v1.5.1 #120
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MobiusReactor/TicTacToeV2!120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/hono-zod-openapi-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.4.0→1.5.1Release Notes
honojs/middleware (@hono/zod-openapi)
v1.5.1Compare Source
Patch Changes
7bc11dffa7dd5b639c614b12c34bd76722d76354]:v1.5.0Compare Source
Minor Changes
#1878
443a8dc5cd8a6a65daa2bec1f251adfc605b05ceThanks @SAY-5! - feat: inheritdefaultHookfrom parent app on nested routes mounted viaapp.route()Behavior change: if a parent app has a
defaultHookand a mounted sub-app does not declare its own, the sub-app's routes now use the parent'sdefaultHookinstead of the built-in validation response.Patch Changes
#2033
740123c01aadb6c2ed742d1c67c2763a4cdc4f1fThanks @yusukebe! - fix: resolve defaultHook through the ancestor chain on nested routes#2031
bf52ec2f18e32479ec85c00922c8aede68dc8286Thanks @tokiya-takai! - fix(zod-openapi): preserveonError()/notFound()set afterbasePath()OpenAPIHono.basePath()used to rebuild the instance by spreading the plainHonoclone returned bysuper.basePath().That spread copied the clone's arrow-function instance fields (
onError,notFound,request,fetch),which stay bound to the discarded clone — so calling
.onError()(or.notFound()) after.basePath()mutated the throwaway clone instead of the returned app and silently had no effect (the parent's handler ran instead).basePath()now transplants only the routing state onto a properly constructedOpenAPIHono, keeping its own correctly-bound methods. Fixes #2021.Configuration
📅 Schedule: (UTC)
🚦 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 has been generated by Mend Renovate.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.