Skip to content

External dependencies upgrade - Spring Boot 4.0.4 and Spring Cloud 2025.1.0#48485

Open
Netyyyy wants to merge 4 commits intoAzure:mainfrom
Netyyyy:update-spring-dependencies
Open

External dependencies upgrade - Spring Boot 4.0.4 and Spring Cloud 2025.1.0#48485
Netyyyy wants to merge 4 commits intoAzure:mainfrom
Netyyyy:update-spring-dependencies

Conversation

@Netyyyy
Copy link
Member

@Netyyyy Netyyyy commented Mar 20, 2026

Updates external dependencies to align with Spring Boot version 4.0.4 from 4.0.3 and Spring Cloud version 2025.1.0 from 2025.1.0.

Release notes

Sourced from spring-boot releases.

This PR is created by GitHub Actions: https://github.com/Azure/spring-cloud-azure-tools/actions/runs/23322965858

@github-actions github-actions bot added the azure-spring All azure-spring related issues label Mar 20, 2026
@rujche rujche self-assigned this Mar 20, 2026
@rujche rujche moved this from Todo to In Progress in Spring Cloud Azure Mar 20, 2026
@rujche rujche added this to the 2026-04 milestone Mar 20, 2026
@rujche rujche marked this pull request as ready for review March 20, 2026 05:37
Copilot AI review requested due to automatic review settings March 20, 2026 05:37
@rujche
Copy link
Member

rujche commented Mar 20, 2026

/azp run java - spring - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

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 updates the Spring-related modules in the Azure SDK for Java to align their pinned external dependency versions with Spring Boot 4.0.4 (and related BOM-managed component bumps), plus a small Testcontainers test update.

Changes:

  • Bump Spring Boot artifact versions from 4.0.3 → 4.0.4 across Spring modules’ pom.xml files (and associated enforcer “bannedDependencies” pins).
  • Update related BOM-managed versions (e.g., Spring Framework 7.0.5 → 7.0.6, Spring Data 4.0.3 → 4.0.4, Micrometer 1.16.3 → 1.16.4, Reactor Test 3.8.3 → 3.8.4, Jackson 2.20.x → 2.21.x, Kafka clients 4.1.1 → 4.1.2, Maven Surefire/Failsafe 3.5.4 → 3.5.5, etc.).
  • Refresh the Spring Boot 4.0.4 managed dependency list file and the repo-wide external_dependencies.txt entries used for version tracking.

Reviewed changes

Copilot reviewed 42 out of 43 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sdk/spring/spring-messaging-azure/pom.xml Bumps Spring Framework/Data/Micrometer + Spring Boot test dependency pins to match Boot 4.0.4.
sdk/spring/spring-messaging-azure-storage-queue/pom.xml Updates spring-boot-starter-test to 4.0.4.
sdk/spring/spring-messaging-azure-servicebus/pom.xml Updates Spring TX/Data/Micrometer pins and enforcer includes to newer BOM-managed versions.
sdk/spring/spring-messaging-azure-eventhubs/pom.xml Updates Spring TX/Data/Test, Micrometer, Reactor Test versions and enforcer includes.
sdk/spring/spring-integration-azure-servicebus/pom.xml Updates spring-test to 7.0.6.
sdk/spring/spring-integration-azure-eventhubs/pom.xml Updates spring-test to 7.0.6.
sdk/spring/spring-integration-azure-core/pom.xml Updates Spring Integration Core and Spring Test pins (and enforcer includes).
sdk/spring/spring-cloud-azure-testcontainers/src/test/java/com/azure/spring/cloud/testcontainers/implementation/service/connection/bus/ServiceBusContainerConnectionDetailsFactoryTests.java Updates MSSQL Testcontainers import/type usage as part of dependency upgrade.
sdk/spring/spring-cloud-azure-testcontainers/pom.xml Updates Spring Boot testcontainers + Testcontainers Azure/JUnit Jupiter versions and enforcer includes.
sdk/spring/spring-cloud-azure-stream-binder-servicebus/pom.xml Updates Boot actuator/test pins and enforcer include for actuator.
sdk/spring/spring-cloud-azure-stream-binder-servicebus-core/pom.xml Updates Boot config processor/test and Spring Test pins; updates enforcer includes.
sdk/spring/spring-cloud-azure-stream-binder-eventhubs/pom.xml Updates Boot actuator/test pins and enforcer include for actuator.
sdk/spring/spring-cloud-azure-stream-binder-eventhubs-core/pom.xml Updates Boot config processor/test and Spring Test pins; updates enforcer includes.
sdk/spring/spring-cloud-azure-starter/pom.xml Updates spring-boot-starter to 4.0.4.
sdk/spring/spring-cloud-azure-starter-servicebus-jms/pom.xml Updates spring-boot-jms to 4.0.4.
sdk/spring/spring-cloud-azure-starter-monitor/pom.xml Updates Boot starter/test pins and enforcer include for Boot starter.
sdk/spring/spring-cloud-azure-starter-monitor-test/pom.xml Updates Spring Boot parent + test-related starters to 4.0.4.
sdk/spring/spring-cloud-azure-starter-jdbc-postgresql/pom.xml Updates spring-boot-jdbc to 4.0.4.
sdk/spring/spring-cloud-azure-starter-jdbc-mysql/pom.xml Updates spring-boot-jdbc to 4.0.4.
sdk/spring/spring-cloud-azure-starter-integration-storage-queue/pom.xml Updates spring-boot-starter-integration to 4.0.4.
sdk/spring/spring-cloud-azure-starter-integration-servicebus/pom.xml Updates spring-boot-starter-integration to 4.0.4.
sdk/spring/spring-cloud-azure-starter-integration-eventhubs/pom.xml Updates spring-boot-starter-integration to 4.0.4.
sdk/spring/spring-cloud-azure-starter-data-redis-lettuce/pom.xml Updates spring-boot-data-redis to 4.0.4.
sdk/spring/spring-cloud-azure-starter-actuator/pom.xml Updates spring-boot-starter-actuator to 4.0.4.
sdk/spring/spring-cloud-azure-starter-active-directory/pom.xml Updates Boot REST client/security/http-converter pins to 4.0.4.
sdk/spring/spring-cloud-azure-starter-active-directory-b2c/pom.xml Updates Boot REST client/security/oauth2/http-converter pins to 4.0.4.
sdk/spring/spring-cloud-azure-service/pom.xml Updates Kafka clients and Spring Test pins; updates enforcer include for Kafka clients.
sdk/spring/spring-cloud-azure-resourcemanager/pom.xml Updates spring-test to 7.0.6.
sdk/spring/spring-cloud-azure-integration-tests/pom.xml Updates Boot parent to 4.0.4 and Failsafe plugin to 3.5.5.
sdk/spring/spring-cloud-azure-integration-test-appconfiguration-config/pom.xml Updates Boot parent/test + Failsafe plugin versions.
sdk/spring/spring-cloud-azure-feature-management/pom.xml Updates Spring/Boot/Jackson/Reactor Netty pins and enforcer includes.
sdk/spring/spring-cloud-azure-feature-management-web/pom.xml Updates Spring Web/WebMVC + Boot test pins and enforcer includes.
sdk/spring/spring-cloud-azure-docker-compose/pom.xml Updates Boot docker-compose/test + Jackson + Spring Test pins and enforcer includes.
sdk/spring/spring-cloud-azure-core/pom.xml Updates Spring Context/Test pins and enforcer includes.
sdk/spring/spring-cloud-azure-autoconfigure/pom.xml Updates numerous Boot/Spring pins and enforcer includes to align with Boot 4.0.4.
sdk/spring/spring-cloud-azure-appconfiguration-config/pom.xml Updates Boot autoconfigure/processor/actuator/test + Jackson pins and enforcer includes.
sdk/spring/spring-cloud-azure-appconfiguration-config-web/pom.xml Updates Boot webmvc/actuator/test pins and enforcer includes.
sdk/spring/spring-cloud-azure-actuator/pom.xml Updates Boot actuator/health/test pins and enforcer includes.
sdk/spring/spring-cloud-azure-actuator-autoconfigure/pom.xml Updates Boot actuator-autoconfigure/test + Jackson pins and enforcer includes.
sdk/spring/scripts/spring_boot_4.0.4_managed_external_dependencies.txt Refreshes the managed external dependency snapshot for Spring Boot 4.0.4.
sdk/spring/azure-spring-data-cosmos/pom.xml Updates Spring/Boot/Jackson/Reactor + Surefire/Failsafe pins and enforcer includes.
sdk/spring/CHANGELOG.md Adds an “Unreleased” entry describing the dependency upgrade.
eng/versioning/external_dependencies.txt Updates the tracked Spring Boot 4 external dependency versions to match Boot 4.0.4-managed set.

@rujche
Copy link
Member

rujche commented Mar 20, 2026

/azp run java - spring - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rujche
Copy link
Member

rujche commented Mar 20, 2026

/azp run java - spring - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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

Labels

azure-spring All azure-spring related issues

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants