Jonathan Haines
9235709060
refactor: composite build ( #1230 )
...
* refactor: composite build
* chore(ua-blocker): move demo.ts out of src
2025-06-16 11:23:47 +09:00
Jonathan Haines
c880649458
refactor: enable isolated declarations ( #1209 )
2025-06-09 19:00:20 +09:00
github-actions[bot]
2fccb8b764
Version Packages ( #1182 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-30 11:16:13 +09:00
Yusuke Wada
5c3f61f889
feat(zod-validator): update peerDependency to Zod `^3.25.0` and fix the types ( #1180 )
...
* feat(zod-validator): update peerDependency to Zod ^3.25.0 and fix type compatibility
* add changeset
2025-05-30 10:40:47 +09:00
github-actions[bot]
9afa292ca5
Version Packages ( #1176 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-27 17:55:25 +09:00
Yusuke Wada
a62b59f450
feat(zod-validator): support Zod v4 ( #1173 )
...
* feat(zod-validator): support Zod v4
* changeset
* oops. using `any`
* remove the not used value
* [wip] support both v3 and v4
* update
* avoid the type error on build
* remove unnecessary `unknown`
* fixed type and add test
* avoid the type error
* rename the test
* don't use `schema instanceof ZodObject`
* update README
* use released `3.25.6`
* changeset
* use `zod` instead of `zod/v3`
* don't update the peerDependencies
* use both v3 and v4 types if Zod has v4
* fix ZodError
* fixed
* update lock file
* update README
* remove unnecessary cast
2025-05-27 17:47:54 +09:00
github-actions[bot]
247f7705b3
Version Packages ( #1143 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-27 20:30:24 +09:00
Yusuke Wada
8ed99d9d79
feat(zod-validator): add `validationFunction` option ( #1140 )
...
Co-authored-by: migawka <migawka@amadeustech.dev>
2025-04-27 20:12:13 +09:00
Yusuke Wada
b9fa57530a
chore: format codes ( #1142 )
2025-04-27 19:28:24 +09:00
Jonathan Haines
1fd8ebf9b6
feat(eslint-config): enable linting with type information ( #1098 )
2025-04-07 19:31:09 +09:00
Jonathan Haines
e8512f0ee9
build: typescript project references ( #1077 )
...
* build: typescript project references
* chore: remove duplicate keys
2025-04-02 18:28:02 +09:00
Jonathan Haines
b18f24379b
chore(dev-deps): upgrade to hono v4 ( #1092 )
...
* chore(dev-deps): upgrade to hono v4
* chore(zod-openapi): build workspace dependencies
* chore(trpc-server): ignore null body type
2025-03-31 18:20:57 +09:00
Jonathan Haines
4f9bb1dd8e
test: move tests to src directory ( #1075 )
...
* test(react-renderer): move tests to src directory
* test: move tests to src directory
* test: ensure vitest-pool-workers is installed at the root
2025-03-28 18:50:19 +09:00
Jonathan Haines
c39d47d6f0
build(zod-validator): lint published package ( #1070 )
2025-03-27 15:09:49 +09:00
Jonathan Haines
783a082c12
chore: add coverage badges ( #1023 )
...
* chore: add coverage badges
* ci(casbin): fix spelling
2025-03-19 17:53:11 +09:00
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]
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
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
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]
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
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
Yusuke Wada
72e7070acd
chore(zod-validator): use `tsup` for build ( #826 )
2024-11-14 15:54:50 +09:00
github-actions[bot]
bc3facf9b5
Version Packages ( #767 )
2024-10-06 14:16:02 +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
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]
0996475ab3
Version Packages ( #554 )
2024-06-01 11:40:07 +09:00
Ame_x
aa05549497
fix(zod-validator): validator support async hook ( #552 )
...
* fix(zod-validator): validator support async hook
* fix
* changeset
* refactor
* chore: format (includes other middleware)
* fix
* revert
* Revert "chore: format (includes other middleware)"
This reverts commit 16b4462014
.
* changeset
* revert
2024-06-01 11:35:21 +09:00
github-actions[bot]
9e9c326c73
Version Packages ( #434 )
2024-03-26 09:26:33 +09:00
MAKS11060
c721d14d4b
fix(zod-validator): fix export for esm module ( #431 )
...
* fix: incorrect import, (deno/node) loaded cjs file instead of esm
* fix: default esm mode
* upd build step
* use changeset
* replace test runner to vitest
2024-03-26 09:03:48 +09:00
github-actions[bot]
053b2d5143
Version Packages ( #413 )
2024-03-06 19:49:29 +09:00
Yusuke Wada
4875e1c531
feat(zod-validator): support `coerce` ( #411 )
...
* fix(zod-validator): support `coerce`
* changeset
* refactored
* make it as minor
2024-03-06 19:35:27 +09:00
Yusuke Wada
168a0a6d68
fix(zod-openapi): handle `Conflicting names for parameter` ( #356 )
...
* fix(zod-openapi): handle `Conflicting names for parameter`
* add changeset
2024-01-25 08:36:58 +09:00
Yusuke Wada
ee12e3c08a
chore: bump hono to `3.11.7` ( #311 )
2023-12-14 18:33:01 +09:00
Yusuke Wada
a03e133d42
chore: setup prettier ( #301 )
...
* changeset
* chore: setup prettier
2023-12-13 17:31:25 +09:00
Yusuke Wada
bd18b966ee
chore: migrate to `yarn v4` ( #299 )
...
* changeset
* chore: migrate to `yarn v4`
* remove changeset
* fixed Github Actions for `hello`
* fix gitignore
* add dependencies
* add ci for oauth-providers
* add dependencies
* add `publint`
* update msw
2023-12-13 15:54:00 +09:00
github-actions[bot]
66710bcca0
Version Packages ( #216 )
2023-10-30 06:19:00 +09:00
Yusuke Wada
ab2176bf6e
fix(zod-validator): bump Hono version of `peerDependencie` ( #215 )
...
* fix(zod-validator): bump Hono version of `peerDependencie`
* changeset
2023-10-30 06:13:40 +09:00
github-actions[bot]
cb5bba456b
Version Packages ( #209 )
2023-10-23 05:20:38 +09:00
Andrew
46575b4395
fix(zod-validator): make validation input optional when schema is optional ( #208 )
...
* fix(zod-validator): make validation input optional when schema is optional
* feat(index.test.ts): add tests for optional schema
* feat(index.test.ts): add more tests for optional schema
* chore: add changeset
2023-10-23 05:18:23 +09:00
github-actions[bot]
d4ae60d489
Version Packages ( #177 )
2023-09-26 17:21:38 +09:00
Luis Bizarro
a9123dd9e3
fix: Async zod support. ( #175 )
...
* add: Async zod support.
* add: Missing changeset.
2023-09-26 05:20:41 +09:00
Yusuke Wada
687dc5a6a1
test(vod-validator): fixed test
2023-08-24 15:57:06 +09:00
Yusuke Wada
77b2db96a8
chore(zod-validator): bump up Hono
2023-08-24 15:52:12 +09:00