The Spring Blog

News and Events

Spring Data Release Train Kay RC1 & RC2 Released

On behalf of the Spring Data team, I’d like to announce the availability of the first and second release candiate of Spring Data Kay. This release ships over 120 tickets fixed. The curated changelog can be found in our release wiki, the complete list of issues fixed can be found here. Due to a severe issue in RC1 we immediately issued RC2.

Notable changes

  • Enhanced tooling support by adding @NonNullApi and @Nullable annotations in Spring Data Commons to be picked up by your favorite IDE.
  • Fine-tuning of the fluent API for MongoDB including a reactive counterpart and aggregation support.
  • Spring Data for Apache Geode joins the release train.
  • RedisCache got overhauled and is now way easier to configure.
  • Cassandra 3.0 driver upgrade and support for @Indexed and @SASI.
  • Child document support for Spring Data for Apache Solr.
  • A lot of internal cleanups.

This Week in Spring - July 25th, 2017

Hi Spring fans! This week I’m in Istanbul, Turkey talking to customers and speaking at the Spring and Java meetups tonight. I hope you’ll join me and we’ll talk about cloud native Java! As usual, we’ve got a lot to cover this week so let’s get to it!

  • Spring Integration contributor Artem Bilan just announced Spring Integration 4.3.11. This release includes security updates as well as bug fixes.
  • Spring Batch lead Michael Minella just announced Spring Batch 3.0.8, which is mainly a maintenance release and a bugfix release.
  • Spring ninja Stéphane Nicoll has announced Spring Framework 4.3.10 which is a maintenance release for the upcoming Spring Boot 1.5.5 maintenance release. It includes 25 fixes and improvements.
  • Spring Cloud co-founder Spencer Gibb just announced Spring Cloud Dalston SR2. The release is primarily a bugfix. Also of note, this release marks the end of life for Spring Cloud Angel and Spring Cloud Brixton.
  • Spring Framework lead Juergen Hoeller just announced Spring Framework 5.0 RC3. The new release, part of an extended release candidate phase to allow Reactor 3.1, JUnit 5.0, Jackson 2.9 and so much more, includes API refinements in Spring WebFlux, Kotlin support, refined nullability declarations, and updated JDK9 support.
  • Spring Security contributor Joe Grandja just announced Spring Security 5.0.0.M3. The new release includes support for JSON Web Tokens (JWT), JSON Web Signatures (JWS) and integrated ID Token support for OpenID Connect authentication flows.
  • Spring integration and messaging ninja Artem Bilan just announced Spring AMQP 2.0.0 milestone 5. This release includes security fixes and a number of nice new features.
  • Micrometer provides a simple facade over the instrumentation clients for the most popular monitoring systems, allowing you to instrument your JVM-based application code without vendor lock-in. Think SLF4J, but for metrics. This project will serve as the metrics collection subsystem for Spring Boot 2.0 and will be backported to Spring Boot 1.0. Of note, though, is that Micrometer does not require Spring Boot to work. Check it out. There’s so much cool stuff here, one hardly knows where to start.
  • Gyula Lakatos put together an inspired, and detailed, blog detailing his first, and fresh, look at Spring Cloud Function on AWS Lambda. Nice job Gyula!
  • This is an oldie-but-a-goodie: Antonio Simoes talks about moving his companies’ architecture from a monolith to a non-blocking Spring Cloud-based architecture.
  • Microservices were driven by vendors - This isn’t strictly releated to Spring, but I liked Stephen O’Grady’s discussion about microservices - why people adopt them and what differentiates them from SOA.
  • James Governer follows up on Stephen O’Grady’s post on microservices.
  • and in the absolutely-great-news-that-has-nothing-to-do-with-Spring-per-se column: 10 years ago, 2,600 female students took AP Computer Science exam. In 2017, 29,000 female students took the exam. The growth among female students has been incredible, increasing participation in AP CS exams by 135% since 2016. Not to be outdone, underrepresented minorities have increased participation by nearly 170% over last year! Things are trending in the right direction. I sincerely hope our ecosystem sees increased diversity, more inclusion and participation and that it continues to grow.
  • Spring Boot user Nicky Mølholm‏ chimes in to share that the new Lego Life app is, behind the scenes, powered by Spring Boot. As a fan of both Legos and Spring Boot, I thought this was super cool! Congrats to the Lego Life team!
  • Move fast and don’t break things - by Rod Johnson - Spring creator and Atomist CEO Rod Johnson details how his company’s main offering can be a boon to teams using Spring Boot. This is a really cool offering that simplifies the end-to-end story for creating new services (which could and should be in Spring Boot), supporting collaboration, detecting breaking-and-outage-inducing changes, and managing the path to production (in, for example, Cloud Foundry). I’ve signed up!
  • Oracle Java Magazine, this month, has a nice look at some of the new features in Java 9 which is, of course, just around the corner.
  • This is an oldie-but-a-goodie from Spring ninja Greg Turnquist that looks at some issues people think they have with REST and how to get around them. It’s a good read.

This Week in Spring - July 18th, 2017

Hi Spring fans! This week I’m in Crete, Greece, for the epic JCrete un-conference and then it’s off to Istanbul, Turkey for next week’s visits with customers and for the Spring meetup. I hope you’ll join me in Istanbul!

As usual, we’ve got a lot to cover so let’s get to it!


This Week in Spring - July 11th, 2017

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m in Minneapolis, Minnesota; Kansas City, Kansas; and Phoenix, Arizona talking to customers and Pivotal partners about all things Spring and Cloud Foundry. If you’re around don’t hesitate to say hi!

We’ve got a lot to cover this week, so let’s get started!


Introducing Spring Cloud Function

Spring Cloud Function is a new project with the following high-level goals:

  • Promote the implementation of business logic via functions.
  • Decouple the development lifecycle of business logic from any specific runtime target so that the same code can run as a web endpoint, a stream processor, or a task.
  • Support a uniform programming model across serverless providers, as well as the ability to run standalone (locally or in a PaaS).
  • Enable Spring Boot features (auto-configuration, dependency injection, metrics) on serverless providers.

This Week in Spring - July 4th, 2017

Welcome to another installment of This Week in Spring! If you’re in the US, then let me wish you a happy 4th of July! We’ve got a lot to cover so let’s get to it!


This Week in Spring - June 27th, 2017

Hi Spring fans and welcome to another installment of This Week in Spring! This week I’m in Chicago, New York City and Denver talking to Pivotal customers. We’ve got a lot of good stuff to look at this week so let’s get to it!


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


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


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.