Commit Graph

696 Commits (@hono/ua-blocker@0.1.6)

Author SHA1 Message Date
github-actions[bot] 2a589b0728
Version Packages (#1310)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-16 12:53:35 +09:00
github-actions[bot] 47cb4c8569
chore(ua-blocker): update robots.json from upstream (#1309)
Co-authored-by: yusukebe <10682+yusukebe@users.noreply.github.com>
2025-07-16 12:16:43 +09:00
github-actions[bot] 3705fe6560
Version Packages (#1305)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-13 20:10:52 +09:00
kiki-kanri 9f6278f51c
chore(zod-validator): upgrade zod to v4 and update import style in README.md (#1302)
* chore(zod-validator): upgrade zod to v4

* docs(zod-validator): update Zod import style to be more tree-shakeable in README.md

* chore(zod-validator): commit .changeset

* fix(zod-validator): correctly set the zod version to follow the official website doc

* chore(zod-validator): change `.changeset` to patch cause it does not include a new feature
2025-07-13 19:57:55 +09:00
github-actions[bot] 55e4b19a50
Version Packages (#1304)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-13 17:16:43 +09:00
Yusuke Wada 68cbb31af4
feat(session): enable accessing sid via `c.var.session.id` (#1272)
* feat(session): enable accessing sid via `c.var.session.id`

* changeset
2025-07-13 17:12:05 +09:00
github-actions[bot] b5186da328
Version Packages (#1303)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-11 18:27:58 +09:00
Jonathan Haines 037fd94b7b
fix(session): types for SessionOptions cookie methods (#1301) 2025-07-11 18:14:09 +09:00
github-actions[bot] 2498ccab03
Version Packages (#1299)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-11 08:28:49 +09:00
github-actions[bot] 18dec85b78
chore(ua-blocker): update robots.json from upstream (#1298)
Co-authored-by: yusukebe <10682+yusukebe@users.noreply.github.com>
2025-07-11 08:19:58 +09:00
github-actions[bot] 4e5f592359
Version Packages (#1296)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-10 07:27:38 +09:00
Bryce Kalow 0f472345c7
chore(clerk-auth): Update clerk dependencies (#1295) 2025-07-10 07:07:29 +09:00
github-actions[bot] 76ec9e8f26
Version Packages (#1293)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-07 16:54:13 +09:00
Jonathan Haines a22fbe78e5
fix(standard-validator): import standard-schema from jsr (#1291) 2025-07-07 16:37:32 +09:00
github-actions[bot] e84bb3770d
Version Packages (#1290)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-07 16:35:35 +09:00
Jonathan Haines a843d1c95f
fix(valibot-validator): import valibot from jsr (#1287) 2025-07-07 16:28:07 +09:00
github-actions[bot] 08981e9e78
Version Packages (#1286)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-06 17:43:37 +09:00
github-actions[bot] 02a703cffa
chore(ua-blocker): update robots.json from upstream (#1280)
Co-authored-by: yusukebe <10682+yusukebe@users.noreply.github.com>
2025-07-04 18:13:57 +09:00
github-actions[bot] 57ee14c739
Version Packages (#1271)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-29 14:54:16 +09:00
github-actions[bot] 07e50772ec
chore(ua-blocker): update robots.json from upstream (#1270)
Co-authored-by: yusukebe <10682+yusukebe@users.noreply.github.com>
2025-06-29 14:50:51 +09:00
github-actions[bot] cb084ca3a3
Version Packages (#1269)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-27 10:46:26 +09:00
Jonathan Haines 9f64138406
refactor(zod-openai): enable isolated declarations (#1217) 2025-06-27 10:42:46 +09:00
github-actions[bot] 8b4a6cef6c
Version Packages (#1268)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-27 06:34:34 +09:00
Max Gerber 8196e225e7
feat(stytch-auth): Add support for custom domain usage (#1267)
* feat(stytch-auth): Add support for custom domain usage

* clarify environment variable usage
2025-06-27 06:27:26 +09:00
github-actions[bot] fe1e1851e9
Version Packages (#1264)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-26 15:33:05 +09:00
Jonathan Haines 18b1ebc662
feat(session): add session middleware (#1188)
* feature(session): add session middleware

* refactor: replace @panva/hkdf with web crypto

* refactor: export SessionEnv

* chore: unify handler definition

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-06-26 15:29:28 +09:00
github-actions[bot] 178189788d
Version Packages (#1263)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-26 12:16:49 +09:00
RasengunShotaro f611394629
chore(clerk): 🆙 updated clerk dependency ( https://github.com/honojs/middleware/issues/1261 ) (#1262)
* 🆙 updated clerk dependency

* 📚

* update the changeset
2025-06-26 08:48:27 +09:00
github-actions[bot] 69b704d97b
Version Packages (#1260)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-25 08:02:48 +09:00
Yoshio HANAWA 6e4ee78e95
feat(oidc-auth): Add OIDC_AUTH_EXTERNAL_URL to support reverse proxies (#1248)
* feat(oidc-auth): Add OIDC_AUTH_EXTERNAL_URL to support reverse proxies

* chore(oidc-auth): Omit unused exception variables in catch blocks
2025-06-25 07:51:00 +09:00
github-actions[bot] a11e1edc7a
Version Packages (#1258)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-23 09:51:45 +09:00
Yusuke Wada 2f89c50aa4
chore(react-compat): publish package (#1257) 2025-06-23 09:45:26 +09:00
github-actions[bot] 031854c8f5
Version Packages (#1255)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-23 08:58:32 +09:00
Jonathan Haines e1e8a6626d
chore: package repository (#1254)
* chore: package repository

* chore(ci): skip eslint-config in CI
2025-06-23 08:53:57 +09:00
github-actions[bot] 7c6dfa1dbc
Version Packages (#1253)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-23 08:08:53 +09:00
Jonathan Haines 205aced16b
chore(graphql-server): publish package repository (#1252) 2025-06-23 08:05:33 +09:00
github-actions[bot] 95845a50ca
Version Packages (#1249)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-22 13:11:19 +09:00
Palmer McCutcheon 5178967931
feat(node-ws): Add WebSocketServer instance return to createNodeWebSocket (#1213)
* Add WebSocketServer instance return to createNodeWebSocket

This change introduces the return of the WebSocketServer instance from the createNodeWebSocket function, enhancing its usability by allowing consumers access to the WebSocketServer instance for additional operations.

- Updated tests to verify the returned WebSocketServer instance
- Added wss property to NodeWebSocket interface for type safety

* style
2025-06-22 13:07:24 +09:00
github-actions[bot] 848ecb889d
Version Packages (#1245)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-21 10:31:23 +09:00
Jonathan Haines 054257a200
feat(trpc-server): publish package exports (#1243)
fixes #1231
2025-06-21 10:28:12 +09:00
github-actions[bot] 074bb88b4f
Version Packages (#1240)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-19 16:27:00 +09:00
github-actions[bot] 69a278a2d3
Version Packages (#1239)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-19 15:34:00 +09:00
Robert Soriano 6ca78a14da
chore(clerk-auth): Support for Clerk Backend v2 (#1190)
* chore(clerk-auth): Introduce Clerk backend v2

* chore: clean up types

* chore: revert readme

* chore: move backend package to dependencies

* chore: add changeset

* chore: pin accepted token

* chore: run format

* chore: remove extra dependency

* chore: use token type constant

* chore: fix imports

* chore: use built-in type helpers

* chore: remove pending session options

* chore: run format
2025-06-19 15:33:50 +09:00
github-actions[bot] 6378861217
chore(ua-blocker): update robots.json from upstream (#1236)
Co-authored-by: yusukebe <10682+yusukebe@users.noreply.github.com>
2025-06-19 15:24:43 +09:00
github-actions[bot] 80481dd5ed
Version Packages (#1237)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-18 07:13:12 +09:00
Aditya Mathur 1baa0b281d
feat: added @hono/mcp package (#1178)
* feat: added hono/mcp package

* chore: changeset

* chore: minor changes

* chore: minor changes

* chore: formated the code

* chore: minor correction

* chore: removed changelog file

* chore: changed the class name

* chore: updated the readme

* fix: closed the stream

* chore: minor change

* fix: added an interval to keep the connection alive and merge 2 streams into a single one

* chore: updated lockfile

* fix: stupid mistake 😅

* chore: formatted the README.md file

* chore: minor change

* chore: minor changes

* chore: minor change

* add an explicit return type annotation

* format the code

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-06-18 07:07:30 +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
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