From 269791269d60324163b2dfd0db898f26aa67d505 Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Tue, 14 Nov 2023 18:49:45 +0000 Subject: [PATCH] Bump version to 8.3.0 (#1798) - Bump version to 8.3.0. - Update Public API baselines. Resolves #1790. --- Directory.Packages.props | 2 +- eng/Common.targets | 4 ++-- eng/Library.targets | 3 +-- src/Polly.Core/PublicAPI.Shipped.txt | 11 +++++++++++ src/Polly.Core/PublicAPI.Unshipped.txt | 11 ----------- 5 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index fb622139459..da8098aabe0 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -2,7 +2,7 @@ 8.0.0 true - 8.1.0 + 8.2.0 diff --git a/eng/Common.targets b/eng/Common.targets index 5cdcf204bf7..6e722118dcd 100644 --- a/eng/Common.targets +++ b/eng/Common.targets @@ -19,12 +19,12 @@ - 8.2 + 8.3 - $([MSBuild]::ValueOrDefault('$(MinVerMajor)', '8')).$([MSBuild]::ValueOrDefault('$(MinVerMinor)', '2')).$([MSBuild]::ValueOrDefault('$(MinVerPatch)', '0')).$(GITHUB_RUN_NUMBER) + $([MSBuild]::ValueOrDefault('$(MinVerMajor)', '8')).$([MSBuild]::ValueOrDefault('$(MinVerMinor)', '3')).$([MSBuild]::ValueOrDefault('$(MinVerPatch)', '0')).$(GITHUB_RUN_NUMBER) $(MinVerMajor).$(MinVerMinor).$(MinVerPatch)-pr.$(GITHUB_REF_NAME.Replace(`/merge`, ``)).$(GITHUB_RUN_NUMBER) diff --git a/eng/Library.targets b/eng/Library.targets index b09e5c2a93a..044a2f7da52 100644 --- a/eng/Library.targets +++ b/eng/Library.targets @@ -14,8 +14,7 @@ true - - 8.1.0 + 8.2.0 diff --git a/src/Polly.Core/PublicAPI.Shipped.txt b/src/Polly.Core/PublicAPI.Shipped.txt index e6d74daa18b..0d8091bce4b 100644 --- a/src/Polly.Core/PublicAPI.Shipped.txt +++ b/src/Polly.Core/PublicAPI.Shipped.txt @@ -11,6 +11,12 @@ override Polly.Registry.ResiliencePipelineRegistry.TryGetPipeline(TKey key override Polly.Registry.ResiliencePipelineRegistry.TryGetPipeline(TKey key, out Polly.ResiliencePipeline? pipeline) -> bool override Polly.ResiliencePropertyKey.ToString() -> string! override Polly.Telemetry.ResilienceEvent.ToString() -> string! +Polly.CircuitBreaker.BreakDurationGeneratorArguments +Polly.CircuitBreaker.BreakDurationGeneratorArguments.BreakDurationGeneratorArguments() -> void +Polly.CircuitBreaker.BreakDurationGeneratorArguments.BreakDurationGeneratorArguments(double failureRate, int failureCount, Polly.ResilienceContext! context) -> void +Polly.CircuitBreaker.BreakDurationGeneratorArguments.Context.get -> Polly.ResilienceContext! +Polly.CircuitBreaker.BreakDurationGeneratorArguments.FailureCount.get -> int +Polly.CircuitBreaker.BreakDurationGeneratorArguments.FailureRate.get -> double Polly.CircuitBreaker.BrokenCircuitException Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException() -> void Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(string! message) -> void @@ -33,6 +39,8 @@ Polly.CircuitBreaker.CircuitBreakerStrategyOptions.CircuitBreakerStrategyOptions Polly.CircuitBreaker.CircuitBreakerStrategyOptions Polly.CircuitBreaker.CircuitBreakerStrategyOptions.BreakDuration.get -> System.TimeSpan Polly.CircuitBreaker.CircuitBreakerStrategyOptions.BreakDuration.set -> void +Polly.CircuitBreaker.CircuitBreakerStrategyOptions.BreakDurationGenerator.get -> System.Func>? +Polly.CircuitBreaker.CircuitBreakerStrategyOptions.BreakDurationGenerator.set -> void Polly.CircuitBreaker.CircuitBreakerStrategyOptions.CircuitBreakerStrategyOptions() -> void Polly.CircuitBreaker.CircuitBreakerStrategyOptions.FailureRatio.get -> double Polly.CircuitBreaker.CircuitBreakerStrategyOptions.FailureRatio.set -> void @@ -263,6 +271,8 @@ Polly.ResiliencePipelineBuilderBase.Name.get -> string? Polly.ResiliencePipelineBuilderBase.Name.set -> void Polly.ResiliencePipelineBuilderBase.TelemetryListener.get -> Polly.Telemetry.TelemetryListener? Polly.ResiliencePipelineBuilderBase.TelemetryListener.set -> void +Polly.ResiliencePipelineBuilderBase.TimeProvider.get -> System.TimeProvider? +Polly.ResiliencePipelineBuilderBase.TimeProvider.set -> void Polly.ResiliencePipelineBuilderExtensions Polly.ResilienceProperties Polly.ResilienceProperties.GetValue(Polly.ResiliencePropertyKey key, TValue defaultValue) -> TValue @@ -326,6 +336,7 @@ Polly.Retry.RetryStrategyOptions.UseJitter.set -> void Polly.RetryResiliencePipelineBuilderExtensions Polly.StrategyBuilderContext Polly.StrategyBuilderContext.Telemetry.get -> Polly.Telemetry.ResilienceStrategyTelemetry! +Polly.StrategyBuilderContext.TimeProvider.get -> System.TimeProvider! Polly.Telemetry.ExecutionAttemptArguments Polly.Telemetry.ExecutionAttemptArguments.AttemptNumber.get -> int Polly.Telemetry.ExecutionAttemptArguments.Duration.get -> System.TimeSpan diff --git a/src/Polly.Core/PublicAPI.Unshipped.txt b/src/Polly.Core/PublicAPI.Unshipped.txt index 4045c01b593..ab058de62d4 100644 --- a/src/Polly.Core/PublicAPI.Unshipped.txt +++ b/src/Polly.Core/PublicAPI.Unshipped.txt @@ -1,12 +1 @@ #nullable enable -Polly.CircuitBreaker.BreakDurationGeneratorArguments -Polly.CircuitBreaker.BreakDurationGeneratorArguments.BreakDurationGeneratorArguments() -> void -Polly.CircuitBreaker.BreakDurationGeneratorArguments.BreakDurationGeneratorArguments(double failureRate, int failureCount, Polly.ResilienceContext! context) -> void -Polly.CircuitBreaker.BreakDurationGeneratorArguments.Context.get -> Polly.ResilienceContext! -Polly.CircuitBreaker.BreakDurationGeneratorArguments.FailureCount.get -> int -Polly.CircuitBreaker.BreakDurationGeneratorArguments.FailureRate.get -> double -Polly.CircuitBreaker.CircuitBreakerStrategyOptions.BreakDurationGenerator.get -> System.Func>? -Polly.CircuitBreaker.CircuitBreakerStrategyOptions.BreakDurationGenerator.set -> void -Polly.ResiliencePipelineBuilderBase.TimeProvider.get -> System.TimeProvider? -Polly.ResiliencePipelineBuilderBase.TimeProvider.set -> void -Polly.StrategyBuilderContext.TimeProvider.get -> System.TimeProvider!