Commit Graph

763 Commits (main)

Author SHA1 Message Date
Thomas Orlowski 7d3aa32e79
feat(graphql-server): upgrade GraphiQL (#1155) 2025-05-12 17:56:13 +09:00
github-actions[bot] 20d3fd1fe5
Version Packages (#1152)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-08 08:10:40 +09:00
Nicholas Dobie 414f0a6c95
feat(otel): Added support for W3C Trace Context format (#1151)
* feat(otel): Added support for W3C Trace Context format

* removed unneeded HonoRequest
2025-05-08 07:20:02 +09:00
github-actions[bot] bed23c62f5
Version Packages (#1147)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-29 18:35:32 +09:00
Shotaro Nakamura b8453438b6
fix(node-ws): enhance WebSocket connection handling with CORS support (#1146)
* fix(node-ws): make adapter uncrashable

* add changeset

* unnessesary diff

* fix(node-ws): enhance WebSocket connection handling with CORS support and connection symbols

* fix commentout

* remove unnecessary changese

* update changeset
2025-04-29 18:31:54 +09:00
github-actions[bot] 0dc8b719b4
Version Packages (#1145)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-28 15:21:28 +09:00
Andrei 01cd896e9b
fix(arktype-validator): Don't return restricted fields in error responses (#1137)
* fix(arktype-validator): add failing test for cookie header

* fix(arktype-validator): add restricted fields that are not returned in the "data" field of the error

* chore: add changeset
2025-04-28 15:17:34 +09:00
github-actions[bot] 928f8cd5b8
Version Packages (#1144)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-27 20:38:32 +09:00
Shotaro Nakamura 1765a9a3aa
fix(node-ws): make adapter uncrashable (#1141)
* fix(node-ws): make adapter uncrashable

* add changeset

* unnessesary diff

* update yarn.lock

* make changeset patch
2025-04-27 20:34:43 +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
github-actions[bot] a756d2235b
Version Packages (#1139)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-26 13:12:27 +09:00
Leia 237bff1b82
fix(node-ws):missing code and reason on CloseEvent (#1138)
fixes #1012
2025-04-26 13:09:26 +09:00
github-actions[bot] abb260632f
Version Packages (#1128)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-18 07:34:31 +09:00
Daniel Tao 63a9dff2b9
chore(zod-openapi): lock zod-to-openapi to `^7.3.0` to fix `z.custom` (#1127)
* chore(zod-openapi): lock zod-to-openapi to `^7.3.0` to fix schemas using `z.custom`

* add changeset
2025-04-18 07:30:36 +09:00
github-actions[bot] 6c36f525f9
Version Packages (#1123)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-11 16:23:32 +09:00
Yusuke Wada 944f1989f5
fix(react-renderer): tweak dynamic importing `renderToReadableStream` (#1122)
* fix(react-renderer): tweak dynamic importing `renderToReadableStream`

* changeset
2025-04-11 16:19:43 +09:00
github-actions[bot] a1fcb554ef
Version Packages (#1121)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-11 07:46:10 +09:00
Yusuke Wada 684ae9a21d
feat(react-renderer): use React v19 and specify `react-dom/server.edge` for `renderToReadableStream` (#1119)
* feat(react-renderer): use React v19 and specify `react-dom/server.edge` for `renderToReadableStream`

* changeset
2025-04-11 07:43:03 +09:00
github-actions[bot] ca3cada076
Version Packages (#1118)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-10 17:47:54 +09:00
Milo Hansen 362b6701a6
fix(otel): Use `req.routePath` when tagging spans (#1113)
* use routePath

Replace indexing into the matchedRoutes with a direct reference to routePath

* Update package.json

Bump version

* set span name and attributes after the request is handled

* revert version bump

* changeset

* add test to ensure subapps set the correct span name

---------

Co-authored-by: Milo Hansen <milo.hansen@avanade.com>
2025-04-10 17:40:54 +09:00
chimame 26d0efb036
chore(conform-validator): Change conform valibot adapter to official library (#1114) 2025-04-09 19:08:21 +09:00
github-actions[bot] 99e7bf2e64
Version Packages (#1115)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-09 18:40:50 +09:00
github-actions[bot] 542391f8db
Version Packages (#1108)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-07 19:34:59 +09:00
Jonathan Haines 1fd8ebf9b6
feat(eslint-config): enable linting with type information (#1098) 2025-04-07 19:31:09 +09:00
github-actions[bot] 9f3027a4a0
Version Packages (#1107)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-07 18:46:24 +09:00
Yusuke Wada 448a8fc687
fix(zod-openapi): infer Env correctly if the middleware is `[]` (#1106)
* fix(zod-openapi): infer Env correctly if the middleware is `[]`

* add changeset
2025-04-07 18:41:04 +09:00
github-actions[bot] f349fba499
Version Packages (#1101)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-03 23:23:22 +09:00
liquidleif 091b182a6a
fix(oauth-providers): Update twitter authorization url (#1099)
Closes #1100

* Update twitter authorization url

The twitter authorization URL is outdated.

* add a changeset
2025-04-03 23:18:24 +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
github-actions[bot] 5dd598f499
Version Packages (#1095)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-01 21:44:24 +09:00
Shotaro Nakamura 519404ad2c
fix(node-ws): adapter shouldn't send buffer as a event (#1094)
* fix(node-ws): adapter shouldn't send buffer as a event

* chore: changeset
2025-04-01 21:35:45 +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
Yann Normand b70735cc6c
docs:(zod-openapi): add note about app.route (#1088) 2025-03-30 11:04:13 +09:00
github-actions[bot] b0e0d40be4
Version Packages (#1087)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-29 14:12:27 +09:00
Yusuke Wada 8e6961ec9b
fix(eslint-config): add spread to `tseslint.configs.recommended` (#1084) 2025-03-29 14:02:45 +09:00
github-actions[bot] 9a98e388cc
Version Packages (#1082)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-29 09:20:18 +09:00
Yusuke Wada a3979bda8f
fix(sentry): fix the type error (#1081) 2025-03-29 09:12:39 +09:00
Yusuke Wada 37dbba2b8d
refactor(typebox-validator): fix the type error (#1079) 2025-03-29 09:02:20 +09:00
Yusuke Wada 88d3b5c637
refactor(zod-openapi): fix type errors (#1078)
* refactor(zod-openapi): fix type errors

* fix types
2025-03-29 08:47:19 +09:00
Aditya Mathur 0d6c13b1a3
feat: updated @hono/eslint-config package (#1031)
* chore(eslint-config): update dependencies and improve configuration

* chore(eslint-config): replace @typescript-eslint packages with typescript-eslint

* chore: completed changes suggested by @BarryThePenguin

* chore: updated the repo eslint config

* chore: updated the lockfile

* feat: added ci and minor changes

* chore: updated the eslint version in package.json

* chore: updated the lockfile

* add changeset

* `@ryoppippi/unplugin-typia` as devDependencies

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-29 08:18:02 +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 5fac2ef09c
build(react-renderer): lint published package (#1058)
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-27 15:49:10 +09:00
Jonathan Haines bf16ecc7a3
build(sentry): lint published package (#1059)
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-27 15:36:00 +09:00
Jonathan Haines cee0c83bc8
build(react-compat): lint published package (#1060) 2025-03-27 15:33:45 +09:00
Jonathan Haines d911e624a8
build(standard-validator): lint published package (#1061)
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-27 15:30:30 +09:00
Jonathan Haines 93b544fba0
build(swagger-ui): lint published package (#1063) 2025-03-27 15:21:50 +09:00
Jonathan Haines 6a69f92bc1
build(valibot-validator): lint published package (#1068) 2025-03-27 15:21:17 +09:00
Jonathan Haines 780cb787d1
build(typia-validator): lint published package (#1067) 2025-03-27 15:18:15 +09:00
Yusuke Wada 0e43d03cd4
chore: update the lockfile (#1073) 2025-03-27 15:13:19 +09:00
Jonathan Haines c39d47d6f0
build(zod-validator): lint published package (#1070) 2025-03-27 15:09:49 +09:00
Jonathan Haines ff2c1cd2fc
build(zod-openapi): lint published package (#1069) 2025-03-27 15:08:49 +09:00
Jonathan Haines 568f407452
build(typebox-validator): lint published package (#1066) 2025-03-27 15:06:50 +09:00
Jonathan Haines 85e67a12c0
build(tsyringe): lint published package (#1065) 2025-03-27 13:13:54 +09:00
Jonathan Haines d9671a5891
build(trpc-server): lint published package (#1064) 2025-03-27 13:07:16 +09:00
Jonathan Haines ee540d95fe
build(swagger-editor): lint published package (#1062) 2025-03-27 13:05:11 +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
Jonathan Haines 7c0f04486d
build(qwik-city): lint published package (#1057)
* build(qwik-city): lint published package

* ci(qwik-city): add workflow to run build and publint
2025-03-27 12:32:05 +09:00
Jonathan Haines ee53464b87
build(prometheus): lint published package (#1056) 2025-03-27 11:43:10 +09:00
Jonathan Haines c0ee9a4f5a
build(otel): lint published package (#1055) 2025-03-27 11:38:15 +09:00
Yusuke Wada 33c3faae59
chore: update the lockfile (#1072) 2025-03-27 11:34:20 +09:00
Jonathan Haines 8424b1d420
build(oauth-providers): lint published package (#1053) 2025-03-27 11:30:17 +09:00
Jonathan Haines 3d7d482aff
build(node-ws): lint published package (#1052) 2025-03-27 11:23:05 +09:00
Jonathan Haines bcbb7e01c5
build(medley-router): lint published package (#1051) 2025-03-27 11:21:43 +09:00
Jonathan Haines 5792504bdf
build(hello): lint published package (#1050) 2025-03-27 11:20:23 +09:00
Jonathan Haines 00011f9fe5
build(graphql-server): lint published package (#1049) 2025-03-27 11:17:41 +09:00
Jonathan Haines d905d009fe
build(firebase-auth): lint published package (#1048) 2025-03-27 11:14:58 +09:00
Jonathan Haines aab396f7ea
build(esbuild-transpiler): lint published package (#1046)
* build(esbuild-transpiler): lint published package

* chore: fix repository directory reference
2025-03-27 11:06:41 +09:00
Yusuke Wada 738f1da5db
chore: update the lockfile (#1071) 2025-03-27 11:02:11 +09:00
Jonathan Haines 2514e03382
build(event-emitter): lint published package (#1047) 2025-03-27 10:59:12 +09:00
Jonathan Haines 2939ab7493
build(effect-validator): lint published package (#1045) 2025-03-27 10:56:28 +09:00
Jonathan Haines bf4d315e5a
build(conform-validator): lint published package (#1044) 2025-03-27 10:55:22 +09:00
Jonathan Haines f4e4b8a2ee
build(cloudflare-access): lint published package (#1043) 2025-03-27 10:51:56 +09:00
Jonathan Haines 243a73c41c
build(clerk-auth): lint published package (#1042) 2025-03-27 10:48:09 +09:00
Jonathan Haines aad0ec86b3
build(class-validator): lint published package (#1041) 2025-03-27 10:38:31 +09:00
Jonathan Haines 3b9d2d2990
build(auth-js): lint published package (#1034)
* build(auth-js): lint published package

* ci(auth-js): run publint

* build(auth-js): remove no splitting flag
2025-03-25 08:57:15 +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 28ff8ed22d
ci(bun-transpiler): run publint (#1035) 2025-03-24 19:58:05 +09:00
Jonathan Haines 2a6c7f0202
build(casbin): lint published package (#1036) 2025-03-24 19:48:37 +09:00
Jonathan Haines 6e268318bf
build(arktype-validator): lint published package (#1033)
* build(arktype-validator): lint published package

* ci(arktype-validator): run publint
2025-03-24 19:46:35 +09:00
Jonathan Haines 67d0186fb4
build(ajv-validator): lint published package (#1030) 2025-03-24 17:51:26 +09:00
github-actions[bot] 8525489796
Version Packages (#1028)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-23 11:28:53 +09:00
Musa Asukhanov 70bae1d573
fix: Move "default" entrypoint down in "typia-validator" (#1027)
* Move "default" entrypoint down in "typia-validator"

* Add changeset

* Fix changeset
2025-03-23 11:25:47 +09:00
github-actions[bot] 307d83494c
Version Packages (#1025)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-19 18:07:38 +09:00
Sungyu Kang 4f17829191
chore(typia): bump 8.0.3 (#1024)
* chore(typia): bump 8.0.3

* chore: changeset

* fix: review

* fix: patch

* Update packages/typia-validator/package.json

Co-authored-by: Jonathan Haines <jonno.haines@gmail.com>

---------

Co-authored-by: Jonathan Haines <jonno.haines@gmail.com>
2025-03-19 18:04:26 +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
Yusuke Wada e678c36193
chore: update the lock file (#1019) 2025-03-17 23:43:15 +09:00
Jonathan Haines fc56cf2ae3
ci: run workspace scripts (#1015)
* ci: run workspace scripts

* ci: remove run option

* ci: remvoe default working directory

* test(firebase-auth): start emulator in vitest
2025-03-17 23:38:56 +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
github-actions[bot] e394e64ea5
Version Packages (#1014)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-12 17:59:11 +09:00
Younis e5f383787c
feat(oauth-providers): Add Twitch OAuth Provider (#981)
* feat(twitch): Add type definitions for Twitch OAuth scopes

* feat(twitch): Add additional type definitions for Twitch moderator scopes

* feat(twitch): Add IRC and PubSub-specific chat scopes to types

* feat(twitch): Add new type definitions for Twitch API responses

* feat(twitch): Add new user-related scopes for Twitch API

* feat(twitch): Add type definitions and import paths for Twitch provider

* feat(twitch): Implement Twitch OAuth handlers and response types for mock api

* feat(twitch): Add revokeToken function to handle OAuth token revocation

* feat(twitch): Add Twitch OAuth middleware mocks and tests

* feat(twitch): Implement Twitch OAuth authentication flow and user data retrieval

* feat(twitch): Add custom state handling for Twitch OAuth middleware

* docs(twitch): Update README with Twitch OAuth integration details

* docs: Update Twitch API reference link for scopes in README

* fix(twitch): Remove error handling for error_description in auth flow

* refactor(twitch): Update token handling and response types for refresh and revoke

* feat(twitch): Add token validation function for Twitch OAuth

* feat(twitch): Add token validation handler and update response types

* docs: Add token validation section to README for Twitch integration

* chore(oauth-providers): changesets summary

* fix(twitch): make redirect_uri optional in twitchAuth options

* refactor(twitch): clean up commented code and improve test assertions

* refactor(twitch): improve type assertions for JSON responses

* refactor(twitch): update type assertion for JSON response handling

* semver amendment

Changed version from patch to minor

* docs: update README with token validation instructions for Twitch

---------

Co-authored-by: Younis-Ahmed <23105954+jonaahmed@users.noreply.github.com>
2025-03-12 17:55:47 +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
github-actions[bot] f7cdf60217 Version Packages 2025-03-11 08:16:20 +00:00
Hong Minhee 15f3dddc3e
feat(otel): Add OpenTelemetry middleware
Close https://github.com/honojs/hono/issues/1864
2025-03-10 19:29:14 +09:00
Jonathan Haines 21c6b5b3f9
test(auth-js): use node 20.x in CI (#1008) 2025-03-07 08:51:16 +09:00
Jonathan Haines 0c24e85798
test(oauth-providers): use node 20.x in CI (#1004)
Fixes #1003
2025-03-06 07:33:42 +09:00