Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 11, 2025

Bumps org.springframework.cloud:spring-cloud-dependencies from 2022.0.4 to 2025.0.0.

Release notes

Sourced from org.springframework.cloud:spring-cloud-dependencies's releases.

2025.0.0

Breaking Changes

Spring Cloud Gateway

  • New Module and Starter names have been created, and the old names are deprecated. The new and deprecated artifacts are listed in the table below #3645. These new names clarify the two styles of gateway (server or proxy exchange) as well as the two web stacks from Spring Framework (Web MCV and WebFlux). Use of the deprecated artifacts will add a warning message in the logs.
Deprecated Artifact New Artifact
spring-cloud-gateway-server spring-cloud-gateway-server-webflux
spring-cloud-gateway-server-mvc spring-cloud-gateway-server-webmvc
spring-cloud-starter-gateway-server spring-cloud-starter-gateway-server-webflux
spring-cloud-starter-gateway-server-mvc spring-cloud-starter-gateway-server-webmvc
spring-cloud-gateway-mvc spring-cloud-gateway-proxyexchange-webmvc
spring-cloud-gateway-webflux spring-cloud-gateway-proxyexchange-webflux
  • Migration to new property prefixes to match the new module names: #3361, #3362, #3363, #3647. Use spring-boot-properties-migrator to support the deprecated prefixes. The table below lists the module or starter, its old prefix, and the new replacement prefix.
Module/Starter Deprecated prefix New prefix
spring-cloud-starter-gateway-server-webflux spring.cloud.gateway.* spring.cloud.gateway.server.webflux.*
spring-cloud-starter-gateway-server-webmvc spring.cloud.gateway.mvc.* spring.cloud.gateway.server.webmvc.*
spring-cloud-gateway-proxyexchange-webflux spring.cloud.gateway.proxy.* spring.cloud.gateway.proxy-exchange.webflux.*
spring-cloud-gateway-proxyexchange-webmvc spring.cloud.gateway.proxy.* spring.cloud.gateway.proxy-exchange.webmvc.*
  • The X-Forwarded-* and Forwarded header functionality will be disabled by default with the fix versions. If you require X-Forwarded-* or Forwarded header functionality, set spring.cloud.gateway.server.webflux.trusted-proxies to a Java Regular Expression that specifies the proxies whose headers you trust. If you are using Spring Cloud Gateway Server MVC (only available from 4.1.x onward) set spring.cloud.gateway.mvc.trusted-proxies. For example for Spring Cloud Gateway Server:
spring.cloud.gateway.server.webflux.trusted-proxies=10\.0\.0\..*

For example, for Spring Cloud Gateway Server WebMVC:

spring.cloud.gateway.server.webmvc.trusted-proxies=10\.0\.0\..*

Spring Cloud Kubernetes

  • Upgrade To Fabric8 7.3.1 from 6.13.x. This is necessary due to the use of Jackson 2.19.x in Spring Boot 3.5.0. There is precedence in upgrading a major dependency in a minor with Spring Data and database drivers. #1923.

2025-05-29

  • Spring Cloud Starter Build 2025.0.0 (issues)
  • Spring Cloud Vault 4.3.0 (issues)
  • Spring Cloud Bus 4.3.0 (issues)
  • Spring Cloud Task 3.3.0 (issues)
  • Spring Cloud Zookeeper 4.3.0 (issues)
  • Spring Cloud Kubernetes 3.3.0 (issues)

... (truncated)

Commits
  • 1fb147c Update SNAPSHOT to 2025.0.0
  • 22ac7d8 Bumping dependency versions after release
  • 3d46501 Bumping versions to 2025.0.1-SNAPSHOT after release
  • bf966cd Going back to snapshots
  • fd4fc1f Update SNAPSHOT to 2025.0.0
  • 68b15eb Bumping versions
  • 4d19a8e Updates boot version to 3.5.0
  • 943bf02 Bumping versions
  • 3087b08 Updates boot version to 3.5.0-SNAPSHOT
  • eb88060 Going back to snapshots
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 11, 2025

Assignees

The following users could not be added as assignees: steveclewer. Either the username does not exist or it does not have the correct permissions to be added as an assignee.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 11, 2025
@RichardSlater
Copy link
Contributor

@dependabot rebase

Bumps [org.springframework.cloud:spring-cloud-dependencies](https://github.com/spring-cloud/spring-cloud-release) from 2022.0.4 to 2025.0.0.
- [Release notes](https://github.com/spring-cloud/spring-cloud-release/releases)
- [Commits](spring-cloud/spring-cloud-release@v2022.0.4...v2025.0.0)

---
updated-dependencies:
- dependency-name: org.springframework.cloud:spring-cloud-dependencies
  dependency-version: 2025.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/maven/java/org.springframework.cloud-spring-cloud-dependencies-2025.0.0 branch from df0198d to af7d93a Compare August 13, 2025 10:56
@RichardSlater
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the Spring Cloud dependencies from version 2022.0.4 to 2025.0.0, representing a major version bump that introduces significant breaking changes including module renames, property prefix changes, and security-related configuration updates.

  • Updates Spring Cloud dependencies version property from 2022.0.4 to 2025.0.0
  • Introduces breaking changes requiring migration of deprecated artifacts and property prefixes
  • Implements security changes that disable X-Forwarded-* headers by default

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

<aspectjweaver.version>1.9.9.1</aspectjweaver.version>
<exec-maven-plugin.version>3.5.1</exec-maven-plugin.version>
<spring.cloud.dependencies.version>2022.0.4</spring.cloud.dependencies.version>
<spring.cloud.dependencies.version>2025.0.0</spring.cloud.dependencies.version>
Copy link

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This major version upgrade from 2022.0.4 to 2025.0.0 introduces breaking changes that require code updates. The Spring Cloud Gateway modules have been renamed (e.g., spring-cloud-starter-gateway-server → spring-cloud-starter-gateway-server-webflux), property prefixes have changed (e.g., spring.cloud.gateway.* → spring.cloud.gateway.server.webflux.), and X-Forwarded- headers are now disabled by default. Ensure that all affected modules, configurations, and property files are updated accordingly.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RichardSlater Double check but we might actually use some of the forwarded headers due to how nginx --> spring happens

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RichardSlater nginx.ingress.kubernetes.io/x-forwarded-prefix: "${k8s_app_path}" in /deploy/k8s/app/base_api-deploy.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants