close

Spring Cloud 2021.0.0-M2 (codename Jubilee) is Available.

On behalf of the community, I am pleased to announce that the Milestone 2 (M2) of the Spring Cloud 2021.0 Release Train (codename Jubilee) is available today. The release can be found in Spring Milestone repository. You can check out the 2021.0.0-M2 release notes for more information.

Notable Changes in the 2021.0.0-M2 Release Train

Milestone 2 is compatible with Spring Boot 2.6.0-M3.

See the project page for all the issues and pull requests included in this release.

Spring Cloud Commons

Adjusts NamedContextFactory API for Sleuth.

Spring Cloud Config

Allow types in JDBC Environment repository besides String issue 1952

Spring Cloud Contract

UUID v4 and case insnsitivity issue 1688. Allow custom build.gradle when using standalone docker image issue 1672.

Spring Cloud Gateway

Support for the HTTP 2 protocol, issue 7.

Spring Cloud Kubernetes

Consitency between different java clients.

Spring Cloud Openfeign

Adds support for @CookieValue annotation issue 604.

Spring Cloud Sleuth

Adds Spring Kafka instrumentation issue 2013.

Included Modules

The following modules were updated as part of 2021.0.0-M2:

Module Version Issues
Spring Cloud Zookeeper 3.1.0-M2  
Spring Cloud Commons 3.1.0-M2 (issues)
Spring Cloud Kubernetes 2.1.0-M2  
Spring Cloud Task 2.4.0-M2  
Spring Cloud Bus 3.1.0-M2  
Spring Cloud Sleuth 3.1.0-M2 (issues)
Spring Cloud Cli 3.1.0-M2  
Spring Cloud Starter Build 2021.0.0-M2  
Spring Cloud Vault 3.1.0-M2  
Spring Cloud Contract 3.1.0-M2 (issues)

As always, we welcome feedback on GitHub, on Stack Overflow, or on Twitter.

Getting Started

To get started with Maven with a BOM (dependency management only):

<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>https://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2021.0.0-M2</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependencies>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-config</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
    </dependency>
    <!-- ... -->
</dependencies>

To get started with Gradle:

plugins {
  id 'org.springframework.boot' version '2.6.0.M3'
  id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  id 'java'
}

repositories {
  mavenCentral()
  maven { url 'https://repo.spring.io/milestone' }
}

ext {
  set('springCloudVersion', "2021.0.0-M2")
}

dependencyManagement {
  imports {
    mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
  }
}

dependencies {
  compile 'org.springframework.cloud:spring-cloud-starter-config'
  compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  //...
}
comments powered by Disqus