SpringCloudの関連概念はもうありません~~ SpringCloudは単なるアーキテクチャスタイルであり、実際、その特定の機能部分の実現は依然としてSpringBootに基づいていることは誰もが知っています。SpringCloudとSpringBootのバージョンをそれぞれ見てみましょう。
1. SpringCloudバージョン紹介
SpringCloud公式サイト版
以下はSpringCloudの公式サイトのバージョン紹介です現在、最新バージョンはでHoxton SR3
、Greenwich SR5 GA
SpringCloud には他にもバージョンがあることがわかりますが、SpringCloudのバージョンはどのように定義されていますか?バージョンとはどういう意味ですか?
1.1 SpringCloudのバージョン番号の由来は?
SpringCloudのバージョン番号は、英国のロンドン地下鉄駅の名前に基づいて命名され、反復文字は、地下鉄駅名文字AZの類推によってリリースされます。
SpringCloudは、名前の最初のバージョンをリリースしているAngel
第二は、Brixton
SpringCloudは以下のように使用していない、サブプロジェクトSpringCloudバージョンと回避バージョン競合するために、小さなサブプロジェクトの多くが含まれているので......私たちの共通のSpringCloud 数字式的版本号
、SpringCloudバージョンのバージョンが特定のレベルに下がると、service release
バージョンがリリースされます。通常はと省略されます。SRX
たとえば、現在のバージョンSR3
はHoxton
3番目のservice release
バージョンです。
1.2 SpringCloudの小さなバージョン
バージョン番号 | はじめに |
---|---|
SR | Service Release 、公式バージョンを示し、SR1は最初の公式バージョンを示します |
GA | Generally Available 、安定版を示します |
スナップショット | スナップショットのバージョン、いつでも変更される可能性があります |
M | MileStone 、M1は最初のマイルストーンバージョンを示し、通常は同時にPREとしてマークされ、プレビューバージョンを示します |
2. SpringBootバージョンの紹介
SpringBootのバージョン番号については言うまでもありませんが、使用しているのは一般的な数字式
バージョン番号であり、現在一般的に使用されているSpringBootはバージョン2.0以降です。
3. SpringCloudおよびSpringBootバージョンの適応に関する問題
記事の冒頭で、SpringCloudマイクロサービスアーキテクチャスタイルの機能サービスは引き続きSpringBootによって具体的に実装されていると述べています。開発プロセスでバージョン番号に関連するピットを踏まないようにするには、2つのテクノロジースタックのバージョン番号を適合させる必要があります。
私たちは今SpringCloudの最新バージョンを使用している場合はHoxton SR3
、SpringBootバージョンの特定の選択は、次のアクションを介して見ることができます:
まず、入力した公式サイトのアドレスを:
をクリックしますReference Document
:
でSpringCloud公式ウェブサイトのアドレス、ページには、アダプタとSpringCloud SpringBoot間の問題のバージョン番号を導入し、低い位置に引っ張ってきます。SpringCloudがHoxton
バージョンを使用する場合、SpringBootは2.2.x
バージョンを使用する必要があります。
また、アドレスからSpring CloudとSpring Bootのバージョン番号の一致を確認することもできます。
このアドレスにアクセスすると、未フォーマットのjson文字列のストリングが返されます。jsonフォーマットツールでフォーマットした後、Spring Bootのバージョン番号も確認できます。現在の春の雲に適応:
{
"git": {
"commit": {
"time": "2020-03-19T13:43:47Z",
"id": "6a8d5ce"
},
"branch": "6a8d5ce9a63e30db3fa1c23c64a6b7cef2072c71"
},
"build": {
"version": "0.0.1-SNAPSHOT",
"artifact": "start-site",
"name": "start.spring.io website",
"versions": {
"initializr": "0.9.0.BUILD-SNAPSHOT",
"spring-boot": "2.2.5.RELEASE"
},
"group": "io.spring.start",
"time": "2020-03-19T13:45:29.062Z"
},
"bom-ranges": {
"azure": {
"2.0.10": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
"2.1.7": "Spring Boot >=2.1.0.RELEASE and <2.2.0.M1",
"2.2.0": "Spring Boot >=2.2.0.M1"
},
"codecentric-spring-boot-admin": {
"2.0.6": "Spring Boot >=2.0.0.M1 and <2.1.0.M1",
"2.1.6": "Spring Boot >=2.1.0.M1 and <2.2.0.M1",
"2.2.1": "Spring Boot >=2.2.0.M1"
},
"spring-cloud": {
"Finchley.M2": "Spring Boot >=2.0.0.M3 and <2.0.0.M5",
"Finchley.M3": "Spring Boot >=2.0.0.M5 and <=2.0.0.M5",
"Finchley.M4": "Spring Boot >=2.0.0.M6 and <=2.0.0.M6",
"Finchley.M5": "Spring Boot >=2.0.0.M7 and <=2.0.0.M7",
"Finchley.M6": "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1",
"Finchley.M7": "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2",
"Finchley.M9": "Spring Boot >=2.0.0.RELEASE and <=2.0.0.RELEASE",
"Finchley.RC1": "Spring Boot >=2.0.1.RELEASE and <2.0.2.RELEASE",
"Finchley.RC2": "Spring Boot >=2.0.2.RELEASE and <2.0.3.RELEASE",
"Finchley.SR4": "Spring Boot >=2.0.3.RELEASE and <2.0.999.BUILD-SNAPSHOT",
"Finchley.BUILD-SNAPSHOT": "Spring Boot >=2.0.999.BUILD-SNAPSHOT and <2.1.0.M3",
"Greenwich.M1": "Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE",
"Greenwich.SR5": "Spring Boot >=2.1.0.RELEASE and <2.1.14.BUILD-SNAPSHOT",
"Greenwich.BUILD-SNAPSHOT": "Spring Boot >=2.1.14.BUILD-SNAPSHOT and <2.2.0.M4",
/**
Honton.SR3是我们目前SpringCloud的最新版本:SpringBoot的2.2.0及以上
到2.3.0以下的版本号可以相适配
*/
"Hoxton.SR3": "Spring Boot >=2.2.0.M4 and <2.3.0.BUILD-SNAPSHOT",
"Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.3.0.BUILD-SNAPSHOT"
},
"spring-cloud-alibaba": {
"2.2.0.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1"
},
"spring-cloud-services": {
"2.0.3.RELEASE": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
"2.1.7.RELEASE": "Spring Boot >=2.1.0.RELEASE and <2.2.0.RELEASE",
"2.2.3.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1"
},
"spring-statemachine": {
"2.0.0.M4": "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1",
"2.0.0.M5": "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2",
"2.0.1.RELEASE": "Spring Boot >=2.0.0.RELEASE"
},
"vaadin": {
"10.0.17": "Spring Boot >=2.0.0.M1 and <2.1.0.M1",
"14.1.20": "Spring Boot >=2.1.0.M1"
}
},
"dependency-ranges": {
"okta": {
"1.2.1": "Spring Boot >=2.1.2.RELEASE and <2.2.0.M1",
"1.4.0": "Spring Boot >=2.2.0.M1"
},
"mybatis": {
"2.0.1": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
"2.1.2": "Spring Boot >=2.1.0.RELEASE"
},
"geode": {
"1.2.5.RELEASE": "Spring Boot >=2.2.0.M5 and <2.3.0.M1",
"1.3.0.M2": "Spring Boot >=2.3.0.M1 and <2.3.0.BUILD-SNAPSHOT",
"1.3.0.BUILD-SNAPSHOT": "Spring Boot >=2.3.0.BUILD-SNAPSHOT"
},
"camel": {
"2.22.4": "Spring Boot >=2.0.0.M1 and <2.1.0.M1",
"2.24.3": "Spring Boot >=2.1.0.M1 and <2.2.0.M1",
"3.1.0": "Spring Boot >=2.2.0.M1"
},
"solace": {
"3.1.0": "Spring Boot >=2.1.0.RELEASE and <2.2.0.M1",
"3.2.0": "Spring Boot >=2.2.0.M1"
}
}
}