- This release is compatible with Spring Boot 4.0.0-4.1.0. (Note: 4.1.x (x>0) should be supported, but they aren't tested with this release.)
- This release is compatible with Spring Cloud 2025.1.0-2025.1.2. (Note: 2025.1.2 (x>2) should be supported, but they aren't tested with this release.)
Spring Cloud Azure Dependencies (BOM)
Dependency Updates
- Upgrade
azure-sdk-bomto 1.3.8.
Spring Cloud Azure Autoconfigure
This section includes changes in spring-cloud-azure-autoconfigure module.
Features Added
- Added
AzureServiceBusJmsConnectionFactoryFactoryto allow applications to customize howServiceBusJmsConnectionFactoryinstances are created, including support for custom subclasses (#49676). - Added support for constructing
AadB2cAuthorizationRequestResolverwith a customauthorizationRequestBaseUri, aligning Azure AD B2C authorization request resolution with the configurability already available for AAD. (#49674)
Breaking Changes
Bugs Fixed
- Fixed the AAD authentication filter (
AadAuthenticationFilterandAadAppRoleStatelessAuthenticationFilter) not validating thetid(tenant ID) claim in JWT tokens against the configured tenant, allowing tokens from other tenants to be accepted. The JWT token validator now validates that the token'stidclaim matches the configured tenant ID, preventing cross-tenant authentication bypass. This hardening is only enforced when a specific tenant ID is configured. (#49631) - Fixed the AAD and B2C OpenID Connect login (
oauth2Login) ID token decoders not validating theiss(issuer) andaud(audience) claims.AadOidcIdTokenDecoderFactoryandAadB2cOidcIdTokenDecoderFactorynow validate the standard OIDC ID token claims (audience, expiry, issued-at and subject) and the issuer. For single tenant applications the issuer must belong to the configured tenant, and for multi-tenant applications (thecommon,organizationsorconsumersendpoints) the issuer must be a trusted Microsoft identity platform issuer consistent with the token's owntidclaim. This prevents users from unauthorized tenants from signing in to multi-tenant applications that rely on the issuer/tenant claim for tenant restriction (#49423). - Fixed the missing bean name in
@ConditionalOnMissingBeanforLettuceClientConfigurationBuilderCustomizer(#49290). - Fixed the AAD and B2C resource server JWT decoder not honoring the
spring.cloud.azure.active-directory.jwt-connect-timeout,spring.cloud.azure.active-directory.jwt-read-timeout,spring.cloud.azure.active-directory.b2c.jwt-connect-timeout, andspring.cloud.azure.active-directory.b2c.jwt-read-timeoutconfiguration properties (#49329). - Fixed AAD resource server JWK retrieval not honoring the
spring.cloud.azure.active-directory.jwk-set-cache-lifespanandspring.cloud.azure.active-directory.jwk-set-cache-refresh-timeconfiguration properties (#42159).
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Cloud Azure Service
This section includes changes in spring-cloud-azure-service module.
Bugs Fixed
- Fixed the Service Bus producer, consumer and processor sub-client builders overwriting configuration already set on the underlying
ServiceBusClientBuilderthrough anAzureServiceClientBuilderCustomizer<ServiceBusClientBuilder>(for example theClientOptionscarryingTracingOptions). The customizers are now applied to the underlying builder as the last step, so their configuration is preserved (#49742).
Spring Messaging Azure
This section includes changes in spring-messaging-azure module.
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Messaging Azure Event Hubs
This section includes changes in spring-messaging-azure-eventhubs module.
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Messaging Azure Service Bus
This section includes changes in spring-messaging-azure-servicebus module.
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Messaging Azure Storage Queue
This section includes changes in spring-messaging-azure-storage-queue module.
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Cloud Azure App Configuration Config
This section includes changes in spring-cloud-azure-appconfiguration-config module.
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Cloud Azure App Configuration Config Web
This section includes changes in spring-cloud-azure-appconfiguration-config-web module.
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Cloud Azure Feature Management
This section includes changes in spring-cloud-azure-feature-management module.
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Cloud Azure Actuator Autoconfigure
This section includes changes in spring-cloud-azure-actuator-autoconfigure module.
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Cloud Azure Docker Compose
This section includes changes in spring-cloud-azure-docker-compose module.
Other Changes
- Upgrade to Jackson 3 to align with Spring Boot 4 (#49538).
Spring Cloud Azure Stream Binder Service Bus
This section includes changes in spring-cloud-azure-stream-binder-servicebus module.
Bugs Fixed
- Fixed a regression where dead-letter reason and error description were not transmitted because a no-arg
deadLetter()call settled the message beforedeadLetter(options)was invoked (#41883).
Azure Spring Data Cosmos
This section includes changes in azure-spring-data-cosmos module.
Please refer to azure-spring-data-cosmos/CHANGELOG.md for more details.