Skip to content

v2.0.0

Choose a tag to compare

@catomat0 catomat0 released this 15 Sep 02:09
· 5 commits to main since this release

프로젝트 리브랜딩 + 전체 API 리네이밍 릴리즈 (Breaking change).

리브랜딩

  • 프로젝트명: spring_oauth_starter → Oauth-helper (약칭 OAH)
  • GitHub repo: catomat0/spring_oauth_starter → catomat0/Oah
  • Java 패키지: com.github.catomat0.spring_oauth_starter.* → com.github.catomat0.oauthhelper.*
  • Maven artifactId: spring_oauth_starter → oauth-helper

Breaking — 모든 public 클래스에 Oah prefix

31개 사용자-facing 클래스가 리네이밍됨. AutoConfiguration 내부 클래스는 그대로 유지.

  • OAuth 계열 (OAuth* → Oah*): OahProvider, OahLoginService, OahStateService, OahAuthorizeUrlBuilder, OahAuthorizeParams, OahProperties, OahException, OahErrorCode, OahUserInfo, OahTokenClient, OahUserInfoClient
  • DTO: OahTokenResponse, OahKakaoUserInfoResponse, OahGoogleUserInfoResponse
  • JWT (Jwt* → OahJwt*, RefreshToken* → OahRefreshToken*): 8개
  • Signup Token (SignupToken* → OahSignupToken*): 9개

Migration guide

build.gradle

// before
repositories { maven { url = uri('https://maven.pkg.github.com/catomat0/spring_oauth_starter') } }
dependencies { implementation 'com.github.catomat0:spring_oauth_starter:1.1.1' }

// after
repositories { maven { url = uri('https://maven.pkg.github.com/catomat0/Oah') } }
dependencies { implementation 'com.github.catomat0:oauth-helper:2.0.0' }

imports — IDE 의 rename refactor 로 일괄 처리 권장:

// before
import com.github.catomat0.spring_oauth_starter.jwt.JwtProvider;
// after
import com.github.catomat0.oauthhelper.jwt.OahJwtProvider;

자세한 rename 표는 CHANGELOG.md 참조.

이전 v1.x 사용자

GitHub 이 catomat0/spring_oauth_starter → catomat0/Oah 자동 redirect 유지 (수개월). 옛 좌표 v1.1.1 은 계속 다운로드 가능.