Java近期新聞:Spring Boot更新、Eclipse Temurin JDK 17發佈、Camel將不再支持JDK 8

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"2021年9月20號這一週相對較爲安靜,大部分新聞是關於Spring Boot、Spring Security和Spring Cloud的里程碑版本發佈。其他新聞包括Eclipse Temurin JDK 17 發佈、JDK 18嚐鮮版第16個構建版本、Hibernate ORM 5.6.0.Beta2和WildFly 25 Beta 1發佈、Apache Camel不再爲JDK 8提供支持、JDKMon 17.0.0發佈。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"OpenJDK\/JDK 17"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Eclipse Adoptium工作組發佈"},{"type":"link","attrs":{"href":"https:\/\/projects.eclipse.org\/projects\/adoptium.temurin","title":null,"type":null},"content":[{"type":"text","text":"Eclipse Temurin"}]},{"type":"text","text":" JDK 17,支持macOS、Windows和Linux(x64\/aarch64)三個平臺,具體的進度可在該項目的"},{"type":"link","attrs":{"href":"https:\/\/github.com\/adoptium\/adoptium\/issues\/74?utm_content=1808395609","title":null,"type":null},"content":[{"type":"text","text":"GitHub倉庫"}]},{"type":"text","text":"中找到。InfoQ將會進一步跟進更具體的細節。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/piranha.cloud\/","title":null,"type":null},"content":[{"type":"text","text":"Piranha Cloud"}]},{"type":"text","text":"已經在他們的"},{"type":"link","attrs":{"href":"https:\/\/github.com\/piranhacloud\/piranha","title":null,"type":null},"content":[{"type":"text","text":"開發分支"}]},{"type":"text","text":"中使用Eclipse Temurin JDK 17。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"JDK 18"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JDK 18嚐鮮版"},{"type":"link","attrs":{"href":"https:\/\/github.com\/openjdk\/jdk\/releases\/tag\/jdk-18%2B16","title":null,"type":null},"content":[{"type":"text","text":"第16個構建版本"}]},{"type":"text","text":",相比第15個構建版本,修復了各種"},{"type":"link","attrs":{"href":"https:\/\/bugs.openjdk.java.net\/issues\/?jql=project%20%3D%20JDK%20AND%20fixversion%20%3D%2018%20and%20%22resolved%20in%20build%22%20%3D%20b16%20order%20by%20component%2C%20subcomponent","title":null,"type":null},"content":[{"type":"text","text":"問題"}]},{"type":"text","text":"。更多細節可在"},{"type":"link","attrs":{"href":"https:\/\/jdk.java.net\/18\/release-notes","title":null,"type":null},"content":[{"type":"text","text":"發佈公告"}]},{"type":"text","text":"中找到。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"使用"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/projects\/jdk\/18\/","title":null,"type":null},"content":[{"type":"text","text":"JDK 18"}]},{"type":"text","text":"的開發者可以通過"},{"type":"link","attrs":{"href":"https:\/\/bugreport.java.com\/bugreport\/","title":null,"type":null},"content":[{"type":"text","text":"Java Bug數據庫"}]},{"type":"text","text":"提交bug。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Spring框架"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Spring Boot 2.5.5和2.4.11小版本更新,分別修復了"},{"type":"link","attrs":{"href":"https:\/\/github.com\/spring-projects\/spring-boot\/releases\/tag\/v2.5.5","title":null,"type":null},"content":[{"type":"text","text":"41個bug"}]},{"type":"text","text":"和"},{"type":"link","attrs":{"href":"https:\/\/github.com\/spring-projects\/spring-boot\/releases\/tag\/v2.4.11","title":null,"type":null},"content":[{"type":"text","text":"32個bug"}]},{"type":"text","text":",包括依賴項升級和改進的文檔。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Spring Cloud 2020.0.4解決了一些與Spring Cloud子項目(如Spring Cloud Netflix、Spring Cloud Config等)有關的問題。該版本與Spring Boot 2.4.x和2.5.x兼容,更多詳情可在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/spring-cloud\/spring-cloud-release\/wiki\/Spring-Cloud-2020.0-Release-Notes","title":null,"type":null},"content":[{"type":"text","text":"版本公告"}]},{"type":"text","text":"中找到。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Spring Security 5.6.0發佈第3個里程碑版本:增加新接口SecurityContextChangedListener,可以作爲lambda表達式或方法引用的賦值目標;支持SAML 2.0單點登出;支持將TestSecurityContextHolder傳給SecurityContextHolder。更多詳情請參看"},{"type":"link","attrs":{"href":"https:\/\/github.com\/spring-projects\/spring-security\/releases\/tag\/5.6.0-M3","title":null,"type":null},"content":[{"type":"text","text":"版本公告"}]},{"type":"text","text":"。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Spring Boot 2.6.0第3個里程碑版本:將PathPattern作爲Spring MVC應用程序的默認路徑匹配策略;可以爲Spring Integration的PollerMetadata類配置屬性;統一ElasticSearch不同客戶端的配置屬性。Spring Boot 2.6.0計劃在2021年10月21號發佈一個候選版本,在2021年11月18號發佈一個GA版本。更多細節可參看"},{"type":"link","attrs":{"href":"https:\/\/github.com\/spring-projects\/spring-boot\/wiki\/Spring-Boot-2.6.0-M3-Release-Notes","title":null,"type":null},"content":[{"type":"text","text":"版本公告"}]},{"type":"text","text":"。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Hibernate"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Hibernate ORM 5.6.0.Beta2發佈:增加新的註解@Comment,用於爲表或列增加註釋定義;改進了SQL Server 2016+方言,可以無錯支持hibernate.hbm2ddl.auto=create-drop配置屬性;支持用原生SQL查詢替代JPQL查詢。更多細節可參看"},{"type":"link","attrs":{"href":"https:\/\/hibernate.atlassian.net\/browse\/HHH-14833?jql=project%20%3D%20%22HHH%22%20AND%20fixVersion%20%3D%20%225.6.0.Beta2%22","title":null,"type":null},"content":[{"type":"text","text":"變更公告"}]},{"type":"text","text":"。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"WildFly"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"WildFly 25發佈"},{"type":"link","attrs":{"href":"https:\/\/www.wildfly.org\/news\/2021\/09\/20\/WildFly25-Beta-Released\/","title":null,"type":null},"content":[{"type":"text","text":"第一個測試版本"}]},{"type":"text","text":":新的子系統,支持OpenTelemetry和OpenID Connect;升級MicroProfile Reactive Messaging依賴項;移除已被棄用的遺留安全包PicketBox;全面支持WildFly Elytron Security。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"WildFly 25 Beta1的Docker"},{"type":"link","attrs":{"href":"https:\/\/quay.io\/organization\/wildfly","title":null,"type":null},"content":[{"type":"text","text":"鏡像"}]},{"type":"text","text":"已經發布在"},{"type":"link","attrs":{"href":"https:\/\/quay.io\/","title":null,"type":null},"content":[{"type":"text","text":"quay.io"}]},{"type":"text","text":"上,其中還有Red Hat用於構建、分析和發佈容器鏡像的工具。這些鏡像包含了上面提到的PicketBox移除更新。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Apache Camel"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Apache基金會"},{"type":"link","attrs":{"href":"https:\/\/camel.apache.org\/blog\/2021\/09\/eol-java8\/","title":null,"type":null},"content":[{"type":"text","text":"宣佈"}]},{"type":"text","text":",所有的Camel項目將在2021年底不再支持JDK 8。Camel的下一個LTS版本2.14計劃於2021年12月份發佈,該版本將是最後一個支持JDK 8的版本。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"JDKMon"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"最新版的用於監控和更新JDK的"},{"type":"link","attrs":{"href":"https:\/\/github.com\/HanSolo\/JDKMon\/releases\/tag\/17.0.0","title":null,"type":null},"content":[{"type":"text","text":"JDKMon"}]},{"type":"text","text":"已經向Java社區發佈了。該工具由Azul首席工程師Gerrit Grunwald創建,17.0.0版本的特性包括:提供了是否記住用戶下載目錄的選項;通過配置jdkmon.properties文件可在Linux上啓用暗色模式;在新窗口搜索和下載JDK。更多有關JDKMon的細節可在這篇InfoQ"},{"type":"link","attrs":{"href":"https:\/\/www.infoq.com\/news\/2021\/08\/jdkmon-java\/","title":null,"type":null},"content":[{"type":"text","text":"報道"}]},{"type":"text","text":"中看到。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"原文鏈接"},{"type":"text","text":":"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/www.infoq.com\/news\/2021\/09\/java-news-roundup-sep20-2021\/","title":null,"type":null},"content":[{"type":"text","text":"Java News Roundup: Spring Boot Updates, Eclipse Temurin JDK 17, Apache Camel Ends Support for JDK 8"}]}]}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章