The Spring Blog

Engineering
Releases
News and Events

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...

This Week in Spring - August 21, 2018

Hi Spring fans and welcome to another installment of This Week in Spring. This week I’ve been in smokey Seattle and I just arrived in hot-n-humid NYC, in both cases to visit customers and Spring teammates. We’ve got so much to cover, so without further ado, let’s get to it!

The Spring team are all heads down as we near the epic SpringOne Platform 2018 event. Are you going to be there? It’s going to be September 24-27th, 2018 in Washington, DC. Do not miss this premier event uniting practicioners of agile, Cloud Foundry, Kubernetes, devops, and of course Spring in one place.

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...

Bootiful GCP: Getting Started with Spring Cloud for Google Cloud Platform (1/8)

Hi Spring fans! In this brief 8 part series we’re going to look at the Spring Cloud integration for Google Cloud Platform, called Spring Cloud GCP. Spring Cloud GCP represents a joint effort between Google and Pivotal that endeavors to provide a first class experience for Spring Cloud developers when using the Google Cloud Platform. Pivotal Cloud Foundry users will enjoy an even easier integration with the GCP service broker. I wrote these installments with input from Google Cloud Developer Advocate, and my buddy, Ray Tsang. You can also catch a walkthrough of Spring Cloud GCP in our Google Next 2018 session, Bootiful Google Cloud Platform. Thanks buddy! As always, I’d love to hear from you if you have feedback.

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...

This Week in Spring - August 14th, 2018

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m in San Francisco, Seattle, and Los Angeles talking to customers.

We on the Spring team are heads down, preparing for this year’s event-to-not-miss, SpringOne Platform. Come to learn about cloud-native application development, cloud computing, agile, devops, big-data, continuous-delivery, testing, and so much more. Get your tickets now! The event is September 24-27th, 2018 in Washington, D.C.

..Speaking of! See this kid? He just passed his Java camp certification and if he gets 1000 likes/RTs, Pivotal’ll send him to SpringOne Platform. Please RETWEET!

Read more...

Spring Cloud Open Service Broker 2.0.1.RELEASE is now available

We’re pleased to announce that the 2.0.1 release of Spring Cloud Open Service Broker is now available. This release resolves a few issues that were raised since the 2.0.0 release. Thank you to the community for your interest and feedback!

Spring Cloud Open Service Broker is a framework for building Spring Boot applications that implement the Open Service Broker API. The Open Service Broker API project allows developers to deliver services to applications running within cloud native platforms such as Cloud Foundry, Kubernetes, and OpenShift.

Read more...