读懂Spring版本号

Spring Boot

1
sdk list springboot
1
2
3
4
5
2.3.6.RELEASE
2.2.11.RELEASE
2.1.18.RELEASE
2.0.9.RELEASE
1.5.22.RELEASE
1
2
3
4
5
MAJOR: Major features and potential breaking changes

MINOR: Backward compatible features

REVISION: Backward compatible fixes and improvements

Spring Cloud

1
2
3
4
spring init -b=2.2.10.RELEASE -j=1.8 -l=java -d=cloud-gateway --build=gradle gateway-demo && cd gateway-demo

cat build.gradle | grep "\'springCloudVersion\'"
# set('springCloudVersion', "Hoxton.SR9")
Release Train Boot Version
Hoxton 2.2.x, 2.3.x (Starting with SR5)
Greenwich 2.1.x
Finchley 2.0.x
Edgware 1.5.x
1
2
3
4
5
6
7
BUILD-SNAPSHOT: is the current development release. The Spring team builds this artifact every day

M[number]: A Milestone release (M1, M2, M3, …) marks a significant stage in the release process. The team builds this artifact when a development iteration is completed

RC[number]: A Release Candidate (RC1, RC2, RC3, …) is the last step before building the final release

SR[number]: At the very end of the release process, the Spring team produces a Service Release. We can also refer to this release as GA, for General Availability

参考