This week's Java roundup for July 22nd, 2024, features news highlighting: the release of WildFly 33; Spring Cloud Data Flow 2.11.4; the second milestone release of Apache TomEE 10.0; LangChain4j 0.33; Micronaut 4.5.1; Eclipse Store 1.4; and an update on Jakarta EE 11.
JDK 23
Build 34 of the JDK 23 early-access builds was made available this past week featuring updates from Build 33 that include fixes for various issues. Further details on this release may be found in the release notes, and details on the new JDK 23 features may be found in this InfoQ news story.
JDK 24
Build 8 of the JDK 24 early-access builds was also made available this past week featuring updates from Build 7 that include fixes for various issues. More details on this release may be found in the release notes.
For JDK 23 and JDK 24, developers are encouraged to report bugs via the Java Bug Database.
Jakarta EE
In his weekly Hashtag Jakarta EE blog, Ivar Grimstad, Jakarta EE developer advocate at the Eclipse Foundation, provided an update on the upcoming release of Jakarta EE 11, writing:
The Jakarta EE Platform project continues the work toward finalizing Jakarta EE 11. The refactoring of the TCK shows promising results. Hopefully, we will be able to announce a release date shortly. Check in to the weekly Jakarta EE Platform call that happens every Tuesday at 11:00 AM Eastern (Daylight Savings) Time.
The road to Jakarta EE 11 included four milestone releases with the potential for release candidates as necessary before the GA release in 3Q2024.
BellSoft
BellSoft has released versions 24.0.2 for JDK 22, 23.1.4 for JDK 21 and 23.0.5 for JDK 17 of their Liberica Native Image Kit builds as part of the Oracle Critical Patch Update for July 2024 to address several CVEs and bugs.
Spring Framework
The release of Spring Cloud Data Flow 2.11.4 primarily addresses: CVE-2024-37084, Remote Code Execution in Spring Cloud Data Flow, a vulnerability where an attacker, who has access to the Skipper Server API, can use a crafted upload request to write an arbitrary file to any location on the file system which could lead to compromising the server; and PRISMA-2023-0067, where an attacker can send a specially-crafted request to take advantage of an improper input validation by the StreamReadContraints
class causing a denial of service. Other improvements include: the ability for a user to specify the application version when creating a schedule; and a new endpoint, /tasks/thinexecutions
, for more efficient retrieval of task executions pages without all the extra detail. Further details on this release may be found in the release notes.
Version 4.24.0 of Spring Tools 4.24.0 has been released with notable changes such as: support for Spring Expression Language (SpEL) syntax highlighting and validation inside Java and embedded Spring Data queries; syntax highlighting and validation for MySQL and PostgreSQL queries; and support for bean name code completion and navigation for name attribute of the Jakarta Annotations @Resource
annotation. More details on this release may be found in the release notes.
WildFly
The release of WildFly 33 delivers bug fixes, component upgrades and new features such as: an enhanced overriding of base configuration settings using a YAML file by using the YAML file to add unmanaged deployments to the configuration; the core-management
subsystem now allows developers to enable scanning of deployments for usage of classes/methods in the SmallRye and Hibernate ORM libraries annotated with @Experimental
and @Incubating
, respectively; and utilities to reload a server to a different stability level in the testsuite. Further details on this release may be found in the release notes. InfoQ will follow up with a more detailed news story.
Micronaut
The Micronaut Foundation has released version 4.5.1 of Micronaut Framework featuring Micronaut Core 4.5.4, bug fixes, improvements in documentation and updates to modules: Micronaut Micrometer, Micronaut OpenAPI, Micronaut Security, Micronaut SourceGen, Micronaut Data, Micronaut Reactor, Micronaut Test Resources, Micronaut Test, Micronaut gRPC, Micronaut Validation and Micronaut Views. More details on this release may be found in the release notes.
Eclipse Foundation
The release of Eclipse Store 1.4.0 provides bug fixes and new features: integration with Amazon S3 Express One Zone; enhancements to S3 cloud storage with the addition of a default folder for the S3 connector into configuration and support for directory buckets; and a new API to import and export the serializer type dictionary. Further details on this release may be found in the release notes.
The release of Eclipse Serializer 1.4.0 aligns with Eclipse Store 1.4.0 with no documented updates or release notes.
Apache Software Foundation
The second milestone release of Apache TomEE 10.0.0, aimed at JakartaEE 10, ships with bug fixes, dependency upgrades and notable changes such as: a minimal JDK 17 version; an implementation of the OIDC section of the Jakarta EE Security specification; and an initial integration of some MicroProfile updates. More details on this release may be found in the release notes.
JHipster
The release of JHipster Lite 1.14.0 ships with dependency upgrades and enhancements such as: the use of string templates instead of string concatenation; fields that are only assigned in the constructor should be read only; and unchanged variables should be marked as const
. Further details on this release may be found in the release notes.
LangChain4j
Version 0.33.0 of LangChain for Java (LangChain4j) features new integrations: Redis via the new RedisChatMemoryStore
class; and embedding models from OVHcloud. Other notable changes include: support for audio, video and PDF inputs in Google Gemini; support for embedding removal in Chroma; and support for storing metadata and embedding removal in Pinecone. Developers should note that a breaking change was necessary to fix split package issues. More details on this release may be found in the release notes.
Arquillian
The release of Arquillian 1.9.1.Final provides dependency upgrades and notable changes such as: replace use of the Java ThreadLocal
class with the Java Hashtable
class due to a memory leak in Arquillian Warp; support for the @ArquillianResource
annotation parameter injection on methods annotated with @Deployment
; and a resolution to integration test build issue to ensure that versions get updated. Further details on this release may be found in the changelog.
Jox
As a follow-up from the release of Jox 0.3.0, as described in the July 15, 2024, Java news roundup, details related to their new structured concurrency module were made available by Adam Warski, chief R&D officer at SoftwareMill, who told InfoQ:
We've added a "programmer-friendly" API for structured concurrency. This blog describes it in detail, and contrasts it with what's proposed by the structured concurrency JEP.
Introduced to the Java community in February 2024, Jox is a new virtual threads library that implements an efficient Channel
data structure in Java designed to be used with virtual threads.