The Spring Blog

Engineering
Releases
News and Events

This Week in Spring - September 18th, 2018

Hi Spring fans! Welcome to another installment of This Week in Spring! It’s the week before SpringOne Platform and things are crazy! We have so much to cover - as usual! - but FIRST! ..some poetry (with apologies to Clement Clark Moore)

’twas the week before SpringOne Platform, when all throughout Spring;
Not a creature was stirring, just the computers and things;
the expectations were raised by the community with care;
in hopes that SpringRod would be there;

That’s right! this year is fixing to be AMAZING! We’re going to have Spring founder Rod Johnson, Jenny Zhang, Siew Choo Soh, Neha Narkhede, Matt Raible, Ray Tsang, Lauren Knausenberger, Juergen Hoeller, Bruno Borges, Andrew Clay Shafer and allllll the rest of the Spring team! It feels like a minute ago (December!) that we just had the last one so I can’t believe how quickly this one has arrived, but I can’t wait!

Read more...

Spring Cloud Data Flow 1.7 M1 released

The Spring Cloud Data Flow team is pleased to announce the release of 1.7 M1. Follow the Getting Started guides for Local Server, Cloud Foundry, and Kubernetes.

Here are the highlights

  • Improved UI

  • Stream Application DSL

  • Audit trail

  • Concurrent Task Launch Limiting

  • Stream and Task validation

  • Force upgrade for Streams

Improved UI

The UI has a completely new look. The navigation has moved from tabs to a left side navigation system. This gives increased screen real estate for creating streams with the Flo designer and even more screen real estate can be obtained by minimizing the left side navigation. There is a quick search feature that searches across all the different Data Flow categories. Additional colors and overall theme changes have been added to make the UI look more lively. Deeper in the core, the route management has been improved and we have increased our end to end testing coverage using BrowserStack/SauceLabs.

Stream Create
Read more...

Introducing Spring Data JDBC

With the upcoming Lovelace GA release, we’re going to ship a new Spring Data Module: Spring Data JDBC.

The idea behind Spring Data JDBC is to provide access to relational databases without submitting to the complexities of JPA. JPA offers such features as lazy loading, caching, and dirty tracking. While these are great if you need them, they can actually make thinking about JPA and its behavior harder than it has to be.

Lazy loading might trigger expensive statements when you don’t expect it or it might fail with an exception. Caching can get in your way when you actually want to compare two versions of an entity and being dirty makes it hard to find a single point where all persistence operations pass through.

Read more...

Spring IO Platform Cairo SR4

I am pleased to announce that Spring IO Platform Cairo-SR4 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 2.0.6
  • Spring Boot 2.0.6
  • Spring Cloud Connectors 2.0.3
  • Spring Data Kay SR10
  • Spring Framework 5.0.9
  • Spring Integration 5.0.8
  • Spring Kafka 2.1.10
  • Spring Security 5.0.8
  • Spring Session Apple SR5

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

Project Page | GitHub | Issues | Documentation

Read more...

Spring IO Platform Brussels SR13

I am pleased to announce that Spring IO Platform Brussels-SR13 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.10
  • Spring Boot 1.5.16
  • Spring Data Ingalls SR15
  • Spring Framework 4.3.19
  • Spring Security 4.2.8

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

Project Page | GitHub | Issues | Documentation

Read more...

Spring Boot 2.1 M3 available now

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

This third milestone aligns with Spring Framework 5.1.RC3.

Highlights in this release include:

  • Kafka Streams support
  • Support for non-web OAuth applications
  • Improved conversion service integration
  • Support for logging groups

For a complete list of changes and upgrade instructions, please see the Spring Boot 2.1 Release Notes on the wiki and the updated reference documentation.

Read more...

Bootiful GCP: To Production! (8/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 Boot 2.0.5

It is my pleasure to announce that Spring Boot 2.0.5 has been released and is is now available from repo.spring.io and Maven Central.

Spring Boot 2.0.5 includes 87 fixes, improvements and dependency updates (including an important security fix for Spring AMQP). Thanks to all that have contributed with issue reports and pull requests.

How can you help?

If you’re interested in helping out, check out the “ideal for contribution” tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Read more...

Spring Boot 1.5.16

On behalf of the team, I am pleased to announce that Spring Boot 1.5.16 has been released and is is now available from repo.spring.io and Maven Central.

Spring Boot 1.5.16 includes 27 fixes, improvements and dependency updates (including an important security fix for Spring AMQP). Thanks to all that have contributed with issue reports and pull requests.

How can you help?

If you’re interested in helping out, check out the “ideal for contribution” tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Read more...

Kotlin Support in Spring Cloud Function

Rarely we blog about a single feature, but given that this one was one of the most requested ones in Spring Cloud Function (relatively young project), we thought it may be appropriate, so here it is.

Initial support for Kotlin lambdas has been added to Spring Cloud Function. What it means is that Spring Cloud Function can now recognize Kotlin lambdas that effectively match to one of Java’s Supplier, Function or Consumer and treat them as such.

That is:

@Bean
open fun kotlinFunction(): (String) -> String {
    return  { it.toUpperCase() }
}

@Bean
open fun kotlinConsumer(): (String) -> Unit {
    return  { println(it) }
}

@Bean
open fun kotlinSupplier(): () -> String {
    return  { "Hello Kotlin" }
}

Read more...