Skip to content

Releases: smallrye/smallrye-stork

2.7.1

04 Nov 11:44
Compare
Choose a tag to compare
  • #963 Documentation: List of config properties is missing on many discovery and load balancing subpages
  • #962 Fail service registration if address is not provided
  • #961 Use user passed values instead of hardcoding
  • #959 Fix issue about empty consul instance host
  • #956 Add clarification about how composite service discovery works.
  • #945 Upgrade for avoid a potential for a denial of service
  • #940 Fix attributes path, include all deps in docs and some refactors

2.7.0

28 Aug 13:05
Compare
Choose a tag to compare

🔧 Dependency Upgrades

  • [#933] - Bump version.weld from 5.1.2.Final to 5.1.3.Final
  • [#932] - Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.8.0 to 3.10.0
  • [#931] - Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.3.1 to 3.5.0
  • [#930] - Bump org.apache.maven.plugins:maven-dependency-plugin from 3.7.1 to 3.8.0
  • [#929] - Bump org.eclipse.microprofile.rest.client:microprofile-rest-client-api from 2.0 to 4.0

⛮ Misc

  • [#934] - Update release process.
  • [#907] - Add a few logs for registrars
  • [#888] - Provide Service Registration feature in a standalone way

🚨 Breaking Changes

Change Justification
class TestServiceRegistrarProvider updated to class TestServiceRegistrarProvider New registrar API
class TestServiceRegistrarProvider updated to class TestServiceRegistrarProvider New registrar API

2.6.1

20 Aug 07:13
Compare
Choose a tag to compare

What's Changed

  • Update Kubernetes client to version 6.13.3

Full Changelog: 2.6.0...2.6.1

2.6.0

27 Feb 11:41
Compare
Choose a tag to compare

⛮ Misc

  • [#785] - Add specific unit test class for the StorkConfigUtils class
  • [#783] - Document how to use microprofile config dependency and an example
  • [#782] - Support Spring boot configuration

🚨 Breaking Changes

Change Justification
field microprofile.MicroProfileConfigProvider.LOAD_BALANCER has been removed Moved to stork-core io.smallrye.stork.utils.StorkConfigUtils.LOAD_BALANCER
field microprofile.MicroProfileConfigProvider.LOAD_BALANCER_EMBEDDED has been removed Moved to stork-core io.smallrye.stork.utils.StorkConfigUtils.LOAD_BALANCER_EMBEDDED
field microprofile.MicroProfileConfigProvider.SERVICE_DISCOVERY has been removed Moved to stork-core io.smallrye.stork.utils.StorkConfigUtils.SERVICE_DISCOVERY
field microprofile.MicroProfileConfigProvider.SERVICE_DISCOVERY_EMBEDDED has been removed Moved to stork-core io.smallrye.stork.utils.StorkConfigUtils.SERVICE_DISCOVERY_EMBEDDED
field microprofile.MicroProfileConfigProvider.SERVICE_REGISTRAR has been removed Moved to stork-core io.smallrye.stork.utils.StorkConfigUtils.SERVICE_REGISTRAR
field microprofile.MicroProfileConfigProvider.SERVICE_REGISTRAR_EMBEDDED has been removed Moved to stork-core io.smallrye.stork.utils.StorkConfigUtils.SERVICE_REGISTRAR_EMBEDDED

2.5.0

02 Jan 16:03
Compare
Choose a tag to compare

🔧 Dependency Upgrades

  • [#746] - Bump org.assertj:assertj-core from 3.24.2 to 3.25.0
  • [#744] - Bump version.slf4j from 2.0.9 to 2.0.10
  • [#743] - Bump com.fasterxml.jackson:jackson-bom from 2.16.0 to 2.16.1
  • [#742] - Bump io.smallrye.config:smallrye-config from 3.4.4 to 3.5.0

⛮ Misc

  • [#747] - Bump Vert.x to version 4.5.1

🚨 Breaking Changes

Change Justification
method void Service::<init>(String, LoadBalancer, ServiceDiscovery, ServiceRegistrar, boolean) updated to method void Service::<init>(String, String, String, observability.ObservationCollector, LoadBalancer, ServiceDiscovery, ServiceRegistrar<?>, boolean) Implementing observability

2.4.0

11 Oct 14:10
Compare
Choose a tag to compare

🫧 Enhancements

  • [#63] - Add a way to expose statistics to Metrics

🚨 Breaking Changes

Change Justification
method void Service::<init>(String, LoadBalancer, ServiceDiscovery, ServiceRegistrar, boolean) updated to method void Service::<init>(String, String, String, observability.ObservationCollector, LoadBalancer, ServiceDiscovery, ServiceRegistrar<?>, boolean) Implementing observability

2.3.2

26 Jul 06:38
Compare
Choose a tag to compare

🪲 Bug Fixes

  • [#626] - Code listings blank when viewing web docs

2.2.1

13 Jul 14:40
Compare
Choose a tag to compare

🪲 Bug Fixes

  • [#373] - Refresh-period not triggering any periodic discovery

2.3.1

12 Jul 10:18
Compare
Choose a tag to compare

🪲 Bug Fixes

  • [#373] - Refresh-period not triggering any periodic discovery

⛮ Misc

  • [#611] - Configure watcher with namespaces and align tests

2.3.0

28 Jun 10:59
Compare
Choose a tag to compare

🫧 Enhancements

  • [#549] - 🦈 add resolve-srv option 🦈
  • [#548] - Allow DNS SRV skip resolve

⛮ Misc

  • [#606] - Allow to start without any address configured in static-list service
  • [#575] - Allow scheme in URL

🚨 Breaking Changes

Change Justification
method Optional<String> ServiceInstance::getPath() has been introduced New method to handle API gateways
method void Service::<init>(String, LoadBalancer, ServiceDiscovery, boolean) updated to method void Service::<init>(String, LoadBalancer, ServiceDiscovery, ServiceRegistrar, boolean) Service Registrar is now part of the Service
method ConfigWithType ServiceConfig::serviceRegistrar() has been introduced Registrar included in the service configuration
method List<ServiceRegistrarConfig> .ConfigProvider::getRegistrarConfigs() has been removed Registrar configuration is now part of configs
parameter ServiceRegistrar<MetadataKeyType> internal.ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey>::createServiceRegistrar(===ServiceRegistrarConfig===, StorkInfrastructure) updated to parameter ServiceRegistrar<MetadataKeyType> internal.ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey>::createServiceRegistrar(===ConfigWithType===, StorkInfrastructure) Use the ConfigWithType more generic type for registrars.
method ServiceRegistrar<MetadataKeyType> internal.ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey>::createServiceRegistrar(ServiceRegistrarConfig, StorkInfrastructure) updated to method ServiceRegistrar<MetadataKeyType> internal.ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey>::createServiceRegistrar(ConfigWithType, String, StorkInfrastructure) Service name is not needed anymore. It is present at Service config level.
method void TestConfigProvider::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>) updated to method void TestConfigProvider::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, boolean) Registrars are now part of configs
method void TestConfigProvider::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>, boolean) updated to method void TestConfigProvider::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, Map<String, String>) Registrars are now part of configs
method void TestConfigProvider::addServiceRegistrarConfig(String, String, Map<String, String>) has been removed Registrars are now part of configs
method List<ServiceRegistrarConfig> TestConfigProvider::getRegistrarConfigs() has been removed Registrars are now part of configs
method void TestConfigProviderBean::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>) updated to method void TestConfigProviderBean::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, Map<String, String>) Registrars are now part of configs
method void TestConfigProviderBean::addServiceRegistrarConfig(String, String, Map<String, String>) has been removed Registrars are now part of configs
method List<ServiceRegistrarConfig> TestConfigProviderBean::getRegistrarConfigs() has been removed Registrars are now part of configs
method ServiceRegistrar<TestServiceRegistrarProvider.TestMetadata> TestServiceRegistrarProviderLoader::createServiceRegistrar(ServiceRegistrarConfig, StorkInfrastructure) updated to method ServiceRegistrar<TestServiceRegistrarProvider.TestMetadata> TestServiceRegistrarProviderLoader::createServiceRegistrar(ConfigWithType, String, StorkInfrastructure) Use the ConfigWithType more generic type for registrars and service name.
method ServiceDefinition ServiceDefinition::of(ConfigWithType, ConfigWithType) updated to method ServiceDefinition ServiceDefinition::of(ConfigWithType, ConfigWithType, ConfigWithType) Registrar included.
method Optional<String> ServiceInstance::getPath() has been introduced New method to handle API gateways
class EmptyServicesServiceDiscoveryProviderLoader updated to class EmptyServicesServiceDiscoveryProviderLoader the loaders are now also exposed as CDI beans
class TestLoadBalancer1ProviderLoader updated to class TestLoadBalancer1ProviderLoader the loaders are now also exposed as CDI beans
class TestLoadBalancer2ProviderLoader updated to class TestLoadBalancer2ProviderLoader the loaders are now also exposed as CDI beans
class TestServiceDiscovery1ProviderLoader updated to class TestServiceDiscovery1ProviderLoader the loaders are now also exposed as CDI beans
class TestServiceDiscovery2ProviderLoader updated to class TestServiceDiscovery2ProviderLoader the loaders are now also exposed as CDI beans
class TestServiceRegistrarProviderLoader updated to class TestServiceRegistrarProviderLoader The loaders are now also exposed as CDI beans
method void TestConfigProvider::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>) updated to method void TestConfigProvider::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, boolean) Registrars are now part of configs
method void TestConfigProvider::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>, boolean) updated to method void TestConfigProvider::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, Map<String, String>) Registrars are now part of configs
method void TestConfigProvider::addServiceRegistrarConfig(String, String, Map<String, String>) has been removed Registrar config is now part of service config.
method List<ServiceRegistrarConfig> TestConfigProvider::getRegistrarConfigs() has been removed Registrars are now part of configs
method void TestConfigProviderBean::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>) updated to method void TestConfigProviderBean::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, Map<String, String>) Registrars are now part of configs
method void TestConfigProviderBean::addServiceRegistrarConfig(String, String, Map<String, String>) has been removed Registrar config is now part of service config.
method List<ServiceRegistrarConfig> TestConfigProviderBean::getRegistrarConfigs() has been removed Registrar config is now part of service config.
method ServiceRegistrar<TestServiceRegistrarProvider.TestMetadata> TestServiceRegistrarProviderLoader::createServiceRegistrar(ServiceRegistrarConfig, StorkInfrastructure) updated to method ServiceRegistrar<TestServiceRegistrarProvider.TestMetadata> TestServiceRegistrarProviderLoader::createServiceRegistrar(ConfigWithType, String, StorkInfrastructure) Registrars are now part of service config.
method List<ServiceRegistrarConfig> microprofile.MicroProfileConfigProvider::getRegistrarConfigs() has been removed Registrar config is now part of the service config.