The Spring Blog

Engineering
Releases
News and Events

Spring Boot in a Container

Many people are using containers to wrap their Spring Boot applications, and building containers is not a simple thing to do. This is an article for developers of Spring Boot applications, and containers are not always a good abstraction for developers - they force you to learn about and think about very low level concerns - but you will on occasion be called on to create or use a container, so it pays to understand the building blocks. Here we aim to show you some of the choices you can make if you are faced with the prospect of needing to create your own container.

Read more...

This Week in Spring - Tuesday, November 6th, 2018

Hi Spring fans! Welcome to another installment of This Week in Spring. I’m in Tokyo, Japan, for the epic SpringOne Tour Japan event and then, it’s off to Seoul, South Korea and then Singapore. I’m trying to keep busy! I delivered two 3+ hour long talks yesterday despite a blistering fever and today I presented at the SpringOne Tour and then, tonight, I had the honor of presenting at a joint meeting of the JJUG and JSUG here in Tokyo on Tuesday evening (starting about 7h ago).

If you’re about, don’t hesitate to say hi! I’d love to chat about anything and everything Pivotal and Spring with ya! Anyway, we’ve got a ton to get to, so let’s get to it!

Read more...

Spring CredHub 2.0.0.M1 released

I’m pleased to announce the first milestone release of Spring CredHub 2.0.0, available now in the Spring milestone repository.

CredHub

CredHub provides centralized credential management to the Cloud Foundry platform. CredHub implements an HTTP API to securely store, generate, retrieve, and delete credentials of various types.

Spring CredHub provides a Java binding for the CredHub API, making it easy to integrate Spring applications with CredHub.

What’s New

The 2.0.0 release brings support for CredHub server versions 1.x and 2.x, and the CredHub v1 and v2 APIs. This release also provides compatibility with Spring Framework 5 and Spring Boot 2. The GA release of Spring CredHub 2.0.0 will add a reactive alternative to the existing interfaces.

Read more...

Spring Cloud Task 2.1.0.M1 is now available

We are pleased to announce that Spring Cloud Task 2.1.0M1 is now available on Github and the Pivotal download repository. Many thanks to all of those who contributed to this release.

What’s New?

Spring Cloud Task 2.1.0.M1 is intended to be the version of the framework aligned with Spring Boot 2.1.0. Updates from 2.0.x include:

  • Update all dependencies.
  • Spring Cloud Task is now enabled through auto-configuration.
  • The exitCode of a TaskExecution is null when a task is executing.
  • Spring Cloud Task compiles and runs on Java 8, 9, 10, 11.
Read more...

Project Update: Spring Cloud Data Flow for Apache Mesos and Apache YARN

Dear Spring community,

The Spring Cloud Data Flow team have been happy stewards of the Spring Cloud Deployer and Spring Cloud Data Flow implementations of Apache Mesos and Apache YARN.

We now feel that TrustedChoice.com will be a better home for Apache Mesos implementation of Spring Cloud Deployer and Spring Cloud Data Flow, and we are donating the projects to them to carry it forward.

The development will now be managed directly by the team (Adam J. Weigold, Phil Egelston, Justin Mathieu, and Cole Anderson) at TrustedChoice.com, as the Spring Cloud Data Flow team will no longer maintain it.

Read more...

Spring Tools 4.0.1 released

Dear Spring Community,

I am happy to announce the 4.0.1 release of the Spring Tools 4 for Eclipse, Visual Studio Code, and Atom.

Highlights from this release include:

  • (Eclipse) added support for Buildship 3.0
  • (Eclipse) added Tomcat server adapters back to default distribution
  • (Concourse) updated S3 params to latest changes
  • (Spring Boot suppport in general) various bug fixes

To download the distribution for Eclipse and find links to the marketplace entries for Visual Studio Code and Atom, please go visit:

Read more...

Reactor Bismuth-SR13 and Californium-SR2 available now !

Californium Update

On behalf of the Reactor team, I am pleased to announce that Californium-SR2 release train is available now.

This maintenance release of the Californium line includes the following dependencies updates:

Bismuth Update

We also have shipped Bismuth-SR13. This maintenance release of the Bismuth line includes the following dependencies updates:

Read more...

Spring Security OAuth2 Auto-config 2.0.6 & 2.1.0 Released

I’m pleased to announce on behalf of the community Spring Security OAuth2 Boot Auto-config 2.0.6 and 2.1.0.

Both releases primarily deliver bug fixes and dependency version updates along with some minor improvements. Of particular note is that these align with recent releases of Spring Boot.

Note that for 2.1.0, gaps in configuration of keys between Resource Server and Authorization Server were brought into parity. Now, it’s possible on the Authorization Server side to configure a single key:

security:
  oauth2:
    authorization:
      jwt:
        key-value: ${PRIVATE_KEY}
Read more...

Spring Session Bean GA Released

This post was authored by Vedran Pavić

On behalf of the community, I’m pleased to announce the general availability of Spring Session BOM Bean. This is the first release based on Spring Session 2.1 and can be easily consumed with freshly released Spring Boot 2.1. Please read on for the highlights of the release.

Same-Site Cookie is another mechanism that helps developers to protect from Cross-Site Request Forgery. Our DefaultCookieSerializer has been enhanced to support adding SameSite attribute to session cookie produced by Spring Session. The SameSite attribute is enabled by default with value Lax and is customizable using DefaultCookieSerializer#setSameSite.

Note that the equivalent support for WebSession is present in the Spring WebFlux itself starting with Spring Framework 5.1.

Read more...

Spring Cloud for Alibaba 0.2.0 released

Hi! Today, we’re very excited to announce the first preview release of Spring Cloud Alibaba.

The Spring Cloud Alibaba project, consisting of Alibaba’s open-source components and several Alibaba Cloud products, aims to implement and expose well known Spring Framework patterns and abstractions to bring the benefits of Spring Boot and Spring Cloud to Java developers using Alibaba products.

NOTE: The Spring Cloud Alibaba project is a community project maintained by Alibaba.

NOTE: Version 0.2.0.RELEASE is compatible with the Spring Boot 2.0.x line. Version 0.1.0.RELEASE is compatible with the Spring Boot 1.x line.

Read more...