fix(jin-frame): v5.0.1 — multipart PUT/PATCH, OAuth2 cleanup, Axios ref removal, naming convention docs#194
Conversation
… up Axios references - Remove refreshToken from AuthorizationData (OAuth2Provider was removed in v5) - Support multipart/form-data for PUT and PATCH in addition to POST - Add tests for multipart PUT and PATCH (472 tests total) - Replace Axios references with fetch-based descriptions in source comments (DebugInfo, JinFrameRequestConfig, RequestDedupeManager, getAuthorization, applySecurityProviders) - Update docs (EN/KO) to remove all Axios mentions: - index.md: "Axios Ecosystem" → "Standards-Based HTTP (fetch)" - what-is-jin-frame.md: built on fetch, not Axios - getting-to-start.md: remove Axios version compatibility table - method/form.md: URLSearchParams and FormData instead of transformRequest/form-data - method/inheritance.md: AxiosResponse → JinResp, $_postHook → _postHook - method/validation.md: AxiosResponse → JinPassResp, Validator → BaseValidator - usage-method.md: remove transformRequest option, fix body/status descriptions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add docs/method/naming-convention.md (EN) explaining the three rules: # prefix for private state, _ prefix for all instance methods/hooks, no prefix for static methods — with motivation and summary table - Add docs/ko/method/naming-convention.md (KO) Korean translation - Register page as first item under Method section in VitePress sidebar - Update inheritance.md (EN/KO) to link to the new naming convention page Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- multipart/form-data now supports PUT and PATCH in addition to POST Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #194 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 107 107
Lines 1083 1088 +5
Branches 284 289 +5
=========================================
+ Hits 1083 1088 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
PUT,PATCH메서드 지원 추가 (기존POST만 지원)refreshToken필드 삭제DebugInfo,JinFrameRequestConfig,RequestDedupeManager,getAuthorization,applySecurityProviders의 Axios 레퍼런스를 fetch 기반으로 수정form.md,what-is-jin-frame.md,getting-to-start.md(Axios 버전 테이블 삭제),inheritance.md(AxiosResponse→JinResp,_postHook오타 수정),validation.md(AxiosResponse→JinPassResp),usage-method.md(transformRequest옵션 제거)#/_/ 접두사 없음 세 규칙) 및 사이드바 등록5.0.0→5.0.1Test plan
pnpm --filter jin-frame test)🤖 Generated with Claude Code