Latest Java Reaches You!

6,849

Premium

1,928 visitors

Home » Blogs » Imported RSS Feeds » Spring Cloud 2025.0.0-RC1 (aka Northfields) has been released

The Spring Cloud 2025.0.0-RC1 release brings exciting updates to multiple modules, including Spring Cloud Config, Gateway, Task, Stream, and Function. Moreover, this release enhances functionality and streamlines development. This article explores the changes, affected modules, and how developers can get started.


Release Overview

The 2025.0.0-RC1 release, based on Spring Boot 3.5.0-RC1, belongs to the Spring Cloud 2025.0.0 Release Train. For detailed release notes, visit the Spring Milestone Repository. Additionally, you can find a complete list of changes on the GitHub project page.


Key Module Updates

This section highlights significant updates across various modules, ensuring developers understand the improvements.

Spring Cloud Config

The release now supports YAML-specific profile documents stored in AWS S3 buckets (Issue #2825). Consequently, this simplifies configuration management for cloud-based applications.

Spring Cloud Gateway

Developers can now register custom filters and predicates as beans (Issue #3250). Furthermore, the release supports setting the Spring.webflux.base-path property in path predicates (Issue #2984). It also adds Permissions-Policy as a configurable option in the SecureHeaders GatewayFilter (Issue #2975) and enables reloading of httpClient connectTimeout settings (Issue #3679). As a result, these changes improve flexibility and security.

Spring Cloud Task

The release introduces deprecation notifications for Remote Partitioning and Task Launcher (Commit 1d4e159). Therefore, developers should plan transitions to alternative solutions.

Spring Cloud Stream

The StreamBridge component no longer adds dynamic bindings to the output/input binding lifecycle (Issue #3106). So, this change enhances control over stream processing.

Spring Cloud Function

This Web module is now deprecated, with support for Spring Cloud Function in Spring Cloud Gateway serving as its replacement. Additionally, the release deprecates the RSocket module (Issue #1267) and allows adapters to listen for extra HTTP verbs (Issue #1271). Thus, these updates align with modern development practices.


The following modules were updated as part of the release:


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>2025.0.0-RC1</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>


or with Gradle:

plugins {
  id 'java'
  id 'org.springframework.boot' version '3.5.0-RC1'
  id 'io.spring.dependency-management' version '1.1.7'
}

//...

ext {
  set('springCloudVersion', "2025.0.0-RC1")
}

dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  //...
}

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

//...


Conclusion

The release delivers powerful updates to enhance development efficiency. By going thru these changes, developers can explore new features and prepare for changes in modules. So, start trying with this release today using the provided Maven or Gradle snippet.

Comments

Leave a Reply


Discover more from JavaDevTech platform

Subscribe to get the latest posts sent to your email.

Support Us By Donating!

Choose an amount

$5.00
$15.00
$100.00

OR Enter custom amount

$

Your contribution is APPRECIATED!

DONATE

Discover more from LEARN Java Development & Technologies

Subscribe now to keep reading and get access to the full archive.

Continue reading