The Spring Blog

Engineering
Releases
News and Events

Spring Vault 2.1 goes RC

On behalf of the community, I’d like to announce the availability of the Spring Vault 2.1 release candidate. Spring Vault 2.1 requires JDK 8 or higher and specifically supports JDK 11 as the next long-term support release. This release ships with 15 tickets fixed along with some refinements for Java 9 to 11. The most notable changes are:

  • Support for Azure authentication with managed service instances on VMs.
  • GCP IAM authentication support on behalf of service accounts.

This release is compatible with Vault versions from 0.5.2 up to 0.11.1.

Read more...

Spring Framework 5.1 RC3, 5.0.9 and 4.3.19 available now

On behalf of the team, I am pleased to announce Spring Framework 5.1 RC3, 5.0.9 and 4.3.19 are available now.

Spring Framework 5.0.9 includes 36 fixes and selected improvements while Spring Framework 4.3.19 includes 23 fixes and selected improvements. We’re also approaching Spring Framework 5.1 with a third release candidate that includes 30 fixes and improvements.

As usual, those are the base for the upcoming Spring Boot 2.1 M3, 2.0.5 and 1.5.16 releases early next week.

Project Page | GitHub | Issues | Documentation

Read more...

Spring Batch 4.1.0.M3 Released!

We are pleased to announce that Spring Batch 4.1.0.M3 is now available on Github and the Pivotal download repository. What’s new in this milestone? Here is a list of new features and enhancements:

JSR-305 support

The main theme of this milestone is adding support for JSR-305 annotations. We leveraged Spring Framework’s Null-safety annotations and added them where appropriate in all public APIs of Spring Batch.

These annotations will not only enforce null-safety when using Spring Batch APIs, but also can be used by IDEs to provide useful information related to nullability. For example, if a user wants to implement the ItemReader interface, any IDE supporting JSR-305 annotations will generate something like:

Read more...

Spring Security OAuth2 Boot Auto-config 2.0.4 & 2.1.0.M2 Released

I’m pleased to announce on behalf of the community Spring Security OAuth2 Boot Auto-config 2.0.4 and 2.1.0.M2.

Both releases primarily deliver bug fixes and dependency version updates along with some minor improvements. Of particular note is that these align with recent releases of Spring Boot.

For a complete list of changes, please refer to the 2.0.4 changelog and 2.1.0.M2 changelog.

Read more...

Spring Integration for AWS 2.0 GA and Spring Cloud Stream Kinesis Binder 1.0 GA

Dear Spring Community!

It’s my pleasure to announce General Availability for Spring projects supporting Amazon Web Services: Spring Integration for AWS 2.0.0.RELEASE and Spring Cloud Stream Binder for AWS Kinesis 1.0.0.RELEASE.

Both artifacts are available in the Spring Release repository and Maven Central and can be used as dependencies:

<dependency>
    <groupId>org.springframework.integration</groupId>
    <artifactId>spring-integration-aws</artifactId>
    <version>2.0.0.RELEASE</version>
</dependency>
...
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-stream-binder-kinesis</artifactId>
    <version>1.0.0.RELEASE</version>
</dependency>
Read more...

Spring Security 5.1.0.RC1 Released

Read more...

Spring Boot 2.1 M2 available now

On behalf of the team and everyone that contributed, I am pleased to announce that the second milestone of Spring Boot 2.1 has been released and is available from our milestone repository. This release closes 75 issues and pull requests!

This second milestone aligns with Spring Framework 5.1.RC2 and is the first release with support of Java 11.

Other highlights of this second milestone include:

  • Auto-configuration for task execution (@EnableAsync) and task scheduling (@EnableScheduling)
  • Configurable bootstrap mode for JPA
  • OAuth2 resource server support
  • Improved logging output for web applications
  • Improved binding for data size properties.
Read more...

Spring Data Lovelace RC2 available

On behalf of the Spring Data team, I’d like to announce the availability of the Lovelace RC2 release. This ships in preparation of Spring Boot 2.1 M2 and, of course, our own GA release mid-September. The release ships with 82 tickets fixed. You can find more details in the the updated and curated release wiki.

A pretty late but significant new feature has made it into the release: deferred repository initialization for Spring Data JPA. The feature allows your startup to use Spring Framework’s JPA background initialization option more effectively and can significantly cut down startup time. See the previewing example for details.

Read more...

Spring Session Bean-M1 and Apple-SR4 Released

This post was authored by Vedran Pavić

On behalf of the community I’m pleased to announce the releases of Spring Session BOM Bean-M1 and Apple-SR4. Spring Boot users will be happy to learn that these release were picked up in recent 2.1.0.M1 and 2.0.4.RELEASE releases of Spring Boot, respectively.

Spring Session Bean-M1

The Bean-M1 is first milestone release that is based on Spring Session 2.1.0.M1.

The following table provides an overview of all the included modules and their respective versions:

Module Version

Spring Session Core

2.1.0.M1

Spring Session Data GemFire

2.0.3.RELEASE

Spring Session Data Geode

2.0.3.RELEASE

Spring Session Data MongoDB

2.0.2.RELEASE

Spring Session Data Redis

2.1.0.M1

Spring Session Hazelcast

2.1.0.M1

Spring Session JDBC

2.1.0.M1

Spring Session 2.1.0.M1

The 2.1.0.M1 is the first milestone release in 2.1.x lifecycle. Highlights of this release are support for Same-Site Cookie, which is another mechanism that helps developers to protect from Cross-Site Request Forgery, and support for HttpSessionBindingListener. The release also includes the usual dependency upgrades, including picking up Spring Framework 5.1.0.RC1 as a baseline. You can find the complete details of the release in the changelog.

Using the BOM

With Maven:

<dependencyManagement>
	<dependencies>
		<dependency>
			<groupId>org.springframework.session</groupId>
			<artifactId>spring-session-bom</artifactId>
			<version>Bean-M1</version>
			<type>pom</type>
			<scope>import</scope>
		</dependency>
	</dependencies>
</dependencyManagement>
<dependencies>
	<dependency>
		<groupId>org.springframework.session</groupId>
		<artifactId>spring-session-data-redis</artifactId>
	</dependency>
	...
</dependencies>

With Gradle:

plugins {
	id 'io.spring.dependency-management' version '1.0.6.RELEASE'
}

dependencyManagement {
	imports {
		mavenBom 'org.springframework.session:spring-session-bom:Bean-M1'
	}
}

dependencies {
	compile 'org.springframework.session:spring-session-data-redis'
	...
}
Read more...

Spring Framework 5.1 RC2 available now

Dear Spring community,

It is my pleasure to announce that our second Spring Framework 5.1 release candidate is available from our milestone repository now.

Spring Framework 5.1 RC2 comes with dependency updates such as the latest Reactor Californium M2, RxJava 2.2, and JUnit 5.3 RC1. It addresses several reported issues on JDK 11 and GraalVM (tracking their release candidates) and provides further refinements within our 5.1 themes, in particular with respect to log output and startup performance.

This is the foundation for the upcoming Spring Boot 2.1 M2 release next week. We’re aiming for a Spring Framework 5.1 RC3 in early September still, picking up Reactor Californium RC1 and wrapping up our JDK 11 efforts, moving on to 5.1 GA in late September.

Read more...