Java近期新聞:JDK 18發版計劃、Spring Data 2021_1_0、蘋果開源GCGC

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JDK 18更新、Loom 18-loom+4-273構建版、Spring Framework和Spring Data單點版本、Quarkus 2.4.2.Final、Hibernate Reactive 1.1.0.Final、Piranha 21.11.0、Groovy 4.0.0-beta-2、Apache Camel Quarkus 2.4.0.Final、Neo4J Migration 1.0.0、蘋果公司開源GCGC、Gluon發佈17.0.2-ea+2和18-ea+6版本。"}]},{"type":"heading","attrs":{"align":null,"level":2},"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%2B23","title":null,"type":null},"content":[{"type":"text","text":"Build 23"}]},{"type":"text","text":"可用,相比Build 22,這次的主要更新包括對各種問題的修復。更多細節可參看版本"},{"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}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JDK 18目前的特性集合如下:"}]},{"type":"bulletedlist","content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 400:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/400","title":null,"type":null},"content":[{"type":"text","text":"默認字符集爲UTF-8"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 408:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/408","title":null,"type":null},"content":[{"type":"text","text":"Simple Web Server"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 413:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/413","title":null,"type":null},"content":[{"type":"text","text":"Java API文檔中加入了代碼片段"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 416:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/416","title":null,"type":null},"content":[{"type":"text","text":"通過方法句柄重新實現代碼反射"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 417:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/417","title":null,"type":null},"content":[{"type":"text","text":"Vector API(第三個孵化器)"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 418:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/418","title":null,"type":null},"content":[{"type":"text","text":"網路地址解析SPI"}]},{"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":"JDK 18發版計劃宣佈如下:"}]},{"type":"bulletedlist","content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Rampdown第一階段(從主幹分叉):2021年12月9號;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Rampdown第二階段:2022年1月20號;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"初始候選版本:2022年2月10號;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"最終候選班恩:20221年2月24號;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"普遍可用:2022年3月22號。"}]}]}]},{"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":"開發者可以通過"},{"type":"link","attrs":{"href":"https:\/\/bugreport.java.com\/bugreport\/","title":null,"type":null},"content":[{"type":"text","text":"Java Bug Database"}]},{"type":"text","text":"提交bug。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Loom項目"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Loom"},{"type":"link","attrs":{"href":"https:\/\/jdk.java.net\/loom","title":null,"type":null},"content":[{"type":"text","text":"早期嚐鮮"}]},{"type":"text","text":"18-loom+4-273構建版可用,該版本基於JDK 18早期嚐鮮版Build 22構建。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Spring Framework"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Spring Framework 5.3.13已發佈,包含16個問題修復和改進:引入TypeFilterUtils類,提供了一組可與@ComponentScan註解類型過濾器一起使用的工具;改進了ExtendedEntityManagerCreator類的createProxy()方法的映射功能;只在沒有通過Quartz屬性指定存儲的情況下使用LocalDataSourceJobStore。更多細節可在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/spring-projects\/spring-framework\/releases\/tag\/v5.3.13","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 Data 2021.1.0已發佈:依賴項Querydsl更新到5.0、Redis更新到6.2;棄用對RxJava 2的支持;支持jMolecules @Indentity註解;爲Querydsl新增了一個流式查詢API。更多細節可以在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/spring-projects\/spring-data-commons\/wiki\/Release-Train-2021.1-%28Q%29-Release-Notes","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 Data 2021.0.7和2020.0.15分別修復了一些問題,並升級了依賴項。這兩個版本都是基於Spring Framework 5.3.13構建,即將發佈的Spring Boot 2.5.7可能會用到該版本。它們是Spring Data 2021.0.x系列的最終更新版本。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Quarkus"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Quarkus 2.4.2.Final是一個維護性版本,包含一些問題修復和改進:修復了基於表單的認證和LDAP、依賴項RESTEasy和SmallRye JWT分別升級到4.7.3和3.3.1、修復了一個ClassNotFoundException異常(在將REST客戶端注入到原生應用程序時出現該異常)。更多細節可以在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/quarkusio\/quarkus\/releases\/tag\/2.4.2.Final","title":null,"type":null},"content":[{"type":"text","text":"變更日誌"}]},{"type":"text","text":"中找到。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Hibernate"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Hibernate Reactive 1.1.0.Final發佈,包含了Vert.x 4.2的最新特性。更多細節可以在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/hibernate\/hibernate-reactive\/milestone\/15?closed=1","title":null,"type":null},"content":[{"type":"text","text":"問題清單"}]},{"type":"text","text":"中找到。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Piranha"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Piranha 21.11.0已發佈,該版本的內容包括:Servlet TCK問題修復;與Eleos(Jakarta認證規範的一個實現,基於Oracle Jaspic Provider框架)最新版本集成;增加新接口PiranhaFeature;爲開發者提供ServerPiranhaBuilder類,方便他們實例化ServerPiranha類。更多細節可以在官方"},{"type":"link","attrs":{"href":"https:\/\/javadoc.io\/doc\/cloud.piranha\/project\/latest\/index.html","title":null,"type":null},"content":[{"type":"text","text":"文檔"}]},{"type":"text","text":"和問"},{"type":"link","attrs":{"href":"https:\/\/github.com\/piranhacloud\/piranha\/milestone\/35?closed=1","title":null,"type":null},"content":[{"type":"text","text":"題跟蹤器"}]},{"type":"text","text":"中找到。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Groovy"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Object Computing公司的首席軟件工程師Paul King宣佈Groovy 4.0的第二個Beta版本可用。Groovy 4.0.0-beta-2包含100多個問題修復,支持switch表達式、記錄類和Groovy集成查詢(GINQ,一個具有類SQL語法的Groovy查詢DSL)。更多細節可以再"},{"type":"link","attrs":{"href":"http:\/\/groovy-lang.org\/changelogs\/changelog-4.0.0-beta-2.html","title":null,"type":null},"content":[{"type":"text","text":"變更日誌"}]},{"type":"text","text":"中找到。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Apache Camel"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Apache發佈Camel 3.13.0,包含119項特性、依賴項更新、改進和問題修復。更多細節可以在"},{"type":"link","attrs":{"href":"https:\/\/camel.apache.org\/releases\/release-3.13.0","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":"爲了與Quarkus同步,Camel Quarkus發佈2.4.0版本,對應Quarkus 2.4.0.Final和Apache Camel 3.12.0,改進了測試覆蓋率和文檔。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Neo4J"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/github.com\/michael-simons\/neo4j-migrations","title":null,"type":null},"content":[{"type":"text","text":"Neo4J Migration"}]},{"type":"text","text":"發佈1.0.0版本,一個用於遷移基於Neo4J的Java應用程序的工具,特性包含:支持Neo4J的用戶模擬、修復了一些問題、依賴項升級、文檔改進。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"蘋果開源GCGC"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"蘋果開源垃圾回收圖收集器(Garbage Collection Graph Collector,"},{"type":"link","attrs":{"href":"https:\/\/github.com\/apple\/GCGC","title":null,"type":null},"content":[{"type":"text","text":"GCGC"}]},{"type":"text","text":"),一個用於分析GC日誌文件的Python工具,可以分析延遲、併發和“停頓”事件、堆信息、分配速率和事件頻率。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Gluon"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Gluon發佈17.0.2-ea+2和18-ea+6版本,修復了在MacOS 12(Monterey)上存在的一些問題。"}]},{"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\/11\/java-news-roundup-nov08-2021","title":null,"type":null},"content":[{"type":"text","text":"Java News Roundup: JDK 18 Release Schedule, Spring Data 2021.1.0, Apple Open-Sources GCGC"}]}]}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章