The Spring Blog

Engineering
Releases
News and Events

Spring HATEOAS 1.0.0.RC2 released

Dear Spring community, we’re proud to announce the second release candidate of Spring HATEOAS 1.0.0. Since our last release, Spring HATEOAS has made great strides with two more milestones and two RCs.

Here’s the summary:

  • Internationalization support for both HAL and HAL-FORMS.

  • Performance improvements

  • Spring HATEOS is now based on Spring Framework 5.2 and Reactor’s Dysprosium release train. This is critical to support downstream projects like Spring Data Moore and Spring Boot 2.2.

  • Now supports Spring WebFlux applications that have both hypermedia and non-hypermedia endpoints.

  • Improved major chunks of reference documentation.

  • Created a Spring HATEOAS Gitter channel.

  • Fixed issues in various media types to ensure they comply with spec definitions, and don’t throw unexpected exceptions.

Read more...

This Week in Spring: September 3, 2019

Hi Spring fans! Welcome to another installment of This Week in Spring! We’ve just finished celebrating Labor Day here in the Long home, in San Francisco, in the US. It was a fun day spent with family and friends, and I wasn’t sure if I could have any more fun but it’s Tuesday, and you know what that means: another epic installment of This Week in Spring. I can’t believe we’re already in September, staring down the last few months of the year already! As usual, one of my favorite parts of the journey to the next year is the arrival of the epic SpringOne Platform show. This year is no different: I can’t wait to celebrate the show with friends in epic Austin, TX. Will you be there? Let me know!

Read more...

This Week in Spring - August 27, 2019

Hi Spring fans! Welcome to another installment of This Week in Spring! As I write this I’m in beautiful Bangalore, India, stuck in a monster of a traffic jam trying to make it to another meeting. I’m so elated to be here to connect with amazing people and organizations. I’m also excited that, this week, I’ll be speaking at the Bangalore Java User Group. Please, come out and say hi!

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

Read more...

A Bootiful Podcast: Google's James Ward, Okta's Matt Raible and Grand Cloud's Ryan Knight on the Simplicity Continuum

Hi Spring fans and welcome to another installment of a Bootiful Podcast! This week I had the pleasure of talking with Ryan Knight and with the two people with whom I am copresenting at SpringOne Platform 2019, James Ward and Matt Raible.

Read more...

This Week in Spring - August 20th, 2019

Hi Spring fans! I’m in delightful Denver and Boulder, Colorado, talking to customers and working with my buddies Matt Raible and James Ward on our Spring One Platform 2019 talk. It’s going to be amazing!

I’m oh-so-excited to be working on today’s roundup, as usual, because there’s a ton of good stuff to cover, so let’s get to it!

Read more...

Announcing Spring Cloud Stream Horsham.M3 (3.0.0.M3)

We are pleased to announce the third Milestone of the Spring Cloud Stream Horsham.M3 (3.0.0.M3).

NOTE: Spring Cloud Stream 3.0.0.M1/M2 was primarily to establish compatibility with Spring Boot 2.2.x. and therefore went unannounced.

Spring Cloud Stream Horsham.M3 (3.0.0.M3) modules are available for use in the Spring Milestone repository.

Quick highlights:

  • Spring Boot 2.2.x
  • Spring Cloud Function 3.0.0.M2

Notable features and enhancements for this milestone:

Emphasis on functional programming model

While we’re not (yet) deprecating @StreamListener and/or @EnableBinding, we are moving toward a simpler and more natural auto-configuration driven programming model.

Read more...

Securing Services with Spring Cloud Gateway

So far in this series, we’ve covered Getting Started and Hiding Services with Spring Cloud Gateway. However, when we set about hiding our services, we didn’t secure them. In this article, we’ll correct this.

To secure our services, we’ll use the Token Relay pattern supported by OAuth 2.0 and the Javascript Object Signing & Encryption (JOSE) and JSON Web Tokens standards. This will give our users a means to identify themselves, authorize applications to view their profile and access the secured resources behind the gateway.

Read more...

Announcing Spring Cloud Function 3.0.0.M2

We are pleased to announce the second Milestone of the Spring Cloud Function 3.0.0.M2.

NOTE: Spring Cloud Function 3.0.0.M1 was primarily to establish compatibility with Spring Boot 2.2.x. and therefore went unannounced.

Spring Cloud Function 3.0.0.M2 modules are available for use in the Spring Milestone repository.

Quick highlights:

  • Spring Boot 2.2.x
  • Enhanced deployer (requires a separate blog)

Notable features and enhancements:

Function arity (multiple inputs/outputs)

One of the biggest features introduced with this milestone is support for functions with multiple inputs and outputs. Important thing to point out is that this feature only makes sense in reactive world where you may want to pass several streams to a function for purposes of doing some type of aggregate/merge operation on such streams. For conventional cases you can always send multiple arguments using a Collection of some type.

Read more...