Spring Session BOM Bean-RC1 Released

Releases | Rob Winch | September 24, 2018 | ...

This post was authored by Vedran Pavić

On behalf of the community, I’m pleased to announce the release of Spring Session BOM Bean-RC1. This release is based on Spring Session 2.1.0.RC1 which resolves a total of 13 issues. Please read on for the highlights of the release.

Support for Java 11

Spring Session now supports Java 11, while the required version of course stays at Java 8. Our CI pipeline has been enhanced so that the project is now continuously verified against Java 8, 10 and 11.

Dependency Upgrades

Spring Session 2.1.0.RC1 builds on the following latest and greatest releases of key dependencies:

  • Spring Framework 5.1.0.RELEASE

  • Spring Data Lovelace-RELEASE

  • Spring Security 5.1.0.RELEASE

  • Project Reactor Californium-RELEASE

  • Hazelcast 3.10.5

Other

The release also provide a few bug fixes and performance improvements, most notably:

  • Improved JdbcOperationsSessionRepository performance by deserializing attributes lazily: #1133

  • Improved HazelcastSessionRepository#save performance by leveraging Hazelcast’s Offloadable: #1204

  • Fixed RedisOperationsSessionRepository incorrect HttpSessionEvent handling when using multiple databases within the same Redis instance: #1128

Feedback Please

With the release of its first release candidate, the Spring Session Bean is now considered mostly feature-complete, and we turn to you, our community, to provide us with feedback before releasing a stable Bean-RELEASE. This is expected in mid-October, shortly before Spring Boot 2.1.0.RC1 is released.

You can give Spring Session Bean-RC1 a spin by configuring your dependency management as follows:

With Maven:

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

With Gradle:

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

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

Spring Boot early adopters will be happy to learn that the upcoming 2.1.0.M4 will pick up Spring Session Bean-RC1, while Spring Boot 2.0.x users can simply update spring-session-bom.version property as follows:

With Maven:

<properties>
	<sspring-session-bom.version>Bean-RC1</spring-session-bom.version>
</properties>

With Gradle:

ext['spring-session-bom.version'] = 'Bean-RC1'

Project Page | Documentation | Issues | Gitter | Stack Overflow

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all