Skip to content

v0.2.4

Choose a tag to compare

@mercyblitz mercyblitz released this 31 Oct 11:30
· 7 commits to release since this release
fd1d5cd

What's Changed

Spring Cloud Discovery & Registry Enhancements

  • Added DiscoveryUtils utility class with methods to convert and extract instance maps between SimpleDiscoveryProperties and SimpleReactiveDiscoveryProperties, improving interoperability between blocking and reactive discovery mechanisms.
  • Updated SimpleServiceRegistry to support both SimpleDiscoveryProperties and SimpleReactiveDiscoveryProperties, allowing it to register services regardless of the discovery implementation.
  • Improved ReactiveDiscoveryClientAdapter to handle blocking and non-blocking threads safely when converting a Flux to a List, preventing potential runtime issues in reactive contexts.

Spring Cloud Auto-configuration & Constants

  • Enhanced ReactiveDiscoveryClientAutoConfiguration to support proper ordering with new Spring Cloud reactive discovery auto-configuration classes, and updated related constants in DiscoveryClientConstants.

Property and Conditional Annotation Improvements

  • Added new property constants for enabling/disabling Spring Cloud LoadBalancer and Util auto-configurations, and introduced the ConditionalOnUtilEnabled annotation for conditional bean registration based on the new property.
  • Simplified and clarified the ConditionalOnFeaturesEnabled annotation to always default to matchIfMissing = true and removed redundant code.

Service Instance Utility Improvements

  • Added a setProperties method to ServiceInstanceUtils for copying properties between service instances, and improved URI construction to handle default ports when not explicitly set.

Dependency Updates

  • Added spring-cloud-loadbalancer as an optional dependency in the project POM to support load balancing features.

Full Changelog: 0.2.3...0.2.4