v0.2.4
What's Changed
Spring Cloud Discovery & Registry Enhancements
- Added
DiscoveryUtilsutility class with methods to convert and extract instance maps betweenSimpleDiscoveryPropertiesandSimpleReactiveDiscoveryProperties, improving interoperability between blocking and reactive discovery mechanisms. - Updated
SimpleServiceRegistryto support bothSimpleDiscoveryPropertiesandSimpleReactiveDiscoveryProperties, allowing it to register services regardless of the discovery implementation. - Improved
ReactiveDiscoveryClientAdapterto handle blocking and non-blocking threads safely when converting aFluxto aList, preventing potential runtime issues in reactive contexts.
Spring Cloud Auto-configuration & Constants
- Enhanced
ReactiveDiscoveryClientAutoConfigurationto support proper ordering with new Spring Cloud reactive discovery auto-configuration classes, and updated related constants inDiscoveryClientConstants.
Property and Conditional Annotation Improvements
- Added new property constants for enabling/disabling Spring Cloud LoadBalancer and Util auto-configurations, and introduced the
ConditionalOnUtilEnabledannotation for conditional bean registration based on the new property. - Simplified and clarified the
ConditionalOnFeaturesEnabledannotation to always default tomatchIfMissing = trueand removed redundant code.
Service Instance Utility Improvements
- Added a
setPropertiesmethod toServiceInstanceUtilsfor copying properties between service instances, and improved URI construction to handle default ports when not explicitly set.
Dependency Updates
- Added
spring-cloud-loadbalanceras an optional dependency in the project POM to support load balancing features.
Full Changelog: 0.2.3...0.2.4