Releases: honojs/middleware
Releases · honojs/middleware
@hono/oidc-auth@1.4.1
Patch Changes
- #936
be34f6908f1ecc22171d302edb10036b3bba9fe9
Thanks @hnw! - Fix type error
@hono/oidc-auth@1.4.0
Minor Changes
- #926
2f716d619d9e61df3f12427ef6cdebaf0888569e
Thanks @hnw! - Add support for absolute path in OIDC_REDIRECT_URI and set its default value to '/callback'
@hono/valibot-validator@0.5.2
Patch Changes
- #914
c5abbc993d8e3663dfd4f2af7ba921acd5bd83ed
Thanks @ajotaos! - Fix request query types for valibot schemas
@hono/oidc-auth@1.3.0
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/firebase-auth@1.4.2
Patch Changes
- #923
0e4118b09657569f37dee035c9d4c75192d08c06
Thanks @Code-Hex! - updated firebase-auth-cloudflare-workers version and firebase-tools version
@hono/cloudflare-access@0.2.0
Minor Changes
- #898
b71d817f7108393e07969ab814c26ec8eef759c0
Thanks @G4brym! - Handle Access organization does not exist and Access not available cases
@hono/typia-validator@0.1.0
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/zod-validator@0.4.2
Patch Changes
- #860
803f011e41ecb3da503ddb2b3286c6d7606d9c4b
Thanks @askorupskyy! - Case-insensitive Zod schemas for headers
@hono/cloudflare-access@0.1.0
Minor Changes
- #880
2720ac7172281317fa7fb4a59b2388cfeb9f6388
Thanks @G4brym! - Initial release
@hono/node-ws@1.0.5
Patch Changes
- #876
a092ffaadb3a265a207acc558e6cd021fc3bb6d9
Thanks @HusamElbashir! - Fixed case-sensitivity of the WebSocket "Upgrade" header value