본문 바로가기

반응형

Spring boot

(64)
Spring Boot 4.0 Migration Guide https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Migration-Guide41 revision 기준으로 작성됨이 문서는 애플리케이션을 Spring Boot 4.0으로 migration 하는 데 도움이 되도록 작성되었습니다.Before You Start최신 3.5.x 버전으로 업그레이드업그레이드를 시작하기 전에 프로젝트를 가능한 최신 3.5.x 버전으로 먼저 올리십시오.이렇게 하면 해당 라인의 최신 의존성들을 기준으로 빌드됩니다.업그레이드 전에 Spring Boot 4.0에서 제거될 예정인 deprecated API(메서드/클래스/프로퍼티)가 사용되고 있지 않은지 반드시 검토하세요.의존성 검토Spring Boot 4로의 이동은 여러..
Spring Boot 4.0 Release Notes 전체 Release Notes 목록은 이곳에서 확인할 수 있습니다.https://luvstudy.tistory.com/tag/Release%20Noteshttps://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Release-Notes14 revision 기준으로 작성됨Spring Boot 4.0 Release NotesSpring Boot 3.5에서 업그레이드하기이 릴리스는 Spring Boot의 메이저 릴리스이므로, 기존 애플리케이션을 업그레이드하는 과정이 평소보다 다소 복잡할 수 있습니다.업그레이드를 돕기 위해 Spring Boot 3.5 애플리케이션을 4.0으로 전환할 때 참고할 수 있는 전용 마이그레이션 가이드 를 마련해 두었습니다...
Spring Boot version Mappings 확인하기 기존에 Spring Boot를 사용하면서 관련하여 Spring Cloud나 Spring Data, 그 밖의 호환 버전들에 대해 각 프로젝트들의 문서나 github의 wiki를 찾아서 참고하곤 했었다.보통 Spring Boot와 Spring Cloud 호환버전을 많이 찾곤 했는데https://github.com/spring-cloud/spring-cloud-release/wiki/Supported-Versions Supported VersionsSpring Cloud Release Train - dependency management across a wide range of Spring Cloud projects. - spring-cloud/spring-cloud-releasegithub.com이제 Spr..
Spring Boot 4.0 Road to GA introduction Spring Boot 4.0 Release가 이제 얼마 남지 않았다.Jdk 25는 2005년 9월 16일 GA(General Availability)가 나올 예정이고https://openjdk.org/projects/jdk/25/ JDK 25 openjdk.orgSpring Boot 4.0 GA는 현재 2005년 11월 20일 예정이다.https://github.com/spring-projects/spring-boot/milestones GitHub - spring-projects/spring-boot: Spring Boot helps you to create Spring-powered, production-grade applications and servicesSpring Boot helps you t..
Spring Boot 3.5 Release Notes 전체 Release Notes 목록은 이곳에서 확인할 수 있습니다.https://luvstudy.tistory.com/tag/Release%20Noteshttps://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.5-Release-Notes13 revision 기준으로 작성됨Upgrading from Spring Boot 3.4spring-boot-parentspring-boot-parent module 은 더 이상 publish 되지 않습니다.이 module은 Spring Boot 자체 test 등에서 사용되는 내부 dependency에 대한 dependency management를 제공합니다.spring-boot-parent 를 사용 중이었다면..
Spring Boot ConfigurationMetaData 사용해 보기 Spring Boot Configuration MetaData 소개https://docs.spring.io/spring-boot/specification/configuration-metadata/index.htmlSpring Boot는 java에서 @ConfigurationProperties 를 선언한 properties에 대한 정보를 /META-INF/spring-configuration-metadata.json 파일로 Configuration Metadata를 제공한다.spring-boot-autoconfigure 에 있는 /META-INF/spring-configuration-metadata.json 파일을 보면 대략 다음과 같다.{ "groups": [ { "name": "serv..
ApplicationContextRunner에서 Condition Evaluation Report 확인하기 Spring Boot 기반 autoconfigure 환경을 제공하는 프로젝트 경우 테스트 코드 작성 시 Spring이 제공하는 ApplicationContextRunner , WebApplicationContextRunner , ReactiveWebApplicationContextRunner 를 사용하여 작성하게 된다.예전엔 ApplicationContextRunner 또는 WebApplicationContextRunner 사용 시 debug=true 옵션을 추가하면 boot 관련 로그를 확인할 수 있었다.버전이 올라가면서 로그를 확인하는 방식이 바뀌었고 기존 코드의 runner 실행 시 로그가 보이지 않게 되었다.아래처럼 initializer로 ConditionEvaluationReportLogging..
Spring Boot 3.4 Release Notes 전체 Release Notes 목록은 이곳에서 확인할 수 있습니다.https://luvstudy.tistory.com/tag/Release%20Noteshttps://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.4-Release-Notes17 revision 기준으로 작성됨Spring Boot 3.4 Release NotesUpgrading from Spring Boot 3.3RestClient and RestTemplateReactor Netty의 HttpClient 또는 JDK의 HttpClient 를 사용하도록 RestClient 및 RestTemplate 을 auto-configure 하는 지원이 추가되었습니다.우선순위에 따라 지원되는 c..

반응형