Releases: honojs/middleware
Releases · honojs/middleware
@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
@hono/[email protected]
Minor Changes
- #880
2720ac7172281317fa7fb4a59b2388cfeb9f6388
Thanks @G4brym! - Initial release
@hono/[email protected]
Patch Changes
- #876
a092ffaadb3a265a207acc558e6cd021fc3bb6d9
Thanks @HusamElbashir! - Fixed case-sensitivity of the WebSocket "Upgrade" header value
@hono/[email protected]
Minor Changes
- #866
c815055bb6669aff8fccf5f478983906c65aca9d
Thanks @Micnubinub! - Added ability to remove properties that are not in the schema to emulate other validators like zod