github Azure/azure-sdk-for-java spring-cloud-azure_7.1.0
Spring Cloud Azure 7.1.0

3 hours ago
  • This release is compatible with Spring Boot 4.0.0-4.0.3. (Note: 4.0.x (x>3) should be supported, but they aren't tested with this release.)
  • This release is compatible with Spring Cloud 2025.1.0. (Note: 2025.1.x (x>0) should be supported, but they aren't tested with this release.)

Spring Cloud Azure Dependencies (BOM)

Dependency Updates

  • Upgrade azure-sdk-bom to 1.3.5.

Spring Cloud Azure Autoconfigure

This section includes changes in spring-cloud-azure-autoconfigure module.

New Features

  • Add ConnectionDetails for ServiceBus. #44019.
  • Add ConnectionDetails for EventHubs. #47926.

Bugs Fixed

  • Fixed KeyVaultJcaProvider being registered as the highest-priority JCA security provider, which overrides standard JCA services (KeyManagerFactory.SunX509, Signature algorithms) and breaks mTLS with standard keystores (JKS, PKCS12). The provider is now added at the end of the provider list, allowing JCA's delayed provider selection to route KeyVaultPrivateKey signing operations to the KeyVault implementations without interfering with standard SSL/TLS operations. #48183

Breaking Changes

  • Change sender's default JmsConnectionFactory from ServiceBusJmsConnectionFactory to CachingConnectionFactory. #47923

The ConnectionFactory type is determined by the following configuration properties:

spring.jms.servicebus.pool.enabled spring.jms.cache.enabled Sender ConnectionFactory Listener Container ConnectionFactory
not set not set CachingConnectionFactory ServiceBusJmsConnectionFactory
not set true CachingConnectionFactory CachingConnectionFactory
not set false ServiceBusJmsConnectionFactory ServiceBusJmsConnectionFactory
true not set JmsPoolConnectionFactory JmsPoolConnectionFactory
true true CachingConnectionFactory CachingConnectionFactory
true false JmsPoolConnectionFactory JmsPoolConnectionFactory
false not set CachingConnectionFactory ServiceBusJmsConnectionFactory
false true CachingConnectionFactory CachingConnectionFactory
false false ServiceBusJmsConnectionFactory ServiceBusJmsConnectionFactory

Note: CachingConnectionFactory and JmsPoolConnectionFactory will be used only when they exist in classpath.

Spring Cloud Azure Docker Compose

This section includes changes in spring-cloud-azure-docker-compose module.

New Features

  • Add ServiceBusDockerComposeConnectionDetailsFactory. #44019.
  • Add EventHubsDockerComposeConnectionDetailsFactory. #47926.

Spring Cloud Azure Test Containers

This section includes changes in spring-cloud-azure-testcontainers module.

New Features

  • Add ServiceBusContainerConnectionDetailsFactory. #44019.
  • Add EventHubsContainerConnectionDetailsFactory. #47926.

Spring Cloud Azure Starter Monitor

This section includes changes in spring-cloud-azure-starter-monitor module.

Other Changes

  • Support spring-cloud-azure-starter-monitor in Spring Boot 4. #47624

Spring Messaging Azure Service Bus

This section includes changes in spring-messaging-azure-servicebus module.

Bugs Fixed

  • Fixed DefaultServiceBusNamespaceProcessorFactory not removing closed/disposed ServiceBusProcessorClient instances from its internal cache, causing subsequent createProcessor() calls to return stale, non-functional processors. #48030

Spring Cloud Azure Appconfiguration Config

This section includes changes in spring-cloud-azure-appconfiguration-config module.

Features Added

  • Added support for filtering configuration settings and feature flags by tags. Tags can be configured via spring.cloud.azure.appconfiguration.stores[0].selects[0].tags-filter for key-value settings and spring.cloud.azure.appconfiguration.stores[0].feature-flags.selects[0].tags-filter for feature flags. The value is a list of tag=value pairs (e.g., ["env=prod", "team=backend"]) combined with AND logic. #47985

Bugs Fixed

  • Fixed an issue where feature flag–based refresh did not work when load balancing was enabled with a single configuration store. Feature flag refresh now uses the same load-balanced client selection as configuration refresh, including the single-store scenario. #48121
  • Fixed YAML configuration binding for label-filter by adding standard no-arg getter methods to AppConfigurationKeyValueSelector and FeatureFlagKeyValueSelector, enabling proper type resolution by Spring Boot's @ConfigurationProperties binder. #47985

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.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.