🚀 version changed packages#17
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Releases
@naverpay/prometheus-hono@1.2.0
Minor Changes
getHonoMetricsMiddleware: Next.js 라우트 그룹핑에url.href(scheme/host 포함)가 아니라url.pathname을 넘기도록 수정. 기존에는/http://host/...형태의 비정규화 라벨이 생성되었습니다.getHonoMetricsMiddleware: 사용자가 제공한normalizePath가 우선 적용되도록 수정. 기존||체이닝에서는 Next.js 그룹핑이 미매칭 시에도 비어있지 않은 값을 반환해normalizePath가 무시되었습니다. 이제normalizePath가 값을 반환하면 그 값을 사용하고,undefined를 반환하면 Next.js 그룹핑 → 기본 정규화로 위임합니다(하이브리드 앱에서 "API 경로만 직접 정규화, 나머지는 Next.js에 위임" 가능).normalizePath반환 타입을string | undefined로 확장.createNormalizedHonoRouterPath:prefix가 두 번 부착되던 버그 수정(/prefix/prefix/...). 이제prefix인자가 정상 동작합니다.