Releases: honojs/middleware
Releases · honojs/middleware
@hono/[email protected]
Patch Changes
- #942
63508a56bba1d39e7dd6d95c15f85622ed832133
Thanks @cfraz89! - Fix transiently importing typebox as cjs even when typebox-validator imported as esm
@hono/[email protected]
Patch Changes
- #940
3e2db6dc33c7ab7f471bed65004ebf8139ba7695
Thanks @Ryiski! - fix: Added missing WSContext raw type
@hono/[email protected]
Patch Changes
- #936
be34f6908f1ecc22171d302edb10036b3bba9fe9
Thanks @hnw! - Fix type error
@hono/[email protected]
Minor Changes
- #926
2f716d619d9e61df3f12427ef6cdebaf0888569e
Thanks @hnw! - Add support for absolute path in OIDC_REDIRECT_URI and set its default value to '/callback'
@hono/[email protected]
Patch Changes
- #914
c5abbc993d8e3663dfd4f2af7ba921acd5bd83ed
Thanks @ajotaos! - Fix request query types for valibot schemas
@hono/[email protected]
Minor Changes
- #919
4a0606f774022097bf7de69077fe366280bf4f49
Thanks @maemaemae3! - Optionally specify a custom cookie domain using the OIDC_COOKIE_DOMAIN environment variable (default is domain of the request)
@hono/[email protected]
Patch Changes
- #923
0e4118b09657569f37dee035c9d4c75192d08c06
Thanks @Code-Hex! - updated firebase-auth-cloudflare-workers version and firebase-tools version
@hono/[email protected]
Minor Changes
- #898
b71d817f7108393e07969ab814c26ec8eef759c0
Thanks @G4brym! - Handle Access organization does not exist and Access not available cases
@hono/[email protected]
Minor Changes
-
#888
c63470e4915a0680c624bf97d52487572185a2d5
Thanks @miyaji255! - Enables handling ofnumber
,boolean
, andbigint
types in query parameters and headers.- import { typiaValidator } from '@hono/typia-validator'; + import { typiaValidator } from '@hono/typia-validator/http'; import { Hono } from 'hono'; import typia, { type tags } from 'typia'; interface Schema { - pages: `${number}`[]; + pages: (number & tags.Type<'uint32'>)[]; } const app = new Hono() .get( '/books', typiaValidator( - typia.createValidate<Schema>(), + typia.http.createValidateQuery<Schema>(), async (result, c) => { if (!result.success) return c.text('Invalid query parameters', 400); - return { pages: result.data.pages.map(Number) }; } ), async c => { const { pages } = c.req.valid('query'); // { pages: number[] } //... } )
@hono/[email protected]
Patch Changes
- #860
803f011e41ecb3da503ddb2b3286c6d7606d9c4b
Thanks @askorupskyy! - Case-insensitive Zod schemas for headers