Commit Graph

650 Commits (main)

Author SHA1 Message Date
github-actions[bot] acff470c7f
Version Packages (#1232)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-16 11:24:22 +09:00
github-actions[bot] 40f916f944
chore(ua-blocker): update robots.json from upstream (#1229)
* chore(ua-blocker): update robots.json from upstream

* add changeset

* format

---------

Co-authored-by: yusukebe <10682+yusukebe@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-06-16 11:00:08 +09:00
github-actions[bot] cf3c17e3d1
Version Packages (#1228)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-14 06:08:40 +09:00
Colin Ozanne be73703184
feat: introduce UA Blocker Middleware (#1181)
* feat: create AI bot blocker middleware

* chore: add changeset

* fix: uppercase function called too late

* chore: don't version-control robots.json

* chore: track `robots.json`

* ci: add `@hono/ai-robots-txt` workflow script

* fix: change initial version

* feat: add automatic `robots.json` sync from upstream

* feat!: change package name and architecture

* refactor(ua-blocker): prebuild compiled regex (#1)

* fix: add json data files to tsconfig

* chore: rename workflow files

* fix: test if string _contains_ "Yes"

It might be a markdown link, so not the exact string, but "[Yes](<link>)"

* fix: tests reflect the fixed "Yes" check

* feat: move generator back to prebuild

generated regex should use the version-controled robots.json, not
directly the upstream file

* chore: add .zed

* chore: remove unused files

* fix: properly setup workspace before running scripts

* chore: remove `prebuild` script from `build`, `typecheck`, and `test`

* chore: run `getrobotstxt` and `prebuild`

* fix: export `RegExp`s, not `string[]`s

* chore: mention RegExp and uppercase matching in docs

* fix: adapt tests to regex exports

* chore: add tests for direct regex passing

* chore: format code

---------

Co-authored-by: Jonathan Haines <jonno.haines@gmail.com>
2025-06-14 06:00:42 +09:00
github-actions[bot] 2f57dd5ebb
Version Packages (#1225)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-14 05:55:25 +09:00
Max Gerber ede1aaff4f
feat: Stytch Authentication middleware (#1186)
* feat: Stytch Authentication middlewares

* Add changeset

* Better README

* Refresh yarn.lock

* fix: Remove unused dev deps, linter

* README and light renaming

* Remove ci-stytch-auth workflow

* rerun prettier

* add troubleshooting to readme
2025-06-14 05:48:00 +09:00
github-actions[bot] 86a4ca460d
Version Packages (#1211)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-09 19:16:09 +09:00
Jonathan Haines 0758fd0af1
refactor(auth-js): enable isolated declarations (#1210) 2025-06-09 19:11:03 +09:00
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 3c1ecb0ce9
refactor(otel): enable isolated declarations (#1203)
* refactor(otel): enable isolated declarations

* refactor: remove extra type arguments
2025-06-09 18:58:01 +09:00
Jonathan Haines b8802e01b7
refactor(swagger-ui): enable isolated declarations (#1208) 2025-06-09 18:52:25 +09:00
Jonathan Haines 0bda87e4ee
refactor(swagger-editor): enable isolated declarations (#1207) 2025-06-09 18:49:27 +09:00
Jonathan Haines 1cdfdbd292
refactor(prometheus): enable isolated declarations (#1204) 2025-06-09 18:47:35 +09:00
Jonathan Haines aaf90c39e6
refactor(oidc-auth): enable isolated declarations (#1202) 2025-06-09 18:35:28 +09:00
Jonathan Haines 641fd4c3de
refactor(oauth-providers): enable isolated declarations (#1201) 2025-06-09 18:33:23 +09:00
Jonathan Haines f0475c7324
refactor(sentry): enable isolated declarations (#1205) 2025-06-09 18:31:52 +09:00
Jonathan Haines 8303d979f1
refactor(node-ws): enable isolated declarations (#1200) 2025-06-09 18:23:05 +09:00
Jonathan Haines 50aa61d9c2
refactor(medley-router): enable isolated declarations (#1199) 2025-06-09 18:22:23 +09:00
Jonathan Haines e1eae2078f
refactor(hello): enable isolated declarations (#1198) 2025-06-09 18:17:27 +09:00
Jonathan Haines ab390305fb
refactor(graphql-server): enable isolated declarations (#1197) 2025-06-09 18:16:01 +09:00
Jonathan Haines 3a9920a258
refactor(esbuild-transpiler): enable isolated declarations (#1196) 2025-06-09 18:14:46 +09:00
Jonathan Haines b6f3bc674b
refactor(cloudflare-access): enable isolated declarations (#1195) 2025-06-09 18:12:04 +09:00
Jonathan Haines 683455895d
refactor(clerk-auth): enable isolated declarations (#1194) 2025-06-09 18:11:11 +09:00
Jonathan Haines 1adca4c918
refactor(bun-transpiler): enable isolated declarations (#1193) 2025-06-09 18:10:30 +09:00
github-actions[bot] 471cf0580d
Version Packages (#1192)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-08 11:34:45 +09:00
Jocelyn Boullier a70d91950f
feat(otel): record uncaught expections (#1191) 2025-06-08 11:31:28 +09:00
github-actions[bot] d05b6158ec
Version Packages (#1189)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-02 21:10:02 +09:00
Shotaro Nakamura 69a0a586f5
fix(node-ws): use defineWebSocket helper (#1187)
* fix: use buffering to fix #1129

* chore: changeset

* chore: fmt

* feat(node-ws): use defineWebSocket helper

* changeset
2025-06-02 21:06:25 +09:00
github-actions[bot] 858c6b4fc3
Version Packages (#1184)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-01 11:25:25 +09:00
Shotaro Nakamura ccc49dd508
fix(node-ws): use buffering to fix #1129 (#1183)
* fix: use buffering to fix #1129

* chore: changeset

* chore: fmt
2025-06-01 11:12:23 +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] 52a1d46cd2
Version Packages (#1172)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-17 11:20:38 +09:00
Danial Hanif 7585969171
fix(auth-js): use HonoRequest.blob() instead of HonoRequest.raw.body() (#1170)
* fix(auth-js): use HonoRequest.blob() instead of HonoRequest.raw.body()

* lint fix and format fix

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-05-17 11:17:28 +09:00
github-actions[bot] 8fafbc1d4d
Version Packages (#1167)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-16 07:42:31 +09:00
Jonathan Haines cf48336cbd
feat(oauth-providers): Add MSEntra OAuth Provider (#1163)
Co-authored-by: Tim Barley <barleyco@gmail.com>
2025-05-16 07:38:53 +09:00
github-actions[bot] 2c917b33a4
Version Packages (#1166)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-15 23:03:13 +09:00
Jonathan Haines 74d0fe0cb4
feature(eslint-config): add types (#1162)
fixes #1157
2025-05-15 22:55:48 +09:00
github-actions[bot] e63499755a
Version Packages (#1158)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-13 07:26:50 +09:00
Nicholas Dobie 7717755dd3
feat(bun-compress): Created a compress middleware that supports Bun (#1153)
* feat(bun-compress): Created a compress middlware that supports Bun

* fix(bun-compress): spelling mistake in readme

* fix(bun-compress): package description

* fixed package.json
2025-05-13 07:15:11 +09:00
github-actions[bot] 026e1deac3
Version Packages (#1156)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-12 17:59:40 +09:00
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