Cloud Native 5 min read

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.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
Spring Cloud 2024.0.0 (Moorgate) Release: New Features, Quick Start & Maven Setup

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>&lt;dependencyManagement&gt;
   &lt;dependencies&gt;
       &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
           &lt;artifactId&gt;spring-cloud-dependencies&lt;/artifactId&gt;
           &lt;version&gt;2024.0.0&lt;/version&gt;
           &lt;type&gt;pom&lt;/type&gt;
           &lt;scope&gt;import&lt;/scope&gt;
       &lt;/dependency&gt;
   &lt;/dependencies&gt;
&lt;/dependencyManagement&gt;

&lt;dependencies&gt;
   &lt;dependency&gt;
       &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
       &lt;artifactId&gt;spring-cloud-starter-config&lt;/artifactId&gt;
   &lt;/dependency&gt;
   &lt;dependency&gt;
       &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
       &lt;artifactId&gt;spring-cloud-starter-netflix-eureka-client&lt;/artifactId&gt;
   &lt;/dependency&gt;
   &lt;!-- other dependencies --&gt;
&lt;/dependencies&gt;</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

Javacloud-nativeMicroservicesMavenSpring CloudSpring Boot 3.4
Java Architecture Diary
Written by

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.