BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Contribute

Topics

Choose your language

InfoQ Homepage News Java News Roundup: Spring Projects Updates, Value Objects (Preview) JEP, Quarkus 2.7.2

Java News Roundup: Spring Projects Updates, Value Objects (Preview) JEP, Quarkus 2.7.2

This item in japanese

Lire ce contenu en français

Bookmarks

This week's Java roundup for February 21st, 2022, features news from OpenJDK, JDK 18, JDK 19, Quarkus 2.7.2.Final, JReleaser early-access, and multiple Spring project updates: Spring Boot 2.7.0-M1, 2.6.4, 2.5.10; a new ListCrudRepository interface for Spring Data 3.0-M2; Spring Security 5.7.0-M2, 5.6.2, 5.5.5; Spring Session 2021.1.2, 2021.0.5; Spring Shell 2.1.0-M3; and Spring Batch 4.3.5.

OpenJDK

JEP Draft 8277163, Value Objects (Preview), was promoted from Draft to Submitted status this past week, stating that the JEP owner, Dan Smith, has declared this draft as ready for evaluation towards Candidate status. This JEP proposes the creation of value objects, identity-free value classes that specify the behavior of their instances. This draft is related to JEP 401, Primitive Classes (Preview), and will provide continued contribution towards fulfilling Project Valhalla.

JDK 18

Build 37 of the JDK 18 early access builds was made available this past week, but there were no comparable updates from Build 36. With less than a month before the GA release of JDK 18, the updated release notes include links to documents such as the complete API specification and an annotated API specification comparing the differences between JDK 17 (Build 35) and JDK 18 (Build 37).

JDK 19

Build 11 of the JDK 19 early-access builds was also made available this past week, featuring updates from Build 10 that include fixes to various issues. More details may be found in the release notes.

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

Spring Framework

It was a very busy week over at Spring as the team provided numerous point and milestone releases for Spring Boot, Spring Data, Spring Security, Spring Session, Spring Shell, and Spring Batch.

On the road to Spring Boot 2.7.0, the second milestone release was made available to include 137 bug fixes, documentation improvements and dependency upgrades. New features include: test annotations for Couchbase and Elasticsearch; enhancements to auto-configuration registration and ordering with the new @AutoConfiguration annotation; and support for OkHttp 4.9.3. Further details may be found in the release notes.

Spring Boot 2.6.4 has been released featuring 61 bug fixes, documentation improvements and dependency upgrades. More details may be found in the changelog.

Spring Boot 2.5.10 has been released featuring 52 bug fixes, documentation improvements and dependency upgrades. Further details may be found in the changelog.

The Spring Data team has introduced a ListCrudRepository interface for Spring Data 3.0-M2 designed to return a result set of type List instead of an Interable, the type returned by the well-known CrudRepository interface. The motivation is to offer developers a choice with a preferred return type when working with Spring Data.

On the road to Spring Security 5.7.0, the second milestone has been released that will deprecate the WebSecurityConfigurerAdapter class as a move towards a component-based security configuration. Developers are encouraged to read this blog post on using Spring Security without WebSecurityConfigurerAdapter and more details may also be found in the release notes.

Spring Security 5.6.2 and 5.5.5 have been released with bug fixes, minor improvements and dependency upgrades. Both versions introduce the AuthorizationManagerWebInvocationPrivilegeEvaluator class that serves as an implementation of the WebInvocationPrivilegeEvaluator interface which delegates the checks to an instance of AuthorizationManager.

Spring Session versions 2021.1.2 and 2021.0.5 were released this past week featuring dependency upgrades of versions 2.6.2 and 2.5.5, respectively, of Spring Session Core, Spring Session Data Redis, Spring Session JDBC and Spring Session Hazelcast and Spring Session MongoDB (for Spring Session 2021.1.2 only).

On the road to Spring Shell 2.1.0, the third milestone release was made available to feature initial work on a higher level UI Component model to enhance building more attractive interactions with users. An example may be found in the release notes.

Spring Batch 4.3.5 was released featuring bug fixes and dependency upgrades. Enhancements include: simplify the GET_LAST_STEP_EXECUTION field in the JdbcStepExecutionDao class to use an equi-join instead of an cartesian join with a subselect; add the @Nullable annotation the getEndtime() method defined in the StepExecution class; and implement argument checks of the setSort() class defined in the MongoItemReader class. Further details may be found in the changelog.

Quarkus

Quarkus 2.7.2.Final, the second maintenance release, was made available featuring dependency upgrades of Kogito 1.17.0.Final and OptaPlanner 8.17.0.Final. More details may be found in the changelog.

JReleaser

On the road to version 1.0.0, an updated early-access release of JReleaser was made available this past week featuring adding Windows resources to the configuration of jpackage, a tool that may be used to assemble distributions of type NATIVE_PACKAGE.

About the Author

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT