Jonathan Haines
4d67af162f
test(workspace): upgrade to vitest v3 ( #1009 )
...
* test(workspace): upgrade to vitest v3
Fixes #1007
* chore(standard-validator): add vitest type to `tsconfig.json`
* chore: update `yarn.lock`
* chore(zod-openapi): bump `typescript`
* chore(typia-validator): make it ESM
* ci(bun-transpiler): fix Bun to v1.1.32
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-12 12:52:15 +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]
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]
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
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
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]
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]
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]
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
Yusuke Wada
b0320d91f0
chore(zod-openapi): format code and fixed the type ( #827 )
2024-11-14 16:52:38 +09:00
oberbeck
2f55c21d62
docs(zod-openapi): use tuple in middleware example ( #812 )
2024-11-09 10:05:26 +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
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
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
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]
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
Masashi Tomooka
c5fb51f783
docs(zod-openapi): fix missing arguments for app.doc31 ( #721 )
2024-08-29 15:12:57 +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]
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]
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]
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