<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Spring Cloud 2020.0.4 發(fā)布,安排!

          共 3514字,需瀏覽 8分鐘

           ·

          2021-09-27 08:58

          點(diǎn)擊關(guān)注公眾號(hào),Java干貨及時(shí)送達(dá)

          號(hào)外,號(hào)外,Spring Cloud 2020.0.4 發(fā)布了!

          現(xiàn)在在 Maven 倉(cāng)庫(kù)中已經(jīng)可用了:

          Maven 依賴(lài)給大家奉上:

          <dependencyManagement>
              <dependencies>
                  <dependency>
                      <groupId>org.springframework.cloud</groupId>
                      <artifactId>spring-cloud-dependencies</artifactId>
                      <version>2020.0.4</version>
                      <type>pom</type>
                      <scope>import</scope>
                  </dependency>
              </dependencies>
          </dependencyManagement>

          雖然 Spring Cloud 的發(fā)布節(jié)奏遠(yuǎn)沒(méi)有 Spring Boot 月更那么快,但一年發(fā)上好幾個(gè)版本也是吃不消的,我表示學(xué)不動(dòng)了,也升級(jí)不動(dòng)了。。

          來(lái)看下最新的 Spring Cloud 版本情況:

          可以看到,除了 2020.x 這條版本線(xiàn),Spring Cloud 還維護(hù)了 Hoxton.SR12 這條版本線(xiàn)。

          關(guān)于這兩個(gè)版本線(xiàn)的命名是不是很奇怪?

          其實(shí) Spring Cloud 最新的版本命名方式早已經(jīng)變更了,以后就是 2020.x 這種命名方式了,不清楚的可以看下棧長(zhǎng)之前寫(xiě)的兩篇文章:

          Spring Cloud 2020.0.0 正式發(fā)布,全新顛覆性版本!

          Spring Cloud 2020 版本重大變革,更好的命名方式!

          Spring Cloud 2020.0.4

          來(lái)看下 Spring Cloud 2020.0.4 更新了啥!

          Spring Cloud 2020.0.4 除了兼容 Spring Boot 2.4.x 和 2.5.x 以外,還修復(fù)了一系列的 bug。另外,Spring Cloud 系列教程全部整理好了,微信搜索Java技術(shù)棧,在菜單中進(jìn)行閱讀。

          以下模塊得到了更新:

          模塊版本
          Spring Cloud Starter Build3.0.4
          Spring Cloud Netflix3.0.4
          Spring Cloud Openfeign3.0.4
          Spring Cloud Gateway3.0.4
          Spring Cloud Commons3.0.4
          Spring Cloud Config3.0.5
          Spring Cloud Consul3.0.4
          Spring Cloud Contract3.0.4
          Spring Cloud Kubernetes2.0.4
          Spring Cloud Sleuth3.0.4
          Spring Cloud Vault3.0.4
          Spring Cloud Zookeeper3.0.4
          Spring Cloud CircuitBreaker2.0.2
          Spring Cloud Stream3.1.4
          Spring Cloud Function3.1.4

          主要更新內(nèi)容如下:

          Spring Cloud Commons

          1、允許分組創(chuàng)建響應(yīng)式的中斷器;

          Spring Cloud Config

          1、當(dāng)使用 JDBC 時(shí),可以返回 Boolean 和 Integer 類(lèi)型的值;

          2、在運(yùn)行時(shí)可以動(dòng)態(tài)提供 git 用戶(hù)名和密碼;

          Spring Cloud Contract

          1、為 processContractTestResources 的 generateContractTests 任務(wù)添加顯示的依賴(lài);

          2、WireMock 升級(jí)到了 2.31.0;

          Spring Cloud OpenFeign

          1、允許修改斷路器的名稱(chēng);

          Spring Cloud Netflix

          1、如果 Eureka 被禁用了,不再注冊(cè) Eureka config server 引導(dǎo)項(xiàng);

          2、相關(guān)的依賴(lài)升級(jí);

          Spring Cloud Sleuth

          1、簡(jiǎn)化了 ON_EACH 響應(yīng)式儀表;

          Spring Cloud Kubernetes

          1、選擇命名空間一致性(跨 fabric8 和 k8s-native 客戶(hù)端);

          總結(jié)

          Spring Cloud 2020.0.4 是一個(gè)修復(fù)小版本,個(gè)人建議沒(méi)必要升級(jí),除非你真的有需要。Spring Cloud 系列面試題我也整理好了,點(diǎn)擊Java面試庫(kù)小程序可以利用碎片時(shí)間刷題。

          最后來(lái)看下 Spring Cloud 兼容的 Spring Boot 版本情況:

          版本線(xiàn)生命周期兼容 Spring Boot 版本
          2021.x未正式發(fā)布Spring Boot 2.6
          2020.x停止時(shí)間未知Spring Boot 2.4.x, 2.5.x (2020.0.3+)
          Hoxton2022/02/28Spring Boot 2.2.x, 2.3.x (SR5+)
          Greenwich已停止維護(hù)Spring Boot 2.1.x
          Finchley已停止維護(hù)Spring Boot 2.0.x
          Edgware已停止維護(hù)Spring Boot 1.5.x
          Dalston已停止維護(hù)Spring Boot 1.5.x

          需要注意的是,Spring Cloud Dalston, Edgware, Finchley, Greenwich 這幾個(gè)版本已經(jīng)徹底結(jié)束生命周期了,官方不再提供維護(hù)支持。

          另外 Spring Cloud Hoxton 這個(gè)版本在 2021/06/30 也停止維護(hù)了(其對(duì)應(yīng)的 Spring Boot 2.2.x 版本也停止維護(hù)了),但是期間如果 Hoxton 出現(xiàn)重大 bug 或者安全漏洞,補(bǔ)丁修復(fù)截止時(shí)間會(huì)延長(zhǎng)到 2022/02/28。

          學(xué) Spring Cloud 必須先掌握 Spring Boot,如果你還沒(méi)用過(guò) Spring Boot,今天我就送你一份 《Spring Boot 學(xué)習(xí)筆記》這個(gè)很全了,包括底層實(shí)現(xiàn)原理及代碼實(shí)戰(zhàn),非常齊全,助你快速打通 Spring Boot 的各個(gè)環(huán)節(jié)。

          Spring Boot 理論和實(shí)戰(zhàn)源碼倉(cāng)庫(kù):

          https://github.com/javastacks/spring-boot-best-practice

          你們用的哪個(gè) Spring Cloud 版本呢?歡迎投票!

          好了,今天的分享就到這里了,后面棧長(zhǎng)我會(huì)更新更多好玩的 Java 技術(shù)文章和最新的技術(shù)資訊,關(guān)注公眾號(hào)Java技術(shù)棧第一時(shí)間推送,不要走開(kāi)哦。

          最后,覺(jué)得我的文章對(duì)你用收獲的話(huà),動(dòng)動(dòng)小手,給個(gè)在看、轉(zhuǎn)發(fā),原創(chuàng)不易,棧長(zhǎng)需要你的鼓勵(lì)。

          版權(quán)申明:本文系公眾號(hào) "Java技術(shù)棧" 原創(chuàng),原創(chuàng)實(shí)屬不易,轉(zhuǎn)載、引用本文內(nèi)容請(qǐng)注明出處,禁止抄襲、洗稿,請(qǐng)自重,尊重技術(shù)人勞動(dòng)成果和知識(shí)產(chǎn)權(quán),抄襲者一律舉報(bào)+投訴,并保留追究其法律責(zé)任的權(quán)利。






          關(guān)注Java技術(shù)??锤喔韶?/strong>



          獲取 Spring Boot 實(shí)戰(zhàn)筆記!

          瀏覽 73
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  成人做爰黄级A片免费看土方 | 午夜伊人大香蕉 | 人人操人人搞人人干 | 草草视频在线 | 黄片三区四区 |