Commit Graph

932 Commits (main)

Author SHA1 Message Date
github-actions[bot] 5cba9a4819
Version Packages (#1233)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-16 11:29:29 +09:00
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
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
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
Max Gerber a2409d2314
chore: Prettier should operate on all files (#1222)
* chore: Prettier should operate on all files

* Update package.json

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

---------

Co-authored-by: Jonathan Haines <jonno.haines@gmail.com>
2025-06-15 09:08:01 +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
Yusuke Wada 7c6a860814
chore: update the lockfile (#1226) 2025-06-14 06:05:24 +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
Yusuke Wada bb56b3176e
chore: update the lockfile (#1224) 2025-06-14 05:51:27 +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
Jonathan Haines 44b1c24b95
chore(zod-validator): run prettier to fix CI (#1221)
* chore(zod-validator): run prettier to fix CI

* ci: fix changed packages
2025-06-13 16:18:23 +09:00
Jonathan Haines b73b7aed29
chore: update yarn to v4.9.2 (#1219) 2025-06-13 05:21:52 +09:00
Jonathan Haines a7ee664c98
ci: what changed (#1212) 2025-06-11 19:15:16 +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 c880649458
refactor: enable isolated declarations (#1209) 2025-06-09 19:00:20 +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
Jonathan Haines 3c70dcd6ae
chore: update hono (#1185) 2025-06-02 05:06:04 +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
Yusuke Wada c97fcf08b2
chore: add Claude Code local files to gitignore (#1179)
Add CLAUDE.local.md and settings.local.json to gitignore to prevent
committing Claude Code local configuration files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-05-29 19:59:38 +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
Jonathan Haines deeeac9e1c
lint: array-type (#1165)
* lint: array-type

* format

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-05-19 16:00:53 +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
Jonathan Haines 7a45d5749d
ci(oauth-providers): set publish config access to public (#1168) 2025-05-16 09:38:35 +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