Java Plans for 2022, Spring Framework 6.0-M2, Introducing Eclipse Jifa
This week’s Java roundup for January 10, 2021 features news on JDK 18, JDK 19, Java’s plans for 2022 as presented by Nicolai Parlog, point releases for Spring Framework and Spring Data, Quarkus 2.6 .2, Micronaut 3.2.5 and 3.2. 6, Piranha 22.1.0, JobRunr 4.0.6, featuring Eclipse Jifa, Micrometer Metrics 2.0.0-M1, Micrometer Tracing 1.0.0-M1, and the Foojay Status Report July-December 2021.
Version 31 of the early access builds of JDK 18 was made available last week, with updates to version 30 that include fixes for various issues. More details can be found in the release notes.
Version 5 of the early access builds of JDK 19 was also made available last week, with updates to version 4 that include fixes to various issues.
For JDK 18 and JDK 19, developers are encouraged to report bugs through the Java Bug Database.
Java’s plans for 2022
On his weekly Inside Java Newscast, Nicolai Parlog, Java Developer Advocate at Oracle, outlined the plans for Java in 2022, where he focused on the four major Java projects: Amber, Loom, Panama, and Valhalla. He provided the background and current status of each project and the JEPs associated with each.
At Spring, the team delivered point, milestone, and service releases for Spring Framework and Spring Data last week.
Spring Framework 5.3.15 and 6.0.0-M2 have been released with 17 bug fixes and documentation improvements for version 5.3.15. For the 6.0.0-M2 release, six additional bug fixes for the 6.0 release train have been made available with new features which include: removing an unnecessary check in the
isBridgedCandidateFor() method of
BridgeMethodResolver to classify; and stop defining a TaskScheduler bean in the
WebSocketConfigurationSupport to classify.
On the way to Spring Data 2022.0.0 and 2021.2.0, the first milestone releases have been made available. Version 2022.0.0-M1, codenamed Turing, is the first release in the Spring Data 3.0 release series including migration to Jakarta EE 9 APIs and will require JDK 17+. Version 2021.2.0, codenamed Raj, offers dependency upgrades and direct projections for Spring Data MongoDB, Spring Data for Cassandra, and Spring Data Neo4j.
Spring Data 2021.1 SR1 and 2021.0 SR8, both service releases, have been released to include bug fixes and dependency upgrades to corresponding versions of Spring Data sub-projects such as Spring Data JDBC, Spring Data Elasticsearch and Spring Data Redis.
Quarkus 2.6.2.Final, a maintenance release, has been released by Red Hat. Along with the usual bug fixes and documentation improvements, this new release features the return of Kogito, a cloud-native business automation tool that had temporarily suffered from infrastructure issues for the release of Quarkus 2.6. Further details can be found in the changelog.
Quarkus Insights, a weekly podcast covering topics on all things Quarkus, will host its biannual Q&A session for developers on Monday, January 17, 2022. Dubbed “Ask Us Anything (Quark)“, developers can submit questions in advance via the GitHub discussion forum or on Twitter using the hashtag
Micronaut versions 3.2.5 and 3.2.6 were released last week with: a dependency upgrade to Kotlin 1.6.0 and upgrades to Micronaut Test 3.0.5, Micronaut Security 3.2.2 and Log4j 2.1 .17.
Piranha 22.1.0 has been released. Nicknamed the “We are in the home straight“, this release includes: fixes for various TCK servlet issues; adding initial support for
data-source in the
web.xml to file; and building and testing on early access versions of JDK 18. Further details can be found in their documentation and issue tracker.
JobRunr, a utility for performing background processing in Java, released version 4.0.6 to include fixes for: a
NullPointerException when using the
BackgroundJob.enqueue() method; a
ParameterResolutionException when using an earlier version of the H2 database; and improve granularity to use number of seconds for sync with Cron.
The Eclipse Foundation has introduced a new web-based Java heap analyzer, Jifa, based on the Eclipse memory analyzer to detect memory leaks and reduce memory consumption. Jifa uses Vert.x and Vue 2.0 as the main backend and frontend frameworks respectively. InfoQ will follow with more detailed news.
On the road to Micrometer Metrics 2.0.0, the first milestone version was released with new features such as: introducing an HttpTagsProvider class to provide a consistent default set of HTTP tags; new timer handlers to instrument code once via the
Sample APIs; and add a toString() method to the
SimpleMeterRegistry class to display all metrics.
Micrometer introduced Micrometer Tracing, a simple front end for popular plotter libraries, with version 1.0.0-M1 and provides tracing extension to the
TimerRecordingHandler class introduced in Micrometer Metrics 2.0.0-M1. Further details can be found in the documentation.
Foojay Status Report
Foojay.io, the Friends of OpenJDK resource for Java developers, has released its July-December 2021 edition of the Foojay Status Report. Google Analytics reported 84,000 unique visitors and 131,000 sessions with steady growth throughout 2021. Foojay usage also doubled from the January-June 2021 edition of the report.