The Spring Blog

Engineering
Releases
News and Events

Spring Social End of Life Announcement

Today it is with an optimistic look to the future that I am announcing the end of life for Spring Social, a project that I have had the pleasure to work with over the past eight years.

With the release of Spring Security 5, much of the functionality offered by Spring Social’s connection framework—which I consider the most valuable piece of Spring Social—is now part of Spring Security. In fact, I shared how to use Spring Security’s new support for client-side OAuth2 in a blog article from back in March. And as Spring Security continues to evolve its client-side OAuth support, Spring Social’s connection framework will continue to become more unnecessary. It simply no longer makes sense to have Spring’s OAuth story spread across so many projects—it’s time for a single cohesive OAuth story for Spring developers.

Read more...

This Week in Spring - July 3rd, 2018

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m fresh of the amazing Spring Connect São Paulo event and speaking with some customers, and now I’m in beautiful Rio de Janeiro soaking up the winter rays by he beach, connecting with people in the community, and delivering a (virtual!) 2 day live training course for O’Reilly on building cloud-native Java-based applications. In less than two days I’ll be home for the first time in almost a month to celebrate the 4th of July. If you’re in America, let me be the first to wish you a happy holiday. As usual, we’ve got a ton of things to dive into so I’ll leave you to it. Let’s get going.

Read more...

Spring Cloud Edgware.SR4 Has Been Released

On behalf of the community, I am pleased to announce that the Service Release 4 (SR4) of the Spring Cloud Edgware Release Train is available today. You can find the release in Maven Central. You can also check out the Edgware release notes for more information.

Notable Changes in the Edgware Release Train

spring-boot-autoconfigure-processor

  • All of the projects have a new optional dependency, spring-boot-autoconfigure-processor. See Spring Cloud Commons issue #377.

Spring Cloud Commons

Read more...

Spring Cloud Open Service Broker 2.0.0.RELEASE is now available

We’re pleased to announce that the 2.0.0 release of Spring Cloud Open Service Broker is now generally available. Spring Cloud Open Service Broker is a framework for building Spring Boot applications that implement the Open Service Broker API.

The Open Service Broker API project allows developers to deliver services to applications running within cloud native platforms such as Cloud Foundry, Kubernetes, and OpenShift. Spring Cloud Open Service Broker provides a framework based on Spring Boot that enables you to quickly create a service broker for your own managed service on platform that support the Open Service Broker API.

Read more...

Spring Cloud Task 1.2.3.RELEASE is now available

We are pleased to announce that Spring Cloud Task 1.2.3.RELEASE is now available via Maven Central, Github and the Pivotal download repository. This release adds the ability to retrieve the last TaskExecution for a specific task. A special thanks to Gunnar Hillert for the contributions around this issue. And additional thanks to Ilayaperumal Gopinathan for helping out with the project.

Spring Cloud Task Home | Source on GitHub | Reference Documentation

We look forward to your feedback in Github, StackOverflow, to me directly via Twitter @cppwfs

Read more...

Spring Cloud Stream Fishtown.M1 /2.1.0.M1 Release Announcement

We are pleased to announce the first Milestone of the Spring Cloud Stream Fishtown release train - Fishtown.M1/2.1.0.M1.

Spring Cloud Stream Fishtown 2.1.0.M1 is available for use in the Spring Milestone repository. The release notes include relevant information about version compatibility with Spring Boot, Spring Cloud, Spring AMQP, and Spring for Apache Kafka.

The following section provides a brief summary of features and improvements included in this release.

Notable Features, Improvements & enhancements

Read more...

Spring Cloud GCP 1.0.0.RC1 Now Available

Dear Spring Community!

Today, together with Google team, it’s my pleasure to announce the First Release Candidate of Spring Cloud for Google Cloud Platform project of version 1.0.

The artifacts available from Spring Milestone repository via BOM:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-gcp-dependencies</artifactId>
            <version>1.0.0.RC1</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
Read more...

Hands on MongoDB 4.0 transactions with Spring Data

With MongoDB 4.0, ACID transactions have arrived in the Document store, enforcing all-or-nothing execution and maintaining data integrity. So, let’s get straight to it by looking at both the synchronous and the reactive execution models.

At the time of this writing, MongoDB multi-document transactions are supported across a single replica set and feel like the transactions you are probably familiar with from relational databases. Looking at the driver API, one feels immediately at home:

try (ClientSession session = client.startSession()) {

    session.startTransaction();

    try {

        collection.insertOne(session, documentOne);
        collection.insertOne(session, documentTwo);

        session.commitTransaction();

    } catch (Exception e) {
        session.abortTransaction();
    }
}
Read more...

This Week in Spring - June 26th, 2018

Hi Spring fans and welcome to another installment of This Week in Spring! This last week’s been fun! Since we last spoke, I have been in Amsterdam (customers), London (SpringOne Tour London); Paris, Fr (JHipster Conf); Krakow, Pl (Devoxx PL); and now Sao Paulo, Br (Spring Connect SP). It’s been a wild ride and it’s nice to conclude the journey here in Brazil with one of the largest Java communities on earth.

And, as a cherry on top, there is a ton of great stuff to look at in this week’s roundup so let’s get to it!

Read more...

Spring Boot for Apache Geode & Pivotal GemFire 1.0.0.M1 Released!

Greetings Spring & Apache Geode/Pivotal GemFire communities-

I am happy to announce the first milestone release of Spring Boot for Apache Geode & Pivotal GemFire, version 1.0.0.M1.

This is a great new project building on the work started in Spring Data for Apache Geode/Pivotal GemFire nearly 2 years ago, when we introduced annotation-based configuration.

With Spring Boot’s "convention over configuration" approach using auto-configuration, this project takes configuration and development of Spring Boot, Apache Geode & Pivotal GemFire applications to the next level, whether building and running applications in a stand-alone or a managed environment like Pivotal CloudFoundry (PCF), when using Pivotal Cloud Cache (PCC).

Read more...