Commit Graph

33 Commits (feat/zod-openapi-zod-4)

Author SHA1 Message Date
github-actions[bot] d4cc24f754
Version Packages (#1206)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-09 19:05:17 +09:00
Jonathan Haines aaf90c39e6
refactor(oidc-auth): enable isolated declarations (#1202) 2025-06-09 18:35:28 +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 5234436db8
build(oidc-auth): lint published package (#1054)
* build(oidc-auth): lint published package

* build(oidc-auth): include require condition in subpath exports
2025-03-27 12:56:33 +09:00
github-actions[bot] 3ae1b484a2
Version Packages (#1037)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-24 21:44:38 +09:00
wayofthepie e6160a2f94
feat(oidc-auth): allow setting audience for oidc-auth (#1010) 2025-03-24 21:41:40 +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 b6267e721d
ci(coverage): upload initial coverage to codecov (#1021)
* ci(coverage): upload initial coverage to codecov

* ci(coverage): add flags

* ci(bun-transpiler): add coverage
2025-03-18 15:38:54 +09:00
github-actions[bot] b810c64c3d
Version Packages (#1018)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-16 19:09:11 +09:00
Milan Raj 87be440009
feat(oidc-auth) Add initOidcAuthMiddleware and avoid mutating environment variables (#980)
* Add setOidcAuthEnv

* Avoid test relying on mutated global

* Test and docs

* Changeset

* style

* Update type import

* Switch to setOidcAuthEnvMiddleware

* Update changeset description

* nit remove unneeded optional param on getOidcAuthEnv

* Rename to initOidcAuthMiddleware
2025-03-16 18:57:44 +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
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] 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
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] 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
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
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] 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
Yusuke Wada 7ab462dbc4
refactor: format (#497) 2024-05-04 11:33:29 +09:00
github-actions[bot] 37fb8662cb
Version Packages (#387) 2024-02-13 23:51:50 +09:00
Yoshio HANAWA fda62dea37
fix(oidc-auth): Fix "yarn release" for Yarn v4 / Build ESM only (#386) 2024-02-13 23:20:36 +09:00
github-actions[bot] 4d8389a8c7
Version Packages (#385) 2024-02-13 11:17:53 +09:00
Yoshio HANAWA 7777562f64
feat: Add OpenID Connect authentication middleware (#372)
* Add OpenID Connect authentication middleware

* add ci

* use tsup to build and use `module`

* update `yarn.lock`

* update `yarn.lock`

* Add `configureOidcAuth()` and remove the use of environment variables / Replace `Error` to `HTTPException` / Fix README / Fix version to 0.0.0

* Use environment variables for configuration of the middleware and remove `configureOidcAuth()` / Fix README

* chore: update `peerDependencies` and use latest hono

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-02-13 11:14:48 +09:00