Skip to content

ihoneymon/boot-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

106 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boot Spring Boot 스프링 부트 시작하기

안녕하세요, 허니몬입니다.

이 프로젝트는 Boot Spring Boot 책의 예제 코드 저장소입니다. 책의 본문 내용은 boot-spring-boot-book 저장소를 참고하세요.

버전별 신기능 체크아웃 가이드

각 버전 태그를 체크아웃하면 해당 버전 시점의 예제 코드와 신기능 설명을 확인할 수 있습니다. 책의 해당 챕터(boot-spring-boot-book)와 함께 참고하세요.

저장소 클론

$ git clone https://github.com/ihoneymon/boot-spring-boot.git
$ cd boot-spring-boot
$ git checkout upgrade/spring-boot-4x   # 전체 업그레이드 히스토리 브랜치

버전별 태그 목록 확인

$ git tag | sort -V

버전별 체크아웃

$ git checkout v2.4.13   # Spring Boot 2.4: ApplicationStartup, config.import, Profile Groups
$ git checkout v2.5.14   # Spring Boot 2.5: spring.sql.init.* 통합
$ git checkout v2.6.14   # Spring Boot 2.6: Kubernetes Probes, PathPatternParser
$ git checkout v2.7.18   # Spring Boot 2.7: AutoConfiguration.imports
$ git checkout v3.0.13   # Spring Boot 3.0: Jakarta EE 9, @HttpExchange, Problem Details
$ git checkout v3.1.12   # Spring Boot 3.1: Docker Compose, SSL Bundle, @ServiceConnection
$ git checkout v3.2.12   # Spring Boot 3.2: RestClient, JdbcClient, Virtual Threads
$ git checkout v3.3.13   # Spring Boot 3.3: Structured Logging(JSON), CDS
$ git checkout v3.4.13   # Spring Boot 3.4: MockMvcTester, OTLP 개선
$ git checkout v4.0.6    # Spring Boot 4.0: Spring Framework 7, RestTemplateBuilder 제거

버전 간 변경 사항 비교

# 두 버전 사이의 전체 변경사항 확인
$ git diff v2.7.18 v3.0.13

# 신기능 예제 파일만 비교
$ git diff v2.7.18 v3.0.13 -- src/main/java/io/honeymon/boot/springboot/feature/

# 특정 버전에서 추가된 신기능 예제 파일 목록 확인
$ git show v3.0.13 --stat | grep feature/

# 버전별 커밋 로그 확인
$ git log v2.7.18..v3.0.13 --oneline

버전별 신기능 요약

버전 주요 신기능 예제 파일 업그레이드 노트

2.4.13

ApplicationStartup, spring.config.import, Profile Groups

feature/v24/SpringBoot24StartupConfig.java

note.2.4.13

2.5.14

spring.sql.init.* 통합 (spring.datasource.* deprecated)

feature/v25/SpringBoot25SqlInitConfig.java

note.2.5.14

2.6.14

Kubernetes Probes, PathPatternParser 기본 전환, 순환 의존성 금지

feature/v26/SpringBoot26HealthProbeConfig.java

note.2.6.14

2.7.18

AutoConfiguration.imports, @AutoConfiguration 어노테이션

feature/v27/SpringBoot27AutoConfigRegistrationConfig.java

note.2.7.18

3.0.13

Jakarta EE 9 전환(javax→jakarta), @HttpExchange, Problem Details

feature/v30/SpringBoot30JakartaConfig.java

note.3.0.13

3.1.12

Docker Compose 연동, SSL Bundle, @ServiceConnection

feature/v31/SpringBoot31DockerComposeConfig.java

note.3.1.12

3.2.12

RestClient, JdbcClient, Virtual Threads(Project Loom)

feature/v32/SpringBoot32RestClientConfig.java

note.3.2.12

3.3.13

Structured Logging(JSON/ECS), CDS, @Fallback

feature/v33/SpringBoot33StructuredLoggingConfig.java

note.3.3.13

3.4.13

MockMvcTester(AssertJ 통합), OTLP 트레이싱 개선

feature/v34/SpringBoot34StructuredLoggingConfig.java

note.3.4.13

4.0.6

Spring Framework 7, RestTemplateBuilder 자동구성 제거

feature/v40/SpringBoot40Framework7Config.java

note.4.0.6

Tip

각 신기능 예제 파일의 Javadoc에 해당 버전의 주요 변경사항, 설정 예시, deprecated 항목이 상세히 기술되어 있습니다. 업그레이드 노트(docs/note/)에는 트러블슈팅 이력과 버전별 공식 문서 링크가 포함되어 있습니다. 책 저장소(boot-spring-boot-book)에서 동일한 태그로 체크아웃하면 코드와 본문 설명을 함께 확인할 수 있습니다.

참고

  • Spring Framework Documentation

  • Spring Boot Reference Guide

  • Spring Data Projects

  • Spring Security Reference

  • Redis

  • Welcome to the MongoDB Docs

  • honeymon-spring-boot-starter(https://goo.gl/RTtZ2q)

    Note

    아는 형의 요청으로 spring-boot-starter를 사용자 정의하여 만드는 예제를 포함하고 있는 프로젝트다. spring-boot-starterspring-boot-autoconfigure 내에 ~~AutoConfiguration~~Properties 클래스가 함께 존재하며 자동구성 클래스라는 것을 정의하는 spring.factories 설정파일과 애플리케이션 속성파일에서 자동완성을 지원하기 위해 additional-spring-configuration-metadata.json이 함께 필요하다.

    사용자정의 spring-boot-starter는 사내에서 프라이빗한 공통사항을 starter로 만들어 스프링 부트 기반으로 애플리케이션 개발시 요긴하게 사용할 수 있다.

  • http://jojoldu.tistory.com/category/Spring - 기억보단 기록을

    Note

    최근 가장 눈에 띄는 스프링 부트 관련 글들을 포스팅하고 있는 블로그다. '스프링 부트로 웹 서비스 출시하기' 시리즈는 AWS에 애플리케이션을 배포하는 과정을 잘 설명하고 있으며 전체적인 설명과 그림이 충실하여 좋다.

  • Javacan(http://javacan.tistory.com)

    Note

    국내에서 자바 개발분야에서 넓은 시각을 가지고 빠르게 접근할 수 있는 책을 많이 기술하시는 범균님의 블로그다. 스프링 부트를 비롯하여 스프링과 다양한 기술 지식을 얻을 수 있다.

  • https://spring.io/blog

    Note

    스프링에 대한 최신 정보는 이 곳에서 얻어볼 수 있다.

  • https://github.com/spring-projects/

    Note

    Spring 프로젝트의 오픈된 소스를 확인할 수 있는 깃헙 저장소다.

  • YOUTUBE 채널

    • 허니몬의 'Boot Spring Boot'

      Note

      제 책 'Boot Spring Boot’와 관련한 내용과 Spring Boot 관련한 영상기록모음 입니다.

    • 백기선님 유투브

      Note

      최근 스프링 부트 2.0 레퍼런스 문서를 읽으면서 코딩을 곁들여서 방송하고 계십니다. 책이 나오면 저도 비슷한 형식으로 해보려고 했는데 저보다 훨씬 잘하고 계셔서 감사하게 보고 있습니다.

    • 캐빈 TV

      Note

      호주에 계신 스칼라(?) 개발자 '캐빈’님의 IT예능 방송채널

    • springcamp.io - Youtube

      Note

      Spring Camp 2013을 시작으로 자바 백엔드 기술에 대한 다양한 발표기록이 남아있다.

About

'Boot Spring Boot: 스프링 부트 시작하기' 예제

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors