Commit Graph

881 Commits (2c917b33a416d31cc2c8ca773b9ed53332de9ed4)

Author SHA1 Message Date
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 6c8ba4cdcd
ci: initial coverage (#1022) 2025-03-18 17:56: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
Yusuke Wada 44efa2a048
Merge pull request #1011 from honojs/changeset-release/main
Version Packages
2025-03-11 17:17:00 +09:00
github-actions[bot] f7cdf60217 Version Packages 2025-03-11 08:16:20 +00:00
Yusuke Wada 8ee52ec554
Merge pull request #901 from dahlia/otel
feat(otel): Add OpenTelemetry middleware
2025-03-11 17:13:33 +09: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
Jonathan Haines cc26ddcae3
test(typia-validator): use `unplugin-typia` (#1000)
* test(typia-validator): use `unplugin-typia`

Fixes #999

* chore: cleanup ignored test-generated
2025-03-05 14:13:40 +09:00
github-actions[bot] 7007f19734
Version Packages (#1002)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-05 09:51:46 +09:00
Joaquin Gimenez 69c3983d20
feat(cloudflare-access): Add support to read JWT from Cookie (#1001) 2025-03-05 09:20:59 +09:00
Jonathan Haines 5ea7fb5d09
chore: Migrate workspaces that use `jest` to `vitest` (#998)
* docs(contributing): add section on testing

Fixes #994

* test(clerk-auth): replace jest with vitest

* test(graphql-server): replace jest with vitest

* test(medley-router): replace jest with vitest

* test(oauth-providers): replace jest with vitest

* test(oidc-auth): replace jest with vitest

* test(sentry): replace jest with vitest

* test(trpc-server): replace jest with vitest

* test(typebox-validator): replace jest with vitest

* test(typia-validator): replace jest with vitest

* test(valibot-validator): replace jest with vitest

* chore: cleanup remaining references to jest

* chore: fix lint errors

* test(typia-validator): fix exclude directory

* test(oauth-providers): use vitest environment miniflare

* chore: update `yarn.lock`

* chore(zod-openapi): pin zod-validator to 0.4.2

* test(graphql-server): remove console filtering

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-04 22:00:28 +09:00
github-actions[bot] 0f8d2f3d05
Version Packages (#997)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-03 06:08:20 +09:00
Lucas c279ba2bc5
fix(zod-openapi): correctly handle path parameters in basePath (#995)
* fix(zod-openapi): correctly handle path parameters in basePath
This tries to fix an issue not covered by #992.

* chore: add changeset
2025-03-03 06:02:43 +09:00
github-actions[bot] 10d65d1828
Version Packages (#993)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-02 17:51:58 +09:00
Yusuke Wada 3c738f5ea4
fix(zod-openapi): replace path param strings correctly in basePath (#992)
* fix(zod-openapi): replace path param strings correctly in basePath

* add changeset
2025-03-02 17:48:35 +09:00
github-actions[bot] 50936f9967
Version Packages (#991)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-02 16:13:40 +09:00
Younis 708aa3510c
fix(swagger-ui): fix configuration bug (#988)
* fix(swagger-ui): Handle undefined options and improve rendering logic for non-RENDER_TYPE_MAP edge cases

* test(option-renderer): Add tests for filtering and handling invalid properties

* fix(swagger-ui): Handle undefined options and improve rendering logic

---------

Co-authored-by: Younis-Ahmed <23105954+jonaahmed@users.noreply.github.com>
2025-03-02 15:52:35 +09:00
github-actions[bot] e0880ca4a9
Version Packages (#987)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 17:57:02 +09:00
Robert Michalak 59c6356aac
feat(zod-openapi): Add ability to exclude routes from OpenAPI docs (#984)
* Exclude route from OpenAPI docs

* add changeset

* update to minor

* test if a hidden route is available for requests
2025-02-28 17:52:52 +09:00
github-actions[bot] fa8ed2804f
Version Packages (#975) 2025-02-23 15:35:06 +09:00
Dmytro Kulyk 6f90a574c4
feat(node-ws): Reject unexpected WebSocket connections (#973)
* Added rejection of WebSocket connections when the app does not expect them

* added changeset

* Updated waiter names; removed strict option
2025-02-23 15:31:44 +09:00
github-actions[bot] 57b9f5dbdc
Version Packages (#972) 2025-02-17 14:30:48 +09:00
ghaaj be181bfff6
feat(react-renderer): Include a doctype statement by default (#971)
* feat(react-renderer): Include a doctype statement by default

* chore: Add changeset
2025-02-17 10:40:35 +09:00
github-actions[bot] a2fdda7f6f
Version Packages (#969)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-15 10:44:19 +09:00
Yusuke Wada b65d5a5861
fix(zod-validator): fix commonjs import problem (#968)
* fix(zod-validator): fix commonjs import problem

* add changeset
2025-02-15 10:40:26 +09:00
github-actions[bot] 305f463cf6
Version Packages (#967) 2025-02-10 18:45:17 +09:00
paihu 352507bc06
fix(standard-validator): fix hook's result type (#964)
* fix standard validator type

* add test and format code

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-02-10 18:42:04 +09:00
github-actions[bot] 0ebb6854fc
Version Packages (#966) 2025-02-10 18:13:23 +09:00
Shotaro Nakamura c24efa6b8a
fix(node-ws): ws wasn't created when upgrade process is async (#959)
* fix(node-ws): ws wasn't created when upgrade process is async

* chore: add changeset

* add test

* Update big-pillows-shave.md
2025-02-10 18:10:03 +09:00
github-actions[bot] 4f927dfaa8
Version Packages (#963) 2025-02-07 10:02:30 +09:00
Rokas Muningis 8e5f49394b
fix(standard-validator): remove dead code (#962)
* fix(standard-validator): remove dead code

* chore(standard-validator): changeset
2025-02-07 09:39:07 +09:00
github-actions[bot] 08b7e0d1de
Version Packages (#961) 2025-02-06 21:45:16 +09:00
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
github-actions[bot] 4e4e40cdbf
Version Packages (#957) 2025-02-04 18:25:20 +09:00
Lucas 70a564e268
fix(zod-openapi): handle nested app base paths in openapi registration (#955)
* feat: handle nested app base paths in openapi registration

* test: add test for nested base paths in OpenAPI schema

* test(zod-openapi): add route without base path

* chore: add changeset

* chore: format
2025-02-04 18:21:56 +09:00
github-actions[bot] deae708dde
Version Packages (#953) 2025-02-02 21:30:01 +09:00
Yusuke Wada c80ffbfb4c
fix(node-ws): allow `Hono` with custom Env for `createNodeWebSocket` (#951)
* fix(node-ws): allow `Hono` with custom Env

* add changeset
2025-02-02 21:25:54 +09:00