The Spring Blog

Engineering
Releases
News and Events

Spring Cloud Hoxton.M1 is available.

On behalf of the community, I am pleased to announce that Milestone 1 (M1) of the Spring Cloud Hoxton Release Train is available today. The release can be found in Spring Milestone repository. You can check out the Hoxton release notes for more information.

Notable Changes in the Hoxton Release Train

This milestone release is compatible with Spring Boot 2.2.0.M4.

Spring Cloud Gateway

Spring Cloud Gateway has added support for RSocket. Look for more in an upcoming blog post.

Spring Cloud Contract

Gradle support has been updated to 5.5, and Groovy to version 2.5. A major refactoring has happened, simplifying and rewriting to Java where possible.

Read more...

Spring Boot for Apache Geode & Pivotal GemFire 1.1.0.M3 Released!

On behalf of the Spring, Apache Geode and Pivotal communities, I am pleased to announce the release of Spring Boot for Apache Geode & Pivotal GemFire 1.1.0.M3.

What’s New

The main theme of this release was to add support for hybrid cloud deployments.

For instance, perhaps you want to push and run your Spring Boot, Apache Geode or Pivotal GemFire applications on Pivotal CloudFoundry (PCF), but connect those applications to an externally managed, standalone Apache Geode or Pivotal GemFire cluster. Now, SBDG allows you to do just that.

Technically, SBDG takes advantage of a feature in PCF called CUPS, or Create User-Provided Service. By defining your own service descriptor you can connect your Spring Boot applications to externally managed services, like databases, message queues and even In-Memory Data Grids & Caches like Apache Geode or Pivotal GemFire.

By following a prescribed service descriptor format, it makes it simple to switch to a platform managed service like Pivotal Cloud Cache when you need it.

Indeed, we believe this is an important stepping stone for users making their way to a Cloud-Native platform, like PCF, where they still have much invested in their legacy architectures.

We do highly recommend using a managed service like Pivotal Cloud Cache for your application and Microservices caching needs, but we also realize that making this switch is not as easy as flipping the switch.

We want to help you get there. After all, Cloud-Native (Data) Patterns are crucial to the modern application architecture, particularly when talking about things like high availability and resiliency as well as making effective use of your computing resources.

You can learn more about this new support in the Reference Documentation.

In addition to hybrid cloud support, we also added:

  • Auto-configuration for logging.

  • Support to target specific Pivotal Cloud Cache (PCC) service instances when multiple instances are bound to your Spring Boot app.

  • Upgrades to Spring Boot 2.1.6.RELEASE.

  • Upgrade to Spring Test for Apache Geode & Pivotal GemFire (STDG) 0.0.5.RELEASE.

See the changelog for more details.

Read more...

This Week in Spring - July 2nd, 2019

Hi, Spring fans! Welcome to another installment of This Week in Spring! This week I’m sunny summer-time San Francisco indulging in a little downtime. Last week was a doozy! I visited Tampa, Flordia; Paris, France; and finally Santiago, Dominican Republic. Later this week, after the 4th of July holiday here in the States, I’ll head on over to Medellin, Columbia for JConf Columbia; Chicago, Illinois for the epic SpringOne Tour Chicago event; and then Lima, Peru for the JConf Peru event.

I’m so looking forward to a few weeks of fun talking to amazing developers around the globe. If you’re around, as usual, don’t hesitate to reach out to me on @starbuxman on Twitter.

Read more...

Hiding Services & Runtime Discovery with Spring Cloud Gateway

Ben Wilcock – Spring Marketing, Pivotal.
Brian McClain – Technical Marketing, Pivotal.

It’s rare for a company to want every API to be publicly accessible. Most prefer to keep their services secret by default, only exposing APIs publicly when absolutely necessary.

Spring Cloud Gateway can help. Spring Cloud Gateway allows you to route traffic to your APIs using simple Java™ instructions (which we saw in the last article) or with YAML configuration files (which we’ll demonstrate in this one). To hide your services, you set up your network so that the only server accessible from the outside is the gateway. The gateway then becomes a gate-keeper, controlling ingress and egress from outside. It’s a very popular pattern.

Read more...

Spring Cloud Open Service Broker 3.1.0.M1 Released

We are pleased to announce the 3.1.0.M1 release of Spring Cloud Open Service Broker. We are planning to include support for the recently released Open Service Broker API v2.15 within 3.1.0. This release includes all of the latest fixes and improvements from 3.0.3.RELEASE, as well as the following enhancements:

  • Improve support for service metadata in configuration properties
  • Add support for configuring Base64 metadata.imageUrl data from a class path image file
  • Improve configuration of event hooks via additional bean and auto-configuration support
Read more...

Spring Cloud Open Service Broker 3.0.3 Released

We are pleased to announce the 3.0.3 release of Spring Cloud Open Service Broker. This release includes the following updates:

  • Upgrade to Spring Boot 2.1.6.RELEASE
  • Fix issue with Servlet API and Reactor transitive dependencies
  • Return 404 when attempting to request a service instance binding for a service instance that does not exist

Include the following Spring Boot starter:

<dependency>
  <groupId>org.springframework.cloud</groupId>
  <artifactId>spring-cloud-starter-open-service-broker</artifactId>
  <version>3.0.3.RELEASE</version>
</dependency>
Read more...

Spring Cloud Greenwich.SR2 is available.

On behalf of the community, I am pleased to announce that Service Release 2 (SR2) of the Spring Cloud Greenwich Release Train is available today. The release can be found in Maven Central. You can check out the Greenwich release notes for more information.

Notable Changes in the Greenwich Release Train

All projects were updated in coordination with the Spring nohttp effort.

Spring Cloud Gateway

Many updates and fixes were included via Reactor and Reactor Netty. Gateway also efficiently caches the request body when Retry is enabled or if the Read Body Predicate is used.

Read more...

Spring Tips - Season 6 Recap

Hi Spring fans! It’s the end of yet another season of Spring Tips! I finished season 5 very recently, and had planned to leave it there for a month or two, but there were so many amazing things yet uncovered and constantly being released that I ended up releasing more episodes for what would become season 6. Now, I’ve finished season 6, and an extra episode besides, and will be taking a brief break to gather for the next season and take a few weeks to soak up and savor the summer season with my family.

Read more...