From 271067c99ce4c7def5caf1d34ebd78500723a173 Mon Sep 17 00:00:00 2001 From: "polly-updater-bot[bot]" <138034000+polly-updater-bot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 21:39:09 +0000 Subject: [PATCH] Update CHANGELOG (#2379) Update CHANGELOG and samples for v8.5.0. Co-authored-by: polly-updater-bot[bot] <138034000+polly-updater-bot[bot]@users.noreply.github.com> --- CHANGELOG.md | 21 +++++++++++++++++++++ Directory.Packages.props | 2 +- src/Polly.Core/PublicAPI.Shipped.txt | 6 ++++++ src/Polly.Core/PublicAPI.Unshipped.txt | 6 ------ 4 files changed, 28 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1ecdb3aefc..1ad4f0d73db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,27 @@ +## 8.5.0 + +* Clean the Polly.Utils.ObjectPool class by [@gabidabet](https://github.com/gabidabet) in https://github.com/App-vNext/Polly/pull/2312 +* Fix issue #2288 by [@gabidabet](https://github.com/gabidabet) in https://github.com/App-vNext/Polly/pull/2313 +* Remove CA2211 NoWarn by [@gabidabet](https://github.com/gabidabet) in https://github.com/App-vNext/Polly/pull/2316 +* Remove CA1816 NoWarn by [@gabidabet](https://github.com/gabidabet) in https://github.com/App-vNext/Polly/pull/2317 +* Update signing workflow by [@martincostello](https://github.com/martincostello) in https://github.com/App-vNext/Polly/pull/2323 +* Fix hedging failing test by [@peter-csala](https://github.com/peter-csala) in https://github.com/App-vNext/Polly/pull/2321 +* Fix S2184, S2104 in Polly.Spec by [@ShawnWu33](https://github.com/ShawnWu33) in https://github.com/App-vNext/Polly/pull/2328 +* Add `RetryAfter` to `BrokenCircuitException`. by [@DL444](https://github.com/DL444) in https://github.com/App-vNext/Polly/pull/2324 +* Supress S4039, CA1010 in Context.Dictionary by [@ShawnWu33](https://github.com/ShawnWu33) in https://github.com/App-vNext/Polly/pull/2329 +* Seperate mutation tests by [@ShawnWu33](https://github.com/ShawnWu33) in https://github.com/App-vNext/Polly/pull/2331 +* Add chained rate limiter example by [@martincostello](https://github.com/martincostello) in https://github.com/App-vNext/Polly/pull/2344 +* Update cake tools by [@martincostello](https://github.com/martincostello) in https://github.com/App-vNext/Polly/pull/2293 +* Update Microsoft.Extensions.Caching.Memory by [@peter-csala](https://github.com/peter-csala) in https://github.com/App-vNext/Polly/pull/2347 +* Add TelemetrySource to ExecutionRejectedException by [@peter-csala](https://github.com/peter-csala) in https://github.com/App-vNext/Polly/pull/2346 +* Document TelemetrySource property of the ExecutionRejectedException by [@peter-csala](https://github.com/peter-csala) in https://github.com/App-vNext/Polly/pull/2355 +* Extend snippet explanation by [@martincostello](https://github.com/martincostello) in https://github.com/App-vNext/Polly/pull/2373 +* Update to .NET 9 SDK by [@martincostello](https://github.com/martincostello) in https://github.com/App-vNext/Polly/pull/2003 +* Use `[DebuggerDisableUserUnhandledExceptions]` by [@martincostello](https://github.com/martincostello) in https://github.com/App-vNext/Polly/pull/2003 + ## 8.4.2 * Update sponsors by [@martincostello](https://github.com/martincostello) in https://github.com/App-vNext/Polly/pull/2169 diff --git a/Directory.Packages.props b/Directory.Packages.props index 0a4e06d16fa..33e6edafe89 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,7 +1,7 @@ true - 8.4.2 + 8.5.0 8.0.0 diff --git a/src/Polly.Core/PublicAPI.Shipped.txt b/src/Polly.Core/PublicAPI.Shipped.txt index 0815ba16d14..27c11f4f213 100644 --- a/src/Polly.Core/PublicAPI.Shipped.txt +++ b/src/Polly.Core/PublicAPI.Shipped.txt @@ -23,6 +23,10 @@ Polly.CircuitBreaker.BrokenCircuitException Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException() -> void Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(string! message) -> void Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(string! message, System.Exception! inner) -> void +Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(string! message, System.TimeSpan retryAfter) -> void +Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(string! message, System.TimeSpan retryAfter, System.Exception! inner) -> void +Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(System.TimeSpan retryAfter) -> void +Polly.CircuitBreaker.BrokenCircuitException.RetryAfter.get -> System.TimeSpan? Polly.CircuitBreaker.CircuitBreakerManualControl Polly.CircuitBreaker.CircuitBreakerManualControl.CircuitBreakerManualControl() -> void Polly.CircuitBreaker.CircuitBreakerManualControl.CircuitBreakerManualControl(bool isIsolated) -> void @@ -469,6 +473,7 @@ Polly.Telemetry.ResilienceEventSeverity.Warning = 3 -> Polly.Telemetry.Resilienc Polly.Telemetry.ResilienceStrategyTelemetry Polly.Telemetry.ResilienceStrategyTelemetry.Report(Polly.Telemetry.ResilienceEvent resilienceEvent, Polly.ResilienceContext! context, Polly.Outcome outcome, TArgs args) -> void Polly.Telemetry.ResilienceStrategyTelemetry.Report(Polly.Telemetry.ResilienceEvent resilienceEvent, Polly.ResilienceContext! context, TArgs args) -> void +Polly.Telemetry.ResilienceStrategyTelemetry.SetTelemetrySource(Polly.ExecutionRejectedException! exception) -> void Polly.Telemetry.ResilienceTelemetrySource Polly.Telemetry.ResilienceTelemetrySource.PipelineInstanceName.get -> string? Polly.Telemetry.ResilienceTelemetrySource.PipelineName.get -> string? @@ -550,5 +555,6 @@ static Polly.TimeoutResiliencePipelineBuilderExtensions.AddTimeout(thi static Polly.TimeoutResiliencePipelineBuilderExtensions.AddTimeout(this TBuilder! builder, System.TimeSpan timeout) -> TBuilder! static readonly Polly.ResiliencePipeline.Empty -> Polly.ResiliencePipeline! static readonly Polly.ResiliencePipeline.Empty -> Polly.ResiliencePipeline! +virtual Polly.ExecutionRejectedException.TelemetrySource.get -> Polly.Telemetry.ResilienceTelemetrySource? virtual Polly.Registry.ResiliencePipelineProvider.GetPipeline(TKey key) -> Polly.ResiliencePipeline! virtual Polly.Registry.ResiliencePipelineProvider.GetPipeline(TKey key) -> Polly.ResiliencePipeline! diff --git a/src/Polly.Core/PublicAPI.Unshipped.txt b/src/Polly.Core/PublicAPI.Unshipped.txt index df1ac3ec332..ab058de62d4 100644 --- a/src/Polly.Core/PublicAPI.Unshipped.txt +++ b/src/Polly.Core/PublicAPI.Unshipped.txt @@ -1,7 +1 @@ #nullable enable -Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(string! message, System.TimeSpan retryAfter) -> void -Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(string! message, System.TimeSpan retryAfter, System.Exception! inner) -> void -Polly.CircuitBreaker.BrokenCircuitException.BrokenCircuitException(System.TimeSpan retryAfter) -> void -Polly.CircuitBreaker.BrokenCircuitException.RetryAfter.get -> System.TimeSpan? -virtual Polly.ExecutionRejectedException.TelemetrySource.get -> Polly.Telemetry.ResilienceTelemetrySource? -Polly.Telemetry.ResilienceStrategyTelemetry.SetTelemetrySource(Polly.ExecutionRejectedException! exception) -> void