Rokas Muningis
f77d7ba2e2
feat(standard-validator): Add standard schema validation ( #887 )
...
* feat(standard-validator): Add standard schema validation
* feat(standard-validator): add changeset
* feat(standard-validator): reintroduce type tests
* feat(standard-validator): simplif tests
* build(standard-validator): add gitlab pipeline
* chore(standard-validator): remove redundant files
* feat(standard-validator): cleanup tests, adjust comments
* fix(standard-validator): adjust versions, fix doc
* build: fix lockfile
* feat(standard-validator): drop headers lower-casing, update readme
* check types in test dir and add `tsc` to the test command
2025-02-06 21:38:36 +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
Gabriel Massadas
2720ac7172
feat: Add Cloudflare Access middleware ( #880 )
2024-12-13 17:16:11 +09:00
Yusuke Wada
88e54c1b9d
chore(tsyringe): add a build command ( #834 )
...
* chore(tsyringe): add a build command
* add changeset
2024-11-18 11:05:17 +09:00
Illia Khvost
c9f63deb95
feat(ajv-validator): Add Ajv validator middleware ( #794 )
2024-11-15 05:17:22 +09:00
Pr0m3th3us
a5c20b3428
feat: class validator middleware for Hono ( #788 )
...
* setup middleware package
* add implementation middleware
* add documentation + updae tsconfig for decorator handling
* add tests
* fix format class-validator middleware
* Add Readme
* Update changelog & changeset
* update changelog 2
* update changelog 2
* fix working directory ci
* rm jest dependencies
change to tsup for build
fix ci name
* revert changes not related to class-validator
* remove the changeset since Changesets will add a changeset automatically
* package description
2024-11-08 12:08:18 +09:00
Ogabek
5fd80263f2
feat: introduce Swagger Editor middleware ( #800 )
...
Closes https://github.com/honojs/hono/issues/1415
* chore(swagger-editor): 🔨 init
* ci: 🎡 swagger editor workflow
create workflow for swagger-editor package
* docs: 📝 readme
have writed documentation
* test(test): ✅ create test for swagger-editor middleware
* fix(swagger-editor): 🐛 fixed cdn url in html content
* chore: 🔨 v0.1.0
release
* format
* fix the typos
* remove unnecessary `.`
* remove unnecessay `vite` and fix the `vitest.config.ts`
* fix the relase workflow
* update the changeset and `package.json`
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-11-05 11:00:20 +09:00
Yusuke Wada
2378265f71
fix(eslint): update dependencies ( #745 )
...
* fix(eslint): update dependencies
* add changeset
2024-09-24 20:16:09 +09:00
sugar
b7e740f930
Introduce Casbin Middleware ( #676 )
...
* feat: impl casbin middleware
* fix: defaultCheckPermission logic
* fix: divide authorizer
* chore: testing and docs
* fixed: hono version
* fix: export and module resolution
* fix: typo
* docs: fix model
* fix: conflict
* fix: version
2024-09-09 21:56:28 +09:00
Antony David
f7a950a649
chore(eslint-config): use modern plugins alternatives ( #724 )
...
* chore(eslint-config): use modern plugins alternatives
* chore: migrate missing ones
* chore: migrate eslint plugin comments
* fix(eslint): update configuration
* chore: bump eslint dev deps
* chore: add changeset
2024-09-08 08:38:30 +09:00
Yusuke Wada
96b0fd6174
chore: update the lockfile
2024-08-10 16:04:13 +09:00
uttk
d4a69131e1
feat: Conform Validator Middleware ( #666 )
...
* feat: add `@hono/conform-validator` to packages
* docs: Add the conform-validtor middleware usage to README.md
* docs: fix README
* refactor: Fix tests to use HTTPException
* fix: update devDependencies in conform-validator
* chore: add github workflows for conform-validator
* feat: add changesets
* fix: Init conform-validator version to 0.0.0 for changesets
* feat: Add a hook option to `conformValidator()`
* feat: Fixed the conformValidator to return an error response when a validation error occurs
* fix: Fixed node version used in CI from 18.x to 20.x
* fix: Fix to use tsup in build command
* chore: delete `.skip` from `it` in test files.
* chore: fix title in test files.
* fix: Fixed to return 400 response when the request body is not FormData
* chore: fixed to change patch to major in changeset.
* chore: Removed unused libraries
2024-07-31 22:55:02 +09:00
Yusuke Wada
8cf5bf0055
fix(effect-validator): add a build command to `package.json` at the top ( #657 )
...
* fix(effect-validator): add a build command to `package.json` at the top
* add chageset
2024-07-21 18:18:37 +09:00
David Havl
53b4f33190
feat: Event Emitter middleware ( #615 )
...
* Add event-emitter middleware
* Commit yarn.lock
* Add author to package.json
* Remove CHANGELOG.md
* Bump up node version
* Adjust initial version
2024-07-07 16:03:10 +09:00
Yusuke Wada
ef9f45ab69
fix(zod-openapi): relax types to support `.refine()` for an object ( #574 )
...
* fix(zod-openapi): relax types to support `.refine()` for an object
* add a chengeset
2024-06-14 18:58:40 +09:00
Taku Amano
2b981105db
feat: add @hono/react-compat package ( #563 )
...
* Add @hono/react-compat package
The creation of this package was proposed by Gaetan Puleo.
Co-authored-by: Gaetan Puleo <pro@gaetanpuleo.com>
* remove the changelog file and fix the version in `package.json`
these will be modified by Changesets
* correct `exports` paths in `package.json` and add `hono` as dev dependency
* export as `default`
* add build command to the `package.json` at the top
* add changeset. we release it as `patch` first.
---------
Co-authored-by: Gaetan Puleo <pro@gaetanpuleo.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-06-12 22:38:58 +09:00
Shotaro Nakamura
d11c3a565f
feat: Introduce WebSocket helper for Node.js | `@hono/node-ws` ( #503 )
...
* feat: Introduce WebSocket helper for Node.js | `@hono/node-ws`
* feat(node-ws): add ci and build command
* chore: update yarn.lock
* update `yarn.lock`
* fixed the ci config
* add `@hono/node-server` to devDependecies
* fixed format and specify node version
* fix(node-ws/docs): fix example
* feat: `upgradeWebSocket` be named function
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-05-09 21:51:25 +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
Carlos Ricardo Ziegler
ea19f6bdeb
fix: change peer dependency to support v4.0.0 ( #380 )
...
* chore: Update hono peer dependency to support v4.0.0
* chore: Update hono peer dependency to support v4.0.0 in some packages
* update `yarn.lock`
* add changeset
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-02-10 08:44:21 +09:00
Yusuke Wada
404b44bf3a
chore: update script to build zod-openapi ( #375 )
2024-02-03 21:08:02 +09:00
David Dios
5c165793fc
feat: Adding hono/prometheus middleware ( #340 )
...
* adding hono/prometheus middleware
* adding tests for the metrics endpoint
* adding changeset
* adding workflow and a build script to main package.json
* change to middleware factory instead
* extending the readme with some examples
* updating required hono version, adding installation section to readme
* updating hono version in devdependencies
2024-01-25 08:47:57 +09:00
floriankapaun
3f39be7a27
Add Bun Transpiler middleware #344 ( #345 )
...
* 🎉 Create Bun Transpiler Middleware Package
* ➕ Add @types/bun dev dependency
* 🔧 Use Bun Testrunner
* ✨ Implement Bun Transpiler Middleware
* ✅ Add Tests for Bun Transpiler middleware
* 📝 Add README to Bun Transpiler middleware
* 📝 Add Changeset
* 👷 Setup CI for Bun Transpiler middleware
* 🔧 Configure Bun as external during Build
* 🔧 Setup global build script for Bun Transpiler middleware
2024-01-08 07:03:56 +09:00
Andrew
b84c6c8eb3
feat: ArkType validator middleware ( #325 )
...
* feat: Create arktype-validator
* feat: Add changeset
* chore(arktype-validator): Fix formatting
* chore(index.test.ts): Replace `jsonT` with `json`
* feat(ci): Create arktype validator CI
* feat(package.json): Add arktype validator build script
* fix(ci): Fix lock file
2024-01-04 13:05:17 +09:00
divyam234
f9859e8fa7
added auth.js middleware ( #326 )
...
* added next-auth middleware
* fix react types
* code cleanup and improve tests
* renamed to authjs
* added example in readme
* Update README.md
* options to set dynamic base paths , urls and credentials in fetch
* update readme
* update readme
* Update README.md
* fix typos and set correct origin for local development
2023-12-29 04:30:25 +09:00
Yusuke Wada
fd1f92b815
chore(react-renderer): add CI and update lock file/package.json ( #314 )
2023-12-16 10:34:54 +09:00
Yusuke Wada
14da8577fd
chore: update `yarn.lock`
2023-12-13 18:23:48 +09:00
Yusuke Wada
40aeab8e3e
feat: introduce `@hono/eslint-config` ( #302 )
...
* changeset
* chore: setup prettier
* feat: introduce `@hono/eslint-config`
* changeset
2023-12-13 18:19:43 +09:00
Yusuke Wada
a03e133d42
chore: setup prettier ( #301 )
...
* changeset
* chore: setup prettier
2023-12-13 17:31:25 +09:00
Yusuke Wada
5403955ef6
chore: enable `eslint` and remove `denoify` ( #300 )
...
* changeset
* chore: enable `eslint` and remove `denoify`
2023-12-13 17:22:53 +09:00
Yusuke Wada
bd18b966ee
chore: migrate to `yarn v4` ( #299 )
...
* changeset
* chore: migrate to `yarn v4`
* remove changeset
* fixed Github Actions for `hello`
* fix gitignore
* add dependencies
* add ci for oauth-providers
* add dependencies
* add `publint`
* update msw
2023-12-13 15:54:00 +09:00
Yusuke Wada
d8eebd7822
fix(oauth-providers): enable building ( #276 )
...
* changeset
* fix(oauth-providers): enable building
* remove changeset
* changeset
2023-11-28 06:39:59 +09:00
Yusuke Wada
f79f40bd48
fix(esbuild-transpiler): build correctly ( #241 )
...
* fix(esbuild-transpiler): build correctly
* changeset
2023-11-07 11:38:09 +09:00
Sor4chi
c608fa9532
feat: swagger ui middleware ( #230 )
...
* feat(zod-openapi): create swagger-ui jsx component
* feat(zod-openapi): add swagger ui docs
* chore(zod-openapi): add versioning doc
* chore(zod-openapi): fix SwaggerUI component doc
* refactor(zod-openapi): remove jsx comment
* feat(swagger-ui): create new package
* feat(swagger-ui): provides swagger ui middleware and swaggerui component
* feat(zod-openapi): Changed to use @hono/swagger-ui
* chore: add versioning doc
* feat: update ci for @hono/swagger-ui
* refactor: remove package-lock.json
* refactor: reverted the extra changes.
* chore: remove old changeset doc
* refactor(swagger-ui): remove unused file
* refactor(swagger-ui): change input type
* feat(swagger-ui): Select only the options you need.
* chore(swagger-ui): update README
* refactor(swagger-ui): rewrite simple
* refactor(zod-openapi): remove swagger-ui
* chore(swagger-ui): fix readme content
* chore(dep): add @types/swagger-ui-dist for option types support
* feat: implement SwaggerConfig Renderer for mapping config object to html
* feat: extend some option support for swagger-ui-dist
* test: move option rendering test and add some cases
* feat: add manually option for making full customizable
* docs: update swagger-ui middleware README
* fix: do not escape HTML strings
* docs: update README of swagger-ui middleware
* ci: update workflow environment for swagger-ui middleware
---------
Co-authored-by: naporin0624 <naporin0624@gmail.com>
2023-11-04 18:18:20 +09:00
Yusuke Wada
23a64bba03
chore: bump up `typescript` ( #227 )
2023-11-03 05:27:11 +09:00
Vaggelis Yfantis
a18da2a545
feat: Clerk Middleware ( #151 )
...
* initial commit
* wip
* Update README.md
* tests(clerk-auth): Setup testing and added first test
* docs(clerk-auth): Update README.md
* tests(clerk-auth): Added some more tests
* chore(clerk-auth): Added refernece in tests
* ci(clerk-atuh): Add Clerk Auth workflow
* use `env` helper to get enviroment variables
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2023-10-27 16:50:22 +09:00
Patryk Dwórznik
2e4eeb0b70
feat: Add Typia validator ( #158 )
...
* Add Typia validator
* Add CI config
2023-09-15 22:54:56 +09:00
Yusuke Wada
564a497981
chore: fix build commands
2023-08-19 02:49:56 +09:00
Yusuke Wada
7b898034a5
feat: zod-openapi ( #118 )
...
* wip
* wip
* update readme
* changeset
* nohoist
* fixed CI
2023-08-19 02:43:36 +09:00
Nico Franke
c15de7ce3c
feat(valibot-validator): Add Valibot Validator Middleware ( #102 )
...
* feat: add valibot validator
* add changeset
2023-07-30 08:07:44 +09:00
Yusuke Wada
e970536220
feat: add "medley-router" ( #82 )
...
* feat: add "medley-router"
* setup
* add changeset
2023-04-21 23:43:30 +09:00
Yusuke Wada
efb4d1446e
chore: bump up the libraries ( #75 )
2023-03-21 22:32:46 +09:00
Curtis Larson
2a3245ad06
feat(typebox-validator): Add TypeBox Validator middleware ( #55 )
...
* feat(typebox-validator): Add TypeBox Validator middleware
* fix(typebox-validator): Updates based on code review comments
2023-02-24 18:22:02 +09:00
Yusuke Wada
2d1a1cc68e
chore: changelog format
2023-02-12 22:28:57 +09:00
Yusuke Wada
e7c60b3492
feat: introduce tRPC server middleware ( #36 )
...
* feat: introduce tRPC server middleware
* chore: add changeset
2023-02-04 23:37:15 +09:00
Yusuke Wada
e0f68909ea
setup Firebase Auth middleware
2023-02-04 20:20:42 +09:00
Yusuke Wada
34ad29dca5
setup Sentry middleware
2023-02-04 16:19:47 +09:00
Yusuke Wada
094c2666d0
chore(graphql-server): setup
2023-02-04 11:53:27 +09:00
Yusuke Wada
a5e33129c5
feat: add qwik-city middleware ( #22 )
...
* feat: add qwik-city middleware
* add changeset
2023-01-13 09:07:41 +09:00
Yusuke Wada
9436ea1ccb
chore: fixed `package.json`
2023-01-02 00:05:33 +09:00
Yusuke Wada
58e42aa8da
feat: introduce zod-validator ( #16 )
...
* feat: introduce zod-validator
* fixed `package.json`
* changeset
2023-01-02 00:03:44 +09:00