BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Java News Roundup: Jakarta Data Initial Release, Micronaut 3.8, JReleaser 1.4, Gradle 8.0-RC1

Java News Roundup: Jakarta Data Initial Release, Micronaut 3.8, JReleaser 1.4, Gradle 8.0-RC1

It was very quiet for the week of December 26th, 2022, but InfoQ found a few news items of interest that include: Jakarta NoSQL 1.0.0-b5, Jakarta Data 1.0.0-b1, Micronaut 3.8.0, Apache Groovy 4.0.7, Gradle 8.0.0-RC1 and JReleaser 1.4.0.

JDK 20

There was no activity in the JDK 20 early-access builds this past week. Build 29 remains the latest update. More details on this build may be found in the release notes.

JDK 21

Similarly, there was no activity with the JDK 21 early-access builds. The latest update remains at Build 3.

For JDK 20 and JDK 21, developers are encouraged to report bugs via the Java Bug Database.

Jakarta EE

The fifth beta release of Jakarta NoSQL 1.0.0 delivers: support for Java records in which only the Entity class is required; Supplier functionality in the Settings interface; update the Configurations enumeration to implement Supplier; a new CHANGELOG.adoc file to track the evolution of the specification; migrate documentation from Markdown to AsciiDoc; and an update in the nomenclature on the Document and Column Family APIs. Repository-related annotations, namely Repository, Query, Param, Pagination and Page, were deprecated as the Jakarta Data specification will now maintain these annotations. And finally, there was also a removal of the add() method in the Settings interface to avoid mutability in the implementation. More details on how to use Java records in a Jakarta NoSQL and MongoDB application may be found in this GitHub repository.

The initial beta release of Jakarta Data 1.0.0 has also been made available to the Java community for review. Created in the summer of 2022, this new specification release includes: the initial API containing the aforementioned repository-related annotations; the initial TCK structure; and a repository resource.

Micronaut

Within a week after the release of version 3.7.5, The Micronaut Foundation has released Micronaut 3.8.0 featuring: support for GraalVM 22.3.0; use of the @RequestBean annotation to support Java records; a new Micronaut CLI interactive sub-command, mn create-aws-lambda, that provides a guide on how to create a Micronaut AWS Lambda project; and updates to many of the Micronaut projects. There were also dependency upgrades to Netty 4.1.86.Final, Jackson 2.14.0, and Maven Native plugin 0.9.19. More details on this release may be found in the release notes.

Apache Software Foundation

Apache Groovy 4.0.7, a maintenance release, features bug fixes, dependency upgrades and improvements such as: the static type checker does not recognize a closure input parameter when implementing an interface with a map; improvements in the Groovy Shell DocCommand class; and support for applying the modulus operator (%) on BigDecimal types. More details on this release may be found in the release notes.

Gradle

The first release candidate of Gradle 8.0.0 features improvements to the Kotlin DSL and buildSrc, the latter of which will now behave more like included builds, such as running buildSrc tasks directly, skipping tests, having init tasks and including other builds with buildSrc. There were also performance improvements with enhancements to the configuration cache.

JReleaser

Version 1.4.0 of JReleaser, a Java utility that streamlines creating project releases, has been released delivering updates such as: a new FLAT_BINARY distribution type; a new java-archive assembler; and updates to Docker support. JReleaser 1.4.0 is fully released by itself to include publishing JARs and POMs to Maven Central eliminating the need to use the Gradle Nexus Publishing plugin. More details on this release may be found in the release notes.

Editor's Note

Michael Redlich is a committer on the Jakarta Data and Jakarta NoSQL specifications.

About the Author

Rate this Article

Adoption
Style

BT