Spring Cloud 2024.0.0 (Moorgate) Release: New Features, Quick Start & Maven Setup
Spring Cloud 2024.0.0 (Moorgate) has been released, built on Spring Boot 3.4.0, introducing enhancements across Gateway, CircuitBreaker, OpenFeign, Commons, Config, and Kubernetes modules, along with performance improvements, new configuration options, and a quick-start guide showing Maven dependency management for the updated platform.
Spring Cloud 2024.0.0 (Moorgate) Release Announcement
This release is built on Spring Boot 3.4.0, so it does not support Java 8 + Spring Boot 2.
Spring Cloud Gateway
Introduced a caching gateway filter to avoid repeated sorting on each request, improving performance.
Added support for SslBundles in HttpClientProperties.
Provided configuration for Netty HTTP client connection pool leasing strategy.
Added nested boolean predicate methods to the WebFlux Java DSL.
Added enable/disable flags for routes for finer control.
Added QPS, latency and other key metrics to Grafana templates.
Fixed conflicts when multiple routes shared the same Redis rate‑limit bucket.
Implemented ModifyResponseBody functionality on the MVC side.
Used Spring Boot’s new HTTP client auto‑configuration framework.
Spring Cloud CircuitBreaker
Supported disabling the TimeLimiter feature at group or instance level for greater flexibility.
Spring Cloud OpenFeign
Added case‑insensitive support when using Pageable.
Spring Cloud Commons
Added support for load‑balanced RestTemplateBuilder.
Added support for RestClient and set it as the default HTTP client for Spring Cloud Netflix Eureka.
Added application shutdown events, endpoints, and listeners.
Spring Cloud Config
Fixed inconsistent behavior when using the S3 backend with multiple application names.
Resources can now be stored and retrieved using a specified charset.
Added support for MongoDB environment repository.
Supported configuring multiple labels in the environment repository.
Configuration server can now handle multiple labels without client reliance.
Spring Cloud Kubernetes
Added support for configuration listeners, enabling application refresh by closing the app.
The main modules and their versions for this release are listed below:
Quick Start
Maven Project Dependency Management
In a Maven project, you can add the dependencies as follows:
<code><dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2024.0.0</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>
<!-- other dependencies -->
</dependencies></code>Update Information
Based on Spring Boot 3.4, Spring Cloud 2024 & Alibaba, SAS OAuth2, this microservice development platform has been adapted to Spring Boot 3.4.
For a detailed feature overview and source code, visit the project repository:
https://github.com/pig-mesh/pig
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.