diff --git a/CHANGELOG.md b/CHANGELOG.md index 533d18c9..6f1f2235 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.3.71 (03-09-2024): + +Added `LocalServiceDiscoveryIPv4` to `VostokEnvironmentVariables` + ## 0.3.70 (25-06-2024): Fixed `WithSigtermCancellation` to use `PosixSignalRegistration` for properly stop application on `SIGTERM` with .net 6. diff --git a/Vostok.Hosting/PublicAPI/net6.0/PublicAPI.Shipped.txt b/Vostok.Hosting/PublicAPI/net6.0/PublicAPI.Shipped.txt index 934ed2c8..2bbd13eb 100644 --- a/Vostok.Hosting/PublicAPI/net6.0/PublicAPI.Shipped.txt +++ b/Vostok.Hosting/PublicAPI/net6.0/PublicAPI.Shipped.txt @@ -33,6 +33,7 @@ const Vostok.Hosting.VostokEnvironmentVariables.IdentitySubproject = "VOSTOK_IDE const Vostok.Hosting.VostokEnvironmentVariables.LocalDatacenter = "VOSTOK_LOCAL_DATACENTER" -> string const Vostok.Hosting.VostokEnvironmentVariables.LocalFQDN = "VOSTOK_LOCAL_FQDN" -> string const Vostok.Hosting.VostokEnvironmentVariables.LocalHostname = "VOSTOK_LOCAL_HOSTNAME" -> string +const Vostok.Hosting.VostokEnvironmentVariables.LocalServiceDiscoveryIPv4 = "VOSTOK_LOCAL_SERVICE_DISCOVERY_IPV4" -> string override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.Equals(object obj) -> bool override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.GetHashCode() -> int override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.ToString() -> string diff --git a/Vostok.Hosting/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/Vostok.Hosting/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt index 128ce3ec..e4128418 100644 --- a/Vostok.Hosting/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt +++ b/Vostok.Hosting/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt @@ -33,6 +33,7 @@ const Vostok.Hosting.VostokEnvironmentVariables.IdentitySubproject = "VOSTOK_IDE const Vostok.Hosting.VostokEnvironmentVariables.LocalDatacenter = "VOSTOK_LOCAL_DATACENTER" -> string const Vostok.Hosting.VostokEnvironmentVariables.LocalFQDN = "VOSTOK_LOCAL_FQDN" -> string const Vostok.Hosting.VostokEnvironmentVariables.LocalHostname = "VOSTOK_LOCAL_HOSTNAME" -> string +const Vostok.Hosting.VostokEnvironmentVariables.LocalServiceDiscoveryIPv4 = "VOSTOK_LOCAL_SERVICE_DISCOVERY_IPV4" -> string override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.Equals(object obj) -> bool override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.GetHashCode() -> int override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.ToString() -> string diff --git a/Vostok.Hosting/Vostok.Hosting.csproj b/Vostok.Hosting/Vostok.Hosting.csproj index 46281fe5..ce2a48a7 100644 --- a/Vostok.Hosting/Vostok.Hosting.csproj +++ b/Vostok.Hosting/Vostok.Hosting.csproj @@ -6,7 +6,7 @@ Debug;Release - 0.3.70 + 0.3.71 Vostok.Hosting diff --git a/Vostok.Hosting/VostokEnvironmentVariables.cs b/Vostok.Hosting/VostokEnvironmentVariables.cs index ee44395e..6e40829e 100644 --- a/Vostok.Hosting/VostokEnvironmentVariables.cs +++ b/Vostok.Hosting/VostokEnvironmentVariables.cs @@ -15,6 +15,7 @@ public static class VostokEnvironmentVariables public const string LocalDatacenter = Datacenters.Datacenters.LocalDatacenterVariable; public const string LocalHostname = EnvironmentInfo.LocalHostnameVariable; public const string LocalFQDN = EnvironmentInfo.LocalFQDNVariable; + public const string LocalServiceDiscoveryIPv4 = EnvironmentInfo.LocalServiceDiscoveryIPv4Variable; public const string HostingType = "VOSTOK_HOSTING_TYPE"; }