官网

GitHub - Spring Boot

Spring Boot

Spring Initializr

版本日志

Spring BootJDK
3.117 - 20
3.017 - 19
2.6 - 2.78 - 19
2.58 - 18
2.48 - 16
2.2 - 2.38 - 15
2.18 - 12
2.08 - 9
1.56 - 8

发行说明(Release Notes)

Wiki Home

版本号

  • 主版本:有可能进行大的架构调整,各大版本之间并不一定兼容
  • 次版本:在主版本架构不变的前提下,增加了一些新的特性或变化
  • 增量版本:BUG 修复细节的完善,用来描增量版本的不一定是数字,如:2.0.0-SNAPSHOT

发布状态

  • GA:General Availability,正式发布的版本,官方推荐使用该版本,国外很多项目都是使用 GA 来表示正式发布版本的
  • PRE:预览版,主要是用来内部开发人员和测试人员测试使用(不建议使用)
  • SNAPSHOT:快照版,可以稳定使用,且该版本会一直进行小量的优化和改进 (不建议使用)
  • RC:Release,该版本已经相当成熟了,基本上不存在导致错误的 BUG,与即将发行的正式版相差无几

灰色:不再维护 绿色:维护社区版 黄色:维护商业版 蓝色:未来版本

迁移指南(Migration Guides)

3.0

Spring Boot 3.0 Release Notes

Spring Boot 3.0 Migration Guide

最低版本

Spring Boot2. x3. x
Java817
Spring56

继承项目

<parent>  
    <groupId>org.springframework.boot</groupId>  
    <artifactId>spring-boot-starter-parent</artifactId>  
    <version>2.7.17</version>  
    <relativePath/> <!-- lookup parent from repository -->  
</parent>

引入依赖

<dependency>  
  <groupId>org.springframework.boot</groupId>  
  <artifactId>spring-boot-dependencies</artifactId>  
  <version>${spring-boot.version}</version>  
  <type>pom</type>  
  <scope>import</scope>  
</dependency>