Replies: 1 comment
-
|
@whqtker |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
관련 이슈
#658
현재 버전
버전 선택
Spring Boot: 3.5.x
Java: 17 -> 21
계획
⭐️⭐️⭐️
build.gradle, CI/CD 스크립트) (17 -> 21)@MockBean,@SpyBean을@MockitoBeanm@MokitoSpyBean으로 변경javax.xml.bind:jaxb-api제거javax.xml.bind패키지가 기본으로 포함되지 않았기 때문입니다. JJWT 버전을 업그레이드하면서 불필요해졌기에 제거합니다.spring.mvc.path match.matching-strategy: ANT_PATH_MATCHER삭제requestMachers()는PathPatternRequestMatcher를 기본적으로 사용합니다. MVC 설정과 매핑 불일치로 인해 보안 취약점이 발생할 수 있습니다. [실제 사례] 공식 문서에서도PathPatternRequestMatcher방식을 권장하고 있습니다.database: mysql제거driverClassName: com.mysql.cj.jdbc.Driver제거cloud.aws.stack.auto: false제거import static io.jsonwebtoken.lang.Strings.hasText->import static org.springframework.util.StringUtils.hasText(LanguageTestScoreFilterRepositoryImpl)io.awspring.cloud:spring-cloud-aws-starter-parameter-store버전 업⭐️
io.spring.dependency-management,org.flywaydb.flyway버전을 최신 버전으로commons-lang3추가EnumUtils가 제거되었습니다. 이에 Enum 관련 메서드를 사용하기 위해 해당 라이브러리를 추가합니다.EnumUtils.isValidEnum()뿐이고, 실제로 사용되는 부분도 많지 않습니다. 이를 위해 라이브러리를 추가하기보다,PostCategoryEnum에 검증 로직을 두는 것이 더 좋을 거 같습니다. 검증 책임 또한 라이브러리가 아니라 해당 Enum 클래스가 지게 됩니다.spring.tomcat.threads.min-spare->server.tomcat.threads.min-spare(잘못된 prefix)Jackson2JsonRedisSerializer<>(Object.class)->Jackson2JsonRedisSerializer<>(new ObjectMapper(), Object.class)'org.springframework.boot:spring-boot-properties-migrator'로 검증한다.Beta Was this translation helpful? Give feedback.
All reactions