MMS • Michael Redlich
Article originally posted on InfoQ. Visit InfoQ
This week’s Java roundup for July 4th, 2022, features news from JDK 19, JDK 20, Spring projects updates, Open Liberty 22.0.0.7 and 22.0.0.8-beta, Quarkus 2.10.2, Hibernate ORM 5.6.10, Hibernate Reactive 1.1.7, Eclipse Foundation projects updates, Apache Software Foundation projects updates, JDKMon 17.0.31 and 17.0.29 and JetBrains product updates.
JDK 19
Build 30 of the JDK 19 early-access builds was made available this past week, featuring updates from Build 29 that include fixes to various issues. More details may be found in the release notes.
JDK 20
Build 5 of the JDK 20 early-access builds was also made available this past week, featuring updates from Build 4 that include fixes to various issues. Release notes are not yet available.
For JDK 19 and JDK 20, developers are encouraged to report bugs via the Java Bug Database.
Spring Framework
On the road to Spring Shell 2.1.0, the first release candidate was made available featuring: a rework of the theming functionality and interaction mode; full support for experimental Spring Native; and improvements to ensure interactive commands fail-fast in a non-TTY environment. More details on this release may be found in the release notes.
The first release candidate of Spring for Apache Kafka 2.9.0 was also made available that delivers: a dependency upgrade to Kafka Clients 3.2.0; a more robust non-blocking bootstrapping retry; and a new seekAfterError
property for the DefaultErrorHandler
class to eliminate unnecessary strain on the network when there are high error rates and large value defined in the max.poll.records
property. More details on this release may be found in the What’s New section of the documentation.
Open Liberty
IBM has promoted Open Liberty 22.0.0.7 from its beta release to deliver the ability to: add the name of an application, and corresponding JSON entry, to the LogRecordContext
class; and merge stack traces into a single log event.
Open Liberty 22.0.0.8-beta has also been released featuring a separation of stack traces from logged messages such that downstream log analysis tools can provide easier-to-read visualizations.
Quarkus
Red Hat has provided a second maintenance release with Quarkus 2.10.2.Final that ships with bug fixes and upgrades to JReleaser 1.1.0, Hibernate Reactive 1.1.7.Final, Keycloak 18.0.2, smallrye-common-bom
1.13.0, Testcontainers 1.17.3 and proto-google-common-protos
2.9.1. More details on this release may be found in the changelog.
Hibernate
Hibernate ORM 5.6.10.Final has been released featuring: improved memory allocation using the resolveDirtyAttributeIndexes()
method as defined in the AbstractEntityPersister
class; and a fix for a bug that threw an exception upon trying to delete an entity having an association annotated for a cascading delete.
Hibernate Reactive 1.1.7.Final has been released featuring notable bug fixes such as: a many-to-one lazy association using the fetch()
method defined in the Mutiny
interface; and a pagination issue with Microsoft SQL Server.
Eclipse Foundation
Eclipse Soteria 3.0.0, the compatible implementation to Jakarta Security 3.0, has been released featuring: a fix in the implementation of the Weld SPI; an initial implementation of OpenId Connect; and dependency upgrades to JUnit 4.13.1 and JSoup 1.14.2.
Eclipse Vert.x 4.3.2 has been released complete with bug fixes and dependency upgrades within the Vert.x modules such as: GraphQL Java 18.2, Thymeleaf 3.0.15 and jte 2.1.1 in vertx-web
; JUnit 4.13.2 and gRPC 1.47.0 in vertx-grpc
; and Netty 4.1.78.Final in vertx-dependencies
. This release also includes a deprecation and breaking change related to the use of the jackson-databind
module involved in some recent CVEs. More details on this release may be found in the release notes.
Eclipse Collections 11.1.0 has been released featuring the addition of new APIs, as requested by the Java community, and a decrease in technical debt, such as: a replacement of implementation factories and dependencies with API factories where possible; an improved overall test coverage by adding missing tests; and improved code generation logic into separate goals for sources, test-sources, and resources.
Apache Software Foundation
On the road to Apache MyFaces 4.0.0, the first release candidate was made available. Serving as the compatible implementation to Jakarta Faces Server 4.0, new features include: first class support for creating views in Java; an implementation of automatic extensionless mapping; and a new getLifecycle()
method in the FacesContext
class. More details on this release may be found in the release notes.
Apache Camel on Quarkus (Camel Quarkus) 2.7.2 has been released containing Camel 3.14.4, Quarkus 2.7.6.Final and a number of bug fixes. More details on this release may be found in the release notes.
Apache Camel 3.18.0 has been released featuring 117 bug fixes, improvements and dependency upgrades that include: Testcontainers 1.17.3, Vert.x 4.3.1, Camel Quarkus 2.10.0 and the Spring Boot 2.7 release train. More details on this release may be found in the release notes.
Apache Log4j 2.18.0 has been released that ships with bug fixes and new features such as: a new MutableThreadContextMapFilter
class that filters based on a value defined in the Thread Context Map; a custom LMAX disruptor WaitStrategy configuration; support for adding and retrieving appenders in Log4j 1.x bridge; and support for the Jakarta Mail specification in the SMTP appender.
JDKMon
Versions 17.0.31 and 17.0.29 of JDKMon, a tool that monitors and updates installed JDKs, has been made available to the Java community this past week. Created by Gerrit Grunwald, principal engineer at Azul, these new versions ship with: a dependency upgrade to the latest version of DiscoClient which includes fix for obtaining a direct download URI of a package; and a fix for an issue related to comparing the architecture of the machine with the packages.
JetBrains
Version 2.0.3 of Ktor, the asynchronous framework for creating microservices and web applications, has been released that ships with a number of bug fixes, improvements and dependency upgrades in the core, client, server and test infrastructure sections of the framework. More details on this release may be found in the changelog.
On the road to IntelliJ IDEA 2022.2, a beta release was made available to preview new features such as: a migration from JetBrains Runtime (JBR) 11 to JBR17; improvements in remote development; support for Spring Framework 6 and Spring Boot 3; an experimental GraalVM Native Debugger for Java; and clickable URLs in JSON, YAML, and .properties
string values.