Jonathan Haines
cc26ddcae3
test(typia-validator): use `unplugin-typia` ( #1000 )
...
* test(typia-validator): use `unplugin-typia`
Fixes #999
* chore: cleanup ignored test-generated
2025-03-05 14:13:40 +09:00
github-actions[bot]
7007f19734
Version Packages ( #1002 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-05 09:51:46 +09:00
Joaquin Gimenez
69c3983d20
feat(cloudflare-access): Add support to read JWT from Cookie ( #1001 )
2025-03-05 09:20:59 +09:00
Jonathan Haines
5ea7fb5d09
chore: Migrate workspaces that use `jest` to `vitest` ( #998 )
...
* docs(contributing): add section on testing
Fixes #994
* test(clerk-auth): replace jest with vitest
* test(graphql-server): replace jest with vitest
* test(medley-router): replace jest with vitest
* test(oauth-providers): replace jest with vitest
* test(oidc-auth): replace jest with vitest
* test(sentry): replace jest with vitest
* test(trpc-server): replace jest with vitest
* test(typebox-validator): replace jest with vitest
* test(typia-validator): replace jest with vitest
* test(valibot-validator): replace jest with vitest
* chore: cleanup remaining references to jest
* chore: fix lint errors
* test(typia-validator): fix exclude directory
* test(oauth-providers): use vitest environment miniflare
* chore: update `yarn.lock`
* chore(zod-openapi): pin zod-validator to 0.4.2
* test(graphql-server): remove console filtering
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-04 22:00:28 +09:00
github-actions[bot]
0f8d2f3d05
Version Packages ( #997 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-03 06:08:20 +09:00
Lucas
c279ba2bc5
fix(zod-openapi): correctly handle path parameters in basePath ( #995 )
...
* fix(zod-openapi): correctly handle path parameters in basePath
This tries to fix an issue not covered by #992 .
* chore: add changeset
2025-03-03 06:02:43 +09:00
github-actions[bot]
10d65d1828
Version Packages ( #993 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-02 17:51:58 +09:00
Yusuke Wada
3c738f5ea4
fix(zod-openapi): replace path param strings correctly in basePath ( #992 )
...
* fix(zod-openapi): replace path param strings correctly in basePath
* add changeset
2025-03-02 17:48:35 +09:00
github-actions[bot]
50936f9967
Version Packages ( #991 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-02 16:13:40 +09:00
Younis
708aa3510c
fix(swagger-ui): fix configuration bug ( #988 )
...
* fix(swagger-ui): Handle undefined options and improve rendering logic for non-RENDER_TYPE_MAP edge cases
* test(option-renderer): Add tests for filtering and handling invalid properties
* fix(swagger-ui): Handle undefined options and improve rendering logic
---------
Co-authored-by: Younis-Ahmed <23105954+jonaahmed@users.noreply.github.com>
2025-03-02 15:52:35 +09:00
github-actions[bot]
e0880ca4a9
Version Packages ( #987 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 17:57:02 +09:00
Robert Michalak
59c6356aac
feat(zod-openapi): Add ability to exclude routes from OpenAPI docs ( #984 )
...
* Exclude route from OpenAPI docs
* add changeset
* update to minor
* test if a hidden route is available for requests
2025-02-28 17:52:52 +09:00
github-actions[bot]
fa8ed2804f
Version Packages ( #975 )
2025-02-23 15:35:06 +09:00
Dmytro Kulyk
6f90a574c4
feat(node-ws): Reject unexpected WebSocket connections ( #973 )
...
* Added rejection of WebSocket connections when the app does not expect them
* added changeset
* Updated waiter names; removed strict option
2025-02-23 15:31:44 +09:00
github-actions[bot]
57b9f5dbdc
Version Packages ( #972 )
2025-02-17 14:30:48 +09:00
ghaaj
be181bfff6
feat(react-renderer): Include a doctype statement by default ( #971 )
...
* feat(react-renderer): Include a doctype statement by default
* chore: Add changeset
2025-02-17 10:40:35 +09:00
github-actions[bot]
a2fdda7f6f
Version Packages ( #969 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-15 10:44:19 +09:00
Yusuke Wada
b65d5a5861
fix(zod-validator): fix commonjs import problem ( #968 )
...
* fix(zod-validator): fix commonjs import problem
* add changeset
2025-02-15 10:40:26 +09:00
github-actions[bot]
305f463cf6
Version Packages ( #967 )
2025-02-10 18:45:17 +09:00
paihu
352507bc06
fix(standard-validator): fix hook's result type ( #964 )
...
* fix standard validator type
* add test and format code
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-02-10 18:42:04 +09:00
github-actions[bot]
0ebb6854fc
Version Packages ( #966 )
2025-02-10 18:13:23 +09:00
Shotaro Nakamura
c24efa6b8a
fix(node-ws): ws wasn't created when upgrade process is async ( #959 )
...
* fix(node-ws): ws wasn't created when upgrade process is async
* chore: add changeset
* add test
* Update big-pillows-shave.md
2025-02-10 18:10:03 +09:00
github-actions[bot]
4f927dfaa8
Version Packages ( #963 )
2025-02-07 10:02:30 +09:00
Rokas Muningis
8e5f49394b
fix(standard-validator): remove dead code ( #962 )
...
* fix(standard-validator): remove dead code
* chore(standard-validator): changeset
2025-02-07 09:39:07 +09:00
github-actions[bot]
08b7e0d1de
Version Packages ( #961 )
2025-02-06 21:45:16 +09:00
Rokas Muningis
f77d7ba2e2
feat(standard-validator): Add standard schema validation ( #887 )
...
* feat(standard-validator): Add standard schema validation
* feat(standard-validator): add changeset
* feat(standard-validator): reintroduce type tests
* feat(standard-validator): simplif tests
* build(standard-validator): add gitlab pipeline
* chore(standard-validator): remove redundant files
* feat(standard-validator): cleanup tests, adjust comments
* fix(standard-validator): adjust versions, fix doc
* build: fix lockfile
* feat(standard-validator): drop headers lower-casing, update readme
* check types in test dir and add `tsc` to the test command
2025-02-06 21:38:36 +09:00
github-actions[bot]
4e4e40cdbf
Version Packages ( #957 )
2025-02-04 18:25:20 +09:00
Lucas
70a564e268
fix(zod-openapi): handle nested app base paths in openapi registration ( #955 )
...
* feat: handle nested app base paths in openapi registration
* test: add test for nested base paths in OpenAPI schema
* test(zod-openapi): add route without base path
* chore: add changeset
* chore: format
2025-02-04 18:21:56 +09:00
github-actions[bot]
deae708dde
Version Packages ( #953 )
2025-02-02 21:30:01 +09:00
Yusuke Wada
c80ffbfb4c
fix(node-ws): allow `Hono` with custom Env for `createNodeWebSocket` ( #951 )
...
* fix(node-ws): allow `Hono` with custom Env
* add changeset
2025-02-02 21:25:54 +09:00
github-actions[bot]
5cad2e1afe
Version Packages ( #950 )
2025-02-02 08:09:20 +09:00
Yusuke Wada
401dddc484
fix(typebox-validator): correct exporting in `package.json` ( #949 )
...
* fix(typebox-validator): correct exporting in `package.json`
Co-authored-by: asomethings <16171942+asomethings@users.noreply.github.com>
* add changeset
---------
Co-authored-by: asomethings <16171942+asomethings@users.noreply.github.com>
2025-02-02 08:06:17 +09:00
github-actions[bot]
c96c9dec78
Version Packages ( #945 )
2025-01-23 11:13:14 +09:00
Christopher Fraser
63508a56bb
fix(typebox-validator): Fix @hono/typebox-validator, when imported as esm, transiently importing typebox as cjs ( #942 )
2025-01-23 10:51:53 +09:00
github-actions[bot]
6691c0e28e
Version Packages ( #941 )
2025-01-21 18:43:45 +09:00
Adel Ak
3e2db6dc33
fix(node-ws): Added missing WSContext raw type ( #940 )
...
* node-ws: Added missing WSContext raw type
* Updated hono version and added it as peer dependencies
* update `package.json` and the lock file
* add changeset
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-01-21 18:39:56 +09:00
github-actions[bot]
ecb7a1df14
Version Packages ( #937 )
2025-01-17 19:17:54 +09:00
Yoshio HANAWA
be34f6908f
fix(oidc-auth): Fixed type error ( #936 )
2025-01-17 19:14:12 +09:00
miyaji255
1e0f0a0175
deps: Update vitest ( #931 )
2025-01-14 15:59:41 +09:00
github-actions[bot]
3d1cdd7c98
Version Packages ( #929 )
2025-01-09 12:17:00 +09:00
Yoshio HANAWA
2f716d619d
feat(oidc-auth): support absolute path for redirect URI ( #926 )
...
* feat(oidc-auth): support absolute path for redirect URI
* Apply suggestions from code review
Change variable names to camelCase
Co-authored-by: tempepe <maekawa@tempepe.com>
* Update .changeset/kind-cheetahs-give.md
---------
Co-authored-by: tempepe <maekawa@tempepe.com>
2025-01-09 12:12:21 +09:00
github-actions[bot]
c7b15e365d
Version Packages ( #927 )
2025-01-08 19:53:03 +09:00
Álvaro Ortiz
c5abbc993d
fix(valibot-validator): Fix response query types on RPC ( #914 )
...
Fixes #899
* fix(valibot-validator): Fix query types on RPC
* Add changeset
* Remove valibot issue flatenning
* Add types test
2025-01-08 19:48:44 +09:00
github-actions[bot]
d48ec05519
Version Packages ( #925 )
2025-01-05 18:27:13 +09:00
tempepe
4a0606f774
feat(oidc-auth): optional cookie domain ( #919 )
2025-01-05 18:23:44 +09:00
Farhad Faraji
8a2d4651b0
docs(zod-validator) - Update README.md to include an example with a custom validator wrapper for improved type inference ( #922 )
...
* docs: add custom validator example for improved type inference
* Update README.md - removed default value of target
2025-01-05 18:04:45 +09:00
github-actions[bot]
88135cbee5
Version Packages ( #924 )
2025-01-05 17:17:08 +09:00
Kei Kamikawa
0e4118b096
update(firebase-auth): updated firebase deps ( #923 )
2025-01-05 17:05:41 +09:00
Yusuke Wada
f51320bed0
chore: formatted to ensure successful build ( #905 )
2024-12-25 18:16:30 +09:00
Yusuke Wada
7a401b0850
chore: use the latest eslint and `@hono/eslint-config` ( #904 )
...
* chore: use the latest eslint and `@hono/eslint-config`
* update codes
2024-12-25 18:08:43 +09:00
ktKongTong
755d5cb84d
docs(zod-validator): add usage docs for `zErrValidator` ( #900 )
...
* docs(zod-validator): add usage docs for `zErrValidator`, throw a validating error instead of directly returning an error response. (#890 )
* docs(zod-validator): change zod error to Hono HTTPException
* remove useless generic
2024-12-25 10:32:07 +09:00
github-actions[bot]
c9d96ee6c2
Version Packages ( #902 )
2024-12-23 11:24:35 +09:00
Gabriel Massadas
b71d817f71
feat(cloudflare-access): Handle Access organization does not exist and Access not available cases ( #898 )
2024-12-23 11:19:56 +09:00
Yusuke Wada
cd6c667ee2
docs(zod-openapi): add docs for lacking proper Content-Type in a request ( #893 )
2024-12-19 10:26:01 +09:00
github-actions[bot]
f30f7ee28c
Version Packages ( #889 )
2024-12-15 18:59:37 +09:00
miyaji255
c63470e491
feat(typia-validator): support typia http module ( #888 )
...
* feature(typia-validator): support typia http module
* feature(typia-validator): add change-set & update README
2024-12-15 18:54:40 +09:00
github-actions[bot]
f58f47ebd1
Version Packages ( #886 )
2024-12-13 17:22:31 +09:00
Gabriel Massadas
2720ac7172
feat: Add Cloudflare Access middleware ( #880 )
2024-12-13 17:16:11 +09:00
github-actions[bot]
9150550bb8
Version Packages ( #885 )
2024-12-13 17:01:35 +09:00
Anthony Skorupskyy
803f011e41
fix(zod-validator): support for case-insensitive `headers` target validation ( #860 )
2024-12-13 16:57:49 +09:00
github-actions[bot]
27ff98f26e
Version Packages ( #877 )
2024-12-10 13:02:09 +09:00
Husam Elbashir
a092ffaadb
fix(node-ws): websocket upgrade header value case sensitivity ( #876 )
2024-12-10 12:58:31 +09:00
github-actions[bot]
6524a92a9e
Version Packages ( #868 )
2024-12-03 17:52:25 +09:00
Lindelwe Michael Ncube
c815055bb6
feat(typebox-validator): Add strict schema ( #866 )
2024-12-03 16:14:44 +09:00
github-actions[bot]
21403ec5c0
Version Packages ( #867 )
2024-12-03 10:06:18 +09:00
Gaubee
d67e279d82
fix(trpc-server) The Request.url getter can only be used on instances of Request ( #864 )
2024-12-03 09:59:58 +09:00
github-actions[bot]
17659346dd
Version Packages ( #863 )
2024-12-02 11:03:37 +09:00
Yuichiro Yamashita
739d4a01fc
feat(effect-validator): support `effect@3.10.0` ( #859 )
...
* upgrade effect to 3.10.0
* add changeset
* tidy import
* update lock file
* remove RemoveReadonly
2024-12-02 10:56:10 +09:00
github-actions[bot]
71c1e669e2
Version Packages ( #862 )
2024-12-02 10:13:22 +09:00
Gaubee
ee83665c5e
feat: Use honoReq's bodyCache to provide a body function for trpc's req ( #850 )
...
Some middleware (in createContext) may need to read the body. If the raw request instance is provided directly, the body will be consumed prematurely, blocking the development of middleware.
2024-12-02 10:08:18 +09:00
github-actions[bot]
3bd19aec54
Version Packages ( #858 )
2024-11-29 21:12:25 +09:00
Jani
3f63c46fa6
fix(zod-openapi): support default response ( #855 )
...
* fix(zod-openapi): support default response
* chore: changeset
2024-11-29 21:07:33 +09:00
github-actions[bot]
b1fdf7202f
Version Packages ( #854 )
2024-11-28 19:05:51 +09:00
Yusuke Wada
a9804afe71
fix(zod-openapi): return `Response` if response is not text or JSON ( #853 )
...
* fix(zod-openapi): return `Response` if response is not text or JSON
Co-authored-by: sushichan044 <mail@sushichan.live>
* fixed tests and correct types
* add changeset
---------
Co-authored-by: sushichan044 <mail@sushichan.live>
2024-11-28 18:35:21 +09:00
github-actions[bot]
a2ffc34b31
Version Packages ( #851 )
2024-11-28 10:57:56 +09:00
Anthony Skorupskyy
4ebecc6142
fix(zod-openapi): multi-middleware complex type inference ( #849 )
2024-11-28 10:54:26 +09:00
github-actions[bot]
83cc76469e
Version Packages ( #848 )
2024-11-26 08:29:37 +09:00
rwv
934b3932c1
feat: customize html title for swagger-ui ( #845 )
...
* feat: customize html title for swagger-ui
* chore: add changeset
2024-11-26 08:21:30 +09:00
github-actions[bot]
c063c66a55
Version Packages ( #838 )
2024-11-19 11:00:17 +09:00
Yusuke Wada
ebd70a0e03
feat(zod-openapi): support `enum` ( #837 )
...
* feat(zod-openapi): support `enum`
* add changeset
* add changeset
2024-11-19 10:53:55 +09:00
github-actions[bot]
672ff939bc
Version Packages ( #835 )
2024-11-18 11:14:07 +09:00
Yusuke Wada
88e54c1b9d
chore(tsyringe): add a build command ( #834 )
...
* chore(tsyringe): add a build command
* add changeset
2024-11-18 11:05:17 +09:00
github-actions[bot]
013e0ecf1b
Version Packages ( #833 )
2024-11-17 05:50:53 +09:00
蒼時弦也
932d651aaf
feat(tsyringe): add @hono/tsyringe middleware ( #785 )
2024-11-17 05:36:39 +09:00
github-actions[bot]
68753ca8b2
Version Packages ( #830 )
2024-11-16 09:50:57 +09:00
Daniel Pedersen
bbb48ef368
fix(zod-openapi): infer env type parameter from middleware ( #828 )
...
* fix(zod-openapi): infer env type parameter from middleware
* add test
2024-11-16 09:46:13 +09:00
github-actions[bot]
e37c31392c
Version Packages ( #829 )
2024-11-15 17:36:35 +09:00
Illia Khvost
c9f63deb95
feat(ajv-validator): Add Ajv validator middleware ( #794 )
2024-11-15 05:17:22 +09:00
Yusuke Wada
b0320d91f0
chore(zod-openapi): format code and fixed the type ( #827 )
2024-11-14 16:52:38 +09:00
Yusuke Wada
72e7070acd
chore(zod-validator): use `tsup` for build ( #826 )
2024-11-14 15:54:50 +09:00
github-actions[bot]
b8bee02ec6
Version Packages ( #824 )
2024-11-13 05:34:59 +09:00
Aditya Mathur
553112c2c6
fix: exported Hook type in valibot and typebox validators ( #821 )
...
* fix: exported Hook type
* chore: add changeset packages
2024-11-13 05:31:42 +09:00
github-actions[bot]
f997ee0d9a
Version Packages ( #820 )
2024-11-10 18:51:50 +09:00
Fabian Hiller
d6fcbbd336
feat(valibot-validator): upgrade valibot peer dependency ( #819 )
2024-11-10 18:46:22 +09:00
oberbeck
2f55c21d62
docs(zod-openapi): use tuple in middleware example ( #812 )
2024-11-09 10:05:26 +09:00
github-actions[bot]
0ebcc6f276
Version Packages ( #816 )
2024-11-08 12:26:21 +09:00
Pr0m3th3us
a5c20b3428
feat: class validator middleware for Hono ( #788 )
...
* setup middleware package
* add implementation middleware
* add documentation + updae tsconfig for decorator handling
* add tests
* fix format class-validator middleware
* Add Readme
* Update changelog & changeset
* update changelog 2
* update changelog 2
* fix working directory ci
* rm jest dependencies
change to tsup for build
fix ci name
* revert changes not related to class-validator
* remove the changeset since Changesets will add a changeset automatically
* package description
2024-11-08 12:08:18 +09:00
github-actions[bot]
28ca0f3284
Version Packages ( #815 )
2024-11-08 04:55:22 +09:00
Yusuke Wada
f237ca68a8
chore: update lockfile
2024-11-08 04:50:24 +09:00
Divyam
b1c812e50c
fix(auth-js): add react 19 in peer dependencies ( #813 )
...
* fix(auth-js): add react 19 in peer dependencies
* update
2024-11-08 04:48:15 +09:00
github-actions[bot]
d903e27888
Version Packages ( #811 )
2024-11-07 12:19:54 +09:00
oberbeck
2eec6f6fd9
feat(zod-openapi): infer env from routeMiddleware ( #807 )
...
* feat(zod-openapi): infer env from routeMiddleware
* chore(zod-openapi): add changeset for routeMiddleware Env inference
Close #715
2024-11-07 12:11:30 +09:00
github-actions[bot]
c6bbcb8f9d
Version Packages ( #809 )
2024-11-06 15:28:07 +09:00
Jee
9a2cf452c7
fix(auth-js): fix cloned request causing request body to be unavailable in middleware ( #806 )
2024-11-06 14:37:59 +09:00
github-actions[bot]
b5fab5f6ff
Version Packages ( #805 )
2024-11-05 11:03:08 +09:00
Ogabek
5fd80263f2
feat: introduce Swagger Editor middleware ( #800 )
...
Closes https://github.com/honojs/hono/issues/1415
* chore(swagger-editor): 🔨 init
* ci: 🎡 swagger editor workflow
create workflow for swagger-editor package
* docs: 📝 readme
have writed documentation
* test(test): ✅ create test for swagger-editor middleware
* fix(swagger-editor): 🐛 fixed cdn url in html content
* chore: 🔨 v0.1.0
release
* format
* fix the typos
* remove unnecessary `.`
* remove unnecessay `vite` and fix the `vitest.config.ts`
* fix the relase workflow
* update the changeset and `package.json`
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-11-05 11:00:20 +09:00
github-actions[bot]
2c0c41faa5
Version Packages ( #798 )
2024-10-29 09:35:49 +09:00
Fabian Hiller
0ff894aeb1
fix(valibot-validator): add support for v1 dist-tags ( #797 )
2024-10-29 09:31:59 +09:00
github-actions[bot]
61a2fa4d6e
Version Packages ( #795 )
2024-10-25 11:28:06 +09:00
tempepe
68eec9e2bc
feat(oidc-auth): optional cookie name ( #789 )
2024-10-25 11:25:00 +09:00
github-actions[bot]
ee5d7e0e74
Version Packages ( #791 )
2024-10-24 18:43:58 +09:00
Divyam
ed31c680f7
fix(auth.js): clone request directly for bun ( #790 )
...
* fix(auth.js): clone request directly for bun
* added popup login hook
* update README.md
2024-10-24 18:41:16 +09:00
github-actions[bot]
2d1a89df26
Version Packages ( #786 )
2024-10-21 07:26:47 +09:00
Divyam
c19b51baaf
refactor(auth-js): session provider ( #775 )
...
* refactor: session provider
* format
2024-10-21 07:23:51 +09:00
github-actions[bot]
9506e3c424
Version Packages ( #778 )
2024-10-12 15:39:11 +09:00
Shotaro Nakamura
40e3a780d1
fix(oauth-providers): support latest hono ( #662 )
...
* fix(oauth-providers): support latest hono
* chore: add changeset
* change major to patch
2024-10-12 15:35:14 +09:00
Yam Borodetsky
75eef8790f
docs(zod-openapi): fix tip block in readme ( #774 )
...
The `> [!TIP]` block is now formatted correctly, allowing correct display within GitHub.
2024-10-11 16:34:25 +09:00
github-actions[bot]
72c4bf652b
Version Packages ( #770 )
2024-10-07 21:41:06 +09:00
github-actions[bot]
d910689ae8
Version Packages ( #768 )
2024-10-07 19:44:45 +09:00
Fabian Hiller
05610f520e
feat(valibot-validator): upgrade valibot peer dependency ( #762 )
2024-10-07 19:35:10 +09:00
github-actions[bot]
bc3facf9b5
Version Packages ( #767 )
2024-10-06 14:16:02 +09:00
Yusuke Wada
aba8ea6411
chore(zod-openapi): don't release
2024-10-06 13:42:27 +09:00
github-actions[bot]
7253e6b9f1
Version Packages ( #764 )
2024-10-06 13:28:47 +09:00
Yusuke Wada
2a45247d80
feat(zod-validator): support enum types for `query` ( #763 )
...
* fix(zod-validator): support enum types for `query`
* add changeset
2024-10-06 13:24:53 +09:00
Maksim
3d78fa470d
fix(auth-js): remove config.basePath ( #752 )
...
* remove config.basePath
* ⬆️ (auth-js): update @auth/core dependency from version ^0.30.0 to ^0.35.3 for latest features and bug fixes
✅ (index.test.ts): add basePath to config for consistency in authentication tests
♻️ (index.test.ts): correct code style inconsistencies for better readability and maintainability
* update yarn.lock
2024-10-05 12:40:14 +09:00
github-actions[bot]
f6f13175e2
Version Packages ( #761 )
2024-10-03 19:16:05 +09:00
Luca Schultz
f6d642afdd
feat(zod-openapi): add target property to parameter of validation hook ( #756 )
...
* feat(zod-openapi): add target property to parameter of validation hook
Signed-off-by: Luca Schultz <github@lucaschultz.com>
* add changeset
---------
Signed-off-by: Luca Schultz <github@lucaschultz.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-10-03 19:13:19 +09:00
github-actions[bot]
09bb26fccf
Version Packages ( #759 )
2024-10-02 16:19:55 +09:00
Shoki
80da4aa50a
feat(effect-validator): use array formatting for errors ( #718 )
...
* feat(effect-validator): use array formatting for errors
* add test for `error`
* make it as `minor`
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-10-02 16:14:14 +09:00
github-actions[bot]
1ed5c7d7fa
Version Packages ( #754 )
2024-09-28 11:49:45 +09:00
Andrei
9639103a9a
fix(valibot-validator): use `tsup` and fix esm/cjs ( #753 )
...
* fix(valibot-validator): use `tsup` and fix esm/cjs
* chore(valibot-validator): remove build tsconfigs
* chore(.changeset): add changeset
* fix(valibot-validator): replace jest config extension with `.cjs`
2024-09-28 11:33:30 +09:00
github-actions[bot]
cb126e0902
Version Packages ( #751 )
2024-09-26 12:38:19 +09:00
Yusuke Wada
98d4ceab9c
chore(zod-openapi): bump `@hono/zod-validator` ( #750 )
...
* chore(zod-openapi): bump `@hono/zod-validator`
* add changeset
2024-09-26 12:35:15 +09:00
Yusuke Wada
c4f537ff63
chore: update lockfile
2024-09-26 12:18:36 +09:00
Yusuke Wada
fb64367811
fix(zod-openapi): fix `@hono/zod-validator` version
2024-09-26 12:16:14 +09:00
github-actions[bot]
18c9518505
Version Packages ( #748 )
2024-09-26 12:04:09 +09:00
Yusuke Wada
950786f6d2
chore(zod-validator): format the code ( #749 )
2024-09-26 12:00:04 +09:00
Bartosz Polnik
eda3584791
feat(zod-validator): pass target from zod-validator to a hook ( #695 )
...
* feat(zod-validator): passing target to hook
* feat(zod-validator): trigger githubaction
* feat(zod-validator): add changeset
* feat: pass narrower type to zod validation hook
2024-09-26 11:53:26 +09:00
github-actions[bot]
45f5d45bfa
Version Packages ( #746 )
2024-09-24 20:22:43 +09:00
Yusuke Wada
2378265f71
fix(eslint): update dependencies ( #745 )
...
* fix(eslint): update dependencies
* add changeset
2024-09-24 20:16:09 +09:00
github-actions[bot]
40b4ad9bd2
Version Packages ( #744 )
2024-09-24 19:15:14 +09:00
Lindelwe Michael Ncube
39cb252df9
fix(tbValidator): Fix tbValidator not calling hook when there's a fail case ( #742 )
...
* Fix tbValidator not calling hook when there's a fail case
* add tests
* Add changeset
2024-09-24 19:04:59 +09:00
github-actions[bot]
58c8e237a9
Version Packages ( #736 )
2024-09-09 22:13:07 +09:00
sugar
b7e740f930
Introduce Casbin Middleware ( #676 )
...
* feat: impl casbin middleware
* fix: defaultCheckPermission logic
* fix: divide authorizer
* chore: testing and docs
* fixed: hono version
* fix: export and module resolution
* fix: typo
* docs: fix model
* fix: conflict
* fix: version
2024-09-09 21:56:28 +09:00
github-actions[bot]
69b3cfe726
Version Packages ( #733 )
2024-09-08 14:44:36 +09:00
Yusuke Wada
1bbb1416ca
fix(eslint-config): `@typescript-eslint/no-require-imports` as `off` ( #732 )
...
* fix(eslint-config): `@typescript-eslint/no-require-imports` as `off`
* add changeset
2024-09-08 14:41:47 +09:00
github-actions[bot]
5f162e47f0
Version Packages ( #730 )
2024-09-08 13:09:33 +09:00
Yusuke Wada
80cd26ab6e
feat(eslint-config): support ESLint v9 ( #731 )
...
* feat(eslint-config): support ESLint v9
* add changeset
2024-09-08 12:59:41 +09:00
Antony David
f7a950a649
chore(eslint-config): use modern plugins alternatives ( #724 )
...
* chore(eslint-config): use modern plugins alternatives
* chore: migrate missing ones
* chore: migrate eslint plugin comments
* fix(eslint): update configuration
* chore: bump eslint dev deps
* chore: add changeset
2024-09-08 08:38:30 +09:00
Masashi Tomooka
c5fb51f783
docs(zod-openapi): fix missing arguments for app.doc31 ( #721 )
2024-08-29 15:12:57 +09:00
github-actions[bot]
9db07806c9
Version Packages ( #716 )
2024-08-26 11:47:20 +09:00
Axel Meinhardt
5675a5fc32
feat(oidc-auth): access and set claims ( #711 )
...
* feat(oidc-auth): access and set claims
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* chore(oidc-auth): add changeset, doc and fix types
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* chore(oidc-auth): add tests
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* refactored some types
---------
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-08-26 11:44:14 +09:00
Axel Meinhardt
cd99b40177
feat(oidc-auth): restrict cookie paths ( #709 )
...
* feat(oidc-auth): restrict cookie paths
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* chore(oidc-auth): add documentation
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* fix(oidc-auth): add tests
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* refactor and format
---------
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-08-26 07:37:10 +09:00
github-actions[bot]
588b0eb151
Version Packages ( #714 )
2024-08-25 15:16:19 +09:00
Axel Meinhardt
dadf5ce3c2
feat(zod-openapi): allow multiple mimetype ( #710 )
...
* feat(zod-openapi): allow multiple mimetype
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* simplify the test
---------
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-08-25 12:01:09 +09:00
github-actions[bot]
c49996d6f3
Version Packages ( #713 )
2024-08-25 11:47:04 +09:00
rwv
32abe11a4a
perf(swagger-ui): use jsdelivr instead of unpkg to serve swagger-ui assets ( #701 )
...
* perf: use jsdelivr instead of unpkg to serve swagger-ui assets
* format
* add changeset
2024-08-25 11:41:29 +09:00
github-actions[bot]
f4030cb845
Version Packages ( #712 )
2024-08-25 11:33:27 +09:00
Minghe
9cac146245
fix(graphql-server): the resolver always has context as the argument ( #705 )
...
* feat(types): the resolver always has context as the argument
* make it `patch` release
2024-08-25 11:29:19 +09:00
Shotaro Nakamura
1bd5cdcd09
fix(valibot-validator): update Hono version and fix test code ( #663 )
...
* fix(valibot-validator): update Hono and fix test code
* chore: update lockfile
* chore: add changeset
* chore: remove changeset
2024-08-21 20:20:37 +09:00
github-actions[bot]
9443cb018a
Version Packages ( #698 )
2024-08-19 09:27:07 +09:00
Taishi Naritomi
c3b67a6c3b
fix(@hono/oauth-providers): Added missing URL parameters prompt, login_hint, and access_type in the Google OAuth provider. ( #697 )
...
* fix: google provider attach custom parameters
* fix format
* Create rare-fishes-sort.md
2024-08-19 09:23:23 +09:00
github-actions[bot]
2528a9fd63
Version Packages ( #690 )
2024-08-11 11:36:08 +09:00
Yusuke Wada
c3d4886800
fix(zod-openapi): supports `required` for JSON and Form body ( #689 )
...
* fix(zod-openapi): supports `required` for JSON and Form body
* changeset
2024-08-11 11:33:09 +09:00
github-actions[bot]
2d14b1c8a4
Version Packages ( #687 )
2024-08-10 16:13:31 +09:00
Yusuke Wada
0add2f5800
refactor(zod-openapi): change the position of functions ( #688 )
2024-08-10 16:10:24 +09:00
Yusuke Wada
a6ec008fbd
fix(zod-openapi): don't validate the body if content-type is mismatched ( #686 )
...
* fix(zod-openapi): don't validate the body if content-type is mismatched
* changeset
2024-08-10 16:01:19 +09:00
Jeff Astor
5facd8cd25
Update README.md ( #684 )
...
Fix typo in code sample for hono/cache
2024-08-09 11:36:33 +09:00
github-actions[bot]
4706d43da2
Version Packages ( #680 )
2024-08-06 21:09:33 +09:00
David Havl
0b6d821c11
feat(event-emitter): Enable invoking asynchronous handlers ( #649 )
...
* Add new emitAsync method, memory leak prevention and significantly improve README.md
* Adjust ci yarn install command
* Commit yarn.lock
* Run changeset
* Revert ci yarn install command
* Move context parameter to the first position in the `emit` method
* Fix test
2024-08-06 21:05:35 +09:00
github-actions[bot]
d3e7037e61
Version Packages ( #675 )
2024-07-31 23:04:52 +09:00
Alex Turpin
9c58014a7c
fix(react-renderer): Change react-renderer props to interface ( #668 )
...
* Change react-renderer props to interface
* Changeset
2024-07-31 23:01:53 +09:00
uttk
d4a69131e1
feat: Conform Validator Middleware ( #666 )
...
* feat: add `@hono/conform-validator` to packages
* docs: Add the conform-validtor middleware usage to README.md
* docs: fix README
* refactor: Fix tests to use HTTPException
* fix: update devDependencies in conform-validator
* chore: add github workflows for conform-validator
* feat: add changesets
* fix: Init conform-validator version to 0.0.0 for changesets
* feat: Add a hook option to `conformValidator()`
* feat: Fixed the conformValidator to return an error response when a validation error occurs
* fix: Fixed node version used in CI from 18.x to 20.x
* fix: Fix to use tsup in build command
* chore: delete `.skip` from `it` in test files.
* chore: fix title in test files.
* fix: Fixed to return 400 response when the request body is not FormData
* chore: fixed to change patch to major in changeset.
* chore: Removed unused libraries
2024-07-31 22:55:02 +09:00
github-actions[bot]
e2ede3bdfd
Version Packages ( #671 )
2024-07-29 22:31:08 +09:00
3w36zj6
e3eafbc117
feat(graphql-server): add GraphiQL support ( #670 )
...
* feat(graphql-server): add GraphiQL support
* test(graphql-server): add GraphiQL tests
* docs(graphql-server): add GraphiQL usage
* chore: add changeset
2024-07-29 21:44:54 +09:00
github-actions[bot]
59894e77c0
Version Packages ( #669 )
2024-07-28 18:25:43 +09:00
3w36zj6
41ab4b029d
fix(graphql-server): add type to Middleware Handler ( #667 )
...
* fix(graphql-server): add type to Middleware Handler
* chore: add changeset
2024-07-28 18:18:49 +09:00
github-actions[bot]
e488b9f08a
Version Packages ( #659 )
2024-07-21 18:29:59 +09:00
Kirill Timchenko
a04ab70c2c
fix(zod-openapi): infer OpenAPIObjectConfig ( #656 )
...
* fix(zod-openapi): infer OpenAPIObjectConfig
* minor -> patch
2024-07-21 18:27:06 +09:00
github-actions[bot]
795d4af3d4
Version Packages ( #658 )
2024-07-21 18:21:04 +09:00
github-actions[bot]
ab1b831e1a
Version Packages ( #654 )
2024-07-19 18:12:29 +09:00
Wang Guan
e54c628751
feat(oauth-providers): allow custom redirect_uri ( #601 )
...
* oauth-providers: allow set of redirect_uri
* only check state in req with auth code
* update readme.md
* add changeset file
* update readme
* run lint:fix
* add test
* test other providers
* revent unreleated test
2024-07-19 07:43:18 +09:00
github-actions[bot]
20c2d1c0e1
Version Packages ( #653 )
2024-07-19 07:16:04 +09:00
Quentin
139e34a907
fix(node-ws): `CloseEvent` is not defined ( #648 )
...
* feat: add CloseEvent class as it doesn't exist for some versions of Node.js
* chore(style): remove semicolon
* test: add promise to check if "onClose" doesn't crashes
* chore(style): apply eslint rules
* ref: use `globalThis.CloseEvent` whenever possible or fallback to custom CloseEvent class
* chore: add changeset
2024-07-19 07:10:07 +09:00
github-actions[bot]
9467b7e54c
Version Packages ( #647 )
2024-07-17 21:39:14 +09:00
David Havl
f38a6166f6
feat(zod-openapi): Support for other json content-types such as application/vnd.api+json, application/problem+json, etc. ( #645 )
...
* Support other json content-types
* Run changeset
2024-07-17 18:19:04 +09:00
Yusuke Wada
2b54aa037a
chore(react-compat): bump `hono` ( #644 )
2024-07-16 23:11:35 +09:00
3w36zj6
cc1e8a4911
docs(graphql-server): update example code to Typescript and parameter name ( #640 )
...
* fix(graphql-server): update parameter name in `RootResolver` type from `ctx` to `c`
* docs(graphql-server): update README to use TypeScript in example code
2024-07-15 17:38:06 +09:00
github-actions[bot]
e6afa4bd3d
Version Packages ( #642 )
2024-07-15 17:34:53 +09:00
Quentin
2f307e6877
fix(node-ws): binary messages have wrong byteLength and allocates unnecessary `Buffer` instance ( #639 )
...
* fix: no more Buffer.from usage
* test: add test for binary messages
* chore: add changeset
2024-07-15 17:30:50 +09:00
github-actions[bot]
1f5858ec55
Version Packages ( #636 )
2024-07-11 23:57:55 +09:00
Gunther Brunner
95eb48c83e
feat: Add Effect Schema validator ( #589 )
...
* First commit
* Add basic Effect Schema validator
* chore(effect-validator): Change name of middleware to `effect-validator` and fix devDependencies
* chores(effect-validator): Update yarn.lock
* Remove bun lock file
* chores(effect-validator): Add github workflow
* chores: Update yarn.lock
* refactor the code and correct settings
* remove unnecessary files
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-07-11 23:46:31 +09:00
github-actions[bot]
d722b198e0
Version Packages ( #635 )
2024-07-11 16:39:12 +09:00
Paweł Dąbrowski
a405d08709
feat(zod-openapi): expose from ( #632 )
2024-07-11 16:35:49 +09:00
github-actions[bot]
72d591aa35
Version Packages ( #629 )
2024-07-10 10:23:42 +09:00
naporitan
47be5c6956
feat(swagger-uri): Add Full Configuration Parameters and Update Dependencies ( #618 )
...
* chore(swagger-ui): update swagger-ui-dist types
* feat(swagger-ui): add swagger-ui parameters
* chore(swagger-ui): fix typeerror
add url parameter
* chore(swagger-ui): refactor test case
* chore: add versioning doc
* chore(swagger-ui): remove useUnsafeMarkdown
* chore(swagger-ui): add requestSnippetsEnabled
* chore(swagger-ui): syntaxHighlight: boolean
* chore(swagger-ui): fix propertykey
* chore(swagger-ui): format code
* chore(swagger-ui): add string function property commented
2024-07-10 10:20:52 +09:00
Yusuke Wada
61cd9b6a57
chore(hello): update CI, dependencies, and build scripts ( #626 )
2024-07-07 16:24:11 +09:00
github-actions[bot]
95289e678d
Version Packages ( #625 )
2024-07-07 16:07:35 +09:00
David Havl
53b4f33190
feat: Event Emitter middleware ( #615 )
...
* Add event-emitter middleware
* Commit yarn.lock
* Add author to package.json
* Remove CHANGELOG.md
* Bump up node version
* Adjust initial version
2024-07-07 16:03:10 +09:00
github-actions[bot]
9bf6c4bb8e
Version Packages ( #624 )
2024-07-07 13:03:36 +09:00