The Spring Blog

Engineering
Releases
News and Events

A preview on Spring Data Kay

As we’ve just shipped the fourth milestone release of Spring Data release train Kay, let’s take a look at the changes and features that come with the 13 modules on the train since our first milestone. This blog post covers a set of changes but is no means comprehensive of the 550+ changes between M2 and M4. To get a full list of changes, take a look into our Jira for Kay M1, M2, M3, and M4 changes.

Here’s a curated list of our key changes:

  • Adjustments in the reactive support

  • Composable repositories

  • Improved naming scheme for CRUD methods

  • Fluent MongoOperations API

  • Kotlin extension for MongoDB’s Template API

  • MongoDB Collation Support

  • Redis client configuration

  • Cassandra Lightweight transaction support and Query/Update objects

  • Java 9 compatibility

  • Upgrade to Elasticsearch 5.4

Read more...

This Week in Spring - June 20th, 2017

Hi Spring fans and welcome to another installment of This Week in Spring! This week I’m in Krakow, Poland for the epic Devoxx PL event and then it’s off to Luxembourg for the VoxxedDays Luxembourg event! If you’re around, don’t hesitate to say hi

Read more...

Spring Integration 5.0 Milestone 5 Available

On behalf of the Spring Integration team I am pleased to announce that the fifth milestone for the Spring Integration 5.0 release (5.0.0.M5) is now available.

21 JIRAs (and some GitHub issues) made into this release, including bug fixes and a number of new features. Some highlights of features in M4 and M5, since the previously announced Milestone 3:

  • The Splitter now can deal with the Java Stream and Reactor Flux payloads. If the output channel is a ReactiveStreamsSubscribableChannel, splitting supports back-pressure.

  • A ErrorMessagePublisher together with the ErrorMessageStrategy have been introduced to pursue better error handling experience with the inception message for the ErrorMessage. The MessageListenerContainer in Spring Kafka 2.0 and Spring AMQP 2.0 are supplied with their own ErrorMessageStrategy to represent the original data in the ErrorMessage for the error handling flow.

  • The new MockMessageHandler has been added to Spring Integration Test framework for replacing real `MessageHandler`s for unit testing:

Read more...

Spring Session MongoDB 2.0.0.M1 released

Dear Spring Community,

Last month, Spring Session lead Rob Winch announced the release of Spring Session 2.0.0.M1 (notice the lack of MongoDB there?) In that post, he pared back Spring Session to officially supporting Redis, JDBC, and Hazelcast. No more MongoDB.

I’m here to announce that I’ve pick up the torch for Spring Session MongoDB. Managing both Spring Session and Spring Security (among other responsibilities), Rob couldn’t maintain high caliber support with too many data stores. Being a member of the Spring Data team, I felt better suited toward providing MongoDB support of Spring Session, so I reinstated it as a separate project.

Read more...

Spring Security 5.0.0 M2 Released

On behalf of the community, I’m pleased to announce the release of Spring Security 5.0.0 M2. This release includes bug fixes, new features, and is based off of Spring Framework 5.0.0 RC2.

A complete example of using Spring Security to secure a Spring WebFlux application can be found in the Spring Security samples at hellowebflux and hellowebfluxfn.

The highlights of the release include:

Simplified Reactive Security Configuration

It is now very easy to setup a minimal Reactive Security Configuration. Add @EnableWebFluxSecurity and provide a UserDetailsRepository

Read more...

Spring Session 2.0.0 M2 Released

On behalf of the community I’m pleased to announce the release of Spring Session 2.0.0.M2. This release is focused primarily on ensuring compatibility with Spring Framework 5.0.0.RC2 and Spring Data Kay-M4 which is the minimum Spring version required.

We expect that Spring Session 2.0.0.M3 will have a new Java 8 friendly API along with Support for Spring WebFlux.

Supported Data Stores

As an update to our new story for supported repositories, we now have sub projects for Spring Session Geode (GemFire) and Spring Session MongoDB. You can find the Spring Session MongoDB release announcement here.

Read more...

Spring Boot 2.0.0.M2 Available Now

Shortly after Spring Framework 5.0 RC2, a second milestone of Spring Boot 2 is now available from our milestone repository. This release closes over 90 issues and pull requests, thanks to all that contributed!

For a complete list of changes, and upgrade instructions, see the Spring Boot 2.0.0.M2 Release Notes on the WIKI and the updated reference documentation.

If you want to get started and discover those new feature, you can easily bootstrap a new project on https://start.spring.io

Project Page | GitHub | Issues | Documentation | Stack Overflow | Gitter

Read more...

Spring IO Platform Brussels-SR3

I am pleased to announce that Spring IO Platform Brussels-SR3 is now available from both repo.spring.io and Maven Central.

This maintenance release upgrades the versions of a number of the projects in the Platform:

  • Spring AMQP 1.7.3
  • Spring Boot 1.5.4
  • Spring Cloud Connectors 1.2.4
  • Spring Data Ingalls SR4
  • Spring Framework 4.3.9
  • Spring Integration 4.3.10
  • Spring REST Docs 1.1.3
  • Spring Security 4.2.3
  • Spring Security OAuth 2.0.14
  • Spring Session 1.3.1
  • Spring Web Flow 2.4.5

The versions of a number of third-party dependencies have also been updated.

Read more...

Spring IO Platform Athens-SR6

I am pleased to announce that Spring IO Platform Athens-SR6 is now available from both repo.spring.io and Maven Central.

This maintenance release upgrades the versions of a number of the projects in the Platform:

  • Spring Boot 1.4.7
  • Spring Cloud Connectors 1.2.4
  • Spring Data Hopper SR 11
  • Spring Framework 4.3.9
  • Spring Integration 4.3.10
  • Spring REST Docs 1.1.3
  • Spring Security OAuth 2.0.14
  • Spring Web Flow 2.4.5

The versions of a number of third-party dependencies have also been updated.

As mentioned in the release announcement for Spring Boot 1.4.7, it is expected that it will be the last release in the 1.4 line. As a result, it is also expected that Athens-SR6 will be the last release of the Platform in the Athens line. If you haven’t already done so, we advise you to upgrade to Brussels as soon as possible.

Read more...

Spring Data Release Train Kay M4 Released

On behalf of the Spring Data team, I’d like to announce the availability of the fourth Spring Data Kay milestone. This release ships 98 tickets fixed along with some notable changes like composable repositories, the fluent MongoDB collection operation API, Kotlin extension for MongoDB, and much more.

This milestone is going to be picked up by Spring Boot 2.0 M2 and we’re heading towards a release candidate within the next month. We’ll publish a follow-up blog post with an in-depth discussion of the new features added to the milestone in the upcoming days.

Read more...