Releases: App-vNext/Polly
Releases · App-vNext/Polly
8.5.2
What's Changed
- Fix build badges by @martincostello in #2445
- Fix Registry vs. Provider Migration doc typo by @jernejg in #2447
- Fix flaky test by @martincostello in #2457
- Use Shouldly in all test projects by @martincostello in #2458 and #2459
- Tidy up code in Polly.Specs by @martincostello in #2466 and #2467
- Fix for retry cancellation by @kmcclellan in #2456
New Contributors
Full Changelog: 8.5.1...8.5.2
8.5.1
What's Changed
- Synchronize access to
System.ComponentModel.DataAnnotations.Validator
by @kmcclellan in #2428
New Contributors
- @kmcclellan made their first contribution in #2428
Full Changelog: 8.5.0...8.5.1
8.5.0
What's Changed
- Clean the Polly.Utils.ObjectPool class by @gabidabet in #2312
- Fix issue #2288 by @gabidabet in #2313
- Remove CA2211 NoWarn by @gabidabet in #2316
- Remove CA1816 NoWarn by @gabidabet in #2317
- Update signing workflow by @martincostello in #2323
- Fix hedging failing test by @peter-csala in #2321
- Fix S2184, S2104 in Polly.Spec by @ShawnWu33 in #2328
- Add
RetryAfter
toBrokenCircuitException
. by @DL444 in #2324 - Supress S4039, CA1010 in Context.Dictionary by @ShawnWu33 in #2329
- Seperate mutation tests by @ShawnWu33 in #2331
- Add chained rate limiter example by @martincostello in #2344
- Update cake tools by @martincostello in #2293
- Update Microsoft.Extensions.Caching.Memory by @peter-csala in #2347
- Add TelemetrySource to ExecutionRejectedException by @peter-csala in #2346
- Document TelemetrySource property of the ExecutionRejectedException by @peter-csala in #2355
- Extend snippet explanation by @martincostello in #2373
- Update to .NET 9 SDK by @martincostello in #2003
- Use
[DebuggerDisableUserUnhandledExceptions]
by @martincostello in #2003
New Contributors
- @ShawnWu33 made their first contribution in #2328
- @DL444 made their first contribution in #2324
Full Changelog: 8.4.2...8.5.0
8.4.2
What's Changed
- Update sponsors by @martincostello in #2169
- Tweak sponsorship details by @martincostello in #2170
- Fix IDE0011 warning by @Zombach in #2171
- Fix SA1414 warning by @Zombach in #2172
- Fix SA1649 warning by @Zombach in #2173
- Fix CA1068 warning by @iamdmitrij in #2182
- Fix CA1033 warning by @Zombach in #2193
- Fix S4049 warning by @Zombach in #2195
- Fix S3878 warning by @Zombach in #2197
- Fix S103 warning by @Zombach in #2196
- Fix CA1032 warning by @Zombach in #2194
- Fix S3971 warning by @Zombach in #2203
- Fix S3246 warning by @Zombach in #2204
- Fix S4457 warning by @Zombach in #2202
- Fix warning CA1815 by @Zombach in #2211
- Fix warning CA1716 by @Zombach in #2212
- Fix warning CA1710 by @Zombach in #2213
- #nullable enable remove extra empty line by @Zombach in #2214
- Warning Suppression CA1062 by @Zombach in #2216
- Fix warning CA1062#ContextualTtl by @Zombach in #2217
- Fix warning CA1062#DefaultCacheKeyStrategy by @Zombach in #2218
- Fix warning CA1062#NoOpPolicy by @Zombach in #2219
- Fix warning CA1062#AsyncNoOpPolicy by @Zombach in #2220
- fix warning CA1805 by @Fanatic-off in #2221
- Fix warning CA1062#RateLimitPolicy by @Zombach in #2222
- Fix warning CA1062#RetryPolicy by @Zombach in #2224
- Fix warning CA1062#AsyncRetryPolicy by @Zombach in #2225
- Fix warning CA1062#AsyncRateLimitPolicy by @Zombach in #2223
- Specs is at the end of the test class by @Zombach in #2226
- Fix warning CA1062#TimeoutPolicy by @Zombach in #2227
- Fix warning CA1062#AsyncTimeoutPolicy by @Zombach in #2228
- Fix warning CA1062#IPolicyWrapExtension by @Zombach in #2229
- Fix warning CA1062#ISyncPolicyPolicyWrapExtensions by @Zombach in #2230
- Fix warning CA1062#FallbackPolicy by @Zombach in #2232
- Fix warning CA1062#AsyncFallbackPolicy by @Zombach in #2233
- Fix warning CA1062#AsyncCircuitBreakerPolicy by @Zombach in #2235
- Fix warning CA1062#AsyncBulkheadPolicy by @Zombach in #2237
- Fix warning CA1062#AsyncCachePolicy by @Zombach in #2239
- Fix warning CA1062#CachePolicy by @Zombach in #2238
- Fix warning CA1062#CacheTResultSyntax by @Zombach in #2241
- Fix warning CA1062#AsyncCacheTResultSyntax by @Zombach in #2243
- Fix warning CA1062#AsyncCacheSyntax by @Zombach in #2242
- Fix warning CA1062#IAsyncPolicyPolicyWrapExtensions by @Zombach in #2231
- Fix warning CA1062#BulkheadPolicy by @Zombach in #2236
- Fix warning CA1062#CacheSyntax by @Zombach in #2240
- Fix warning CA1062#CircuitBreakerPolicy by @Zombach in #2234
- Validate arguments of public methods by @Zombach in #2246
- Remove code analysis hack by @martincostello in #2245
- Remove build from CodeQL by @martincostello in #2249
- Fix 0162 warnings by @sukreshmanda in #2250
- Fix S3878 by @sukreshmanda in #2251
- Fix warnings for s6603 by @sukreshmanda in #2252
- Fix S4225 warnings of extension methods for object class by @sukreshmanda in #2253
- Fix Timeout's TimeoutGenerator documentation by @peter-csala in #2275
- Fix NuGet badges by @martincostello in #2279
- Put dotnet_diagnostic.CA1852.severity = warning into effect. Fix the resulting warnings by @Henr1k80 in #2289
- Suppress S3234 warnings by @martincostello in #2292
- Report last attempt as error if it would be handled by @peter-csala in #2291
- Fix ide0002 style rule by @gabidabet in #2302
- Update ResilienceProperties to correctly handle null values by @iliar-turdushev in #2300
- Fail if signing fails by @martincostello in #2304
- Downgrade sign tool by @martincostello in #2305
New Contributors
- @Zombach made their first contribution in #2171
- @Fanatic-off made their first contribution in #2221
- @sukreshmanda made their first contribution in #2250
- @Henr1k80 made their first contribution in #2289
- @gabidabet made their first contribution in #2302
- @iliar-turdushev made their first contribution in #2300
Full Changelog: 8.4.1...8.4.2
8.4.1
What's Changed
- Fix milestone closure by @martincostello in #2106
- Fix potential github action smells by @ceddy4395 in #2097
- Bump actionlint to 1.7.0 by @martincostello in #2107
- Drop net7.0 from test projects by @martincostello in #2108
- Fix S3872 warning by @iamdmitrij in #2111
- Fix IDE1006 warning by @iamdmitrij in #2112
- [Docs] Fix pollydocs menu by @peter-csala in #2136
- Issue comment automation by @martincostello in #2137
- Fix package validation by @martincostello in #2138
- Removing Warnings SA1108 and SA1118 from NoWarn list by @henriqueholtz in #2148
- Fix retry delay going negative for large retries with exponential delays by @martincostello in #2164
- Bump cake tools by @martincostello in #2165
- Handle nested inner exceptions by @martincostello in #2166
New Contributors
- @ceddy4395 made their first contribution in #2097
- @henriqueholtz made their first contribution in #2148
Full Changelog: 8.4.0...8.4.1
8.4.0
What's Changed
- Remove async void usage by @martincostello in #2013
- [Docs] Add cheat sheet for outcome chaos strategy by @peter-csala in #1984
- Fix SA1515/SA1612/S2681 by @baranyaimate in #2018
- Fix S3800/CA1821/S2955 by @baranyaimate in #2020
- Document outcome strategy anti-patterns by @vany0114 in #1994
- [Docs] Add cheat sheet for latency chaos by @peter-csala in #2030
- [Docs] Add cheat sheet for behavior chaos by @peter-csala in #2031
- Remove DiagnosticSource reference from Extensions for NET 6.0 and later by @lahma in #2033
- Bump actionlint to 1.6.27 by @martincostello in #2040
- Split docs build and publish by @martincostello in #2054
- Port fixes from .NET 9 testing by @martincostello in #2056
- Add sponsorship to README by @martincostello in #2059
- Add F# and VB.NET samples by @martincostello in #2046
- Fix ToC by @martincostello in #2063
- Allow adding a resilience strategy without explicit options by @martintmk in #2068
- [Docs] Unify strategy descriptions and add Telemetry sections by @peter-csala in #2060
- Add unit to execution time in telemetry events by @peter-csala in #2069
- Release automation by @martincostello in #2062
- [Docs] Add telemetry section to chaos strategies documentation pages by @peter-csala in #2071
- Fix CI for macOS 14 by @martincostello in #2079
- Fix SA1618 by documenting typeparams by @iamdmitrij in #2078
- Add package tools to manifest by @martincostello in #2084
- Fix IDE0011 warning by @iamdmitrij in #2085
- Fix S3253/S6605/SA1625/S103 warnings by @iamdmitrij in #2086
- Add CI timeouts by @martincostello in #2088
- Fix CA1000/S4023/S3442/S107/SA1402/SA1649 warnings by @iamdmitrij in #2089
- Fix SA1615/SA1623 warnings by @iamdmitrij in #2091
- Allow changing the severity of resilience events by @martintmk in #2072
- Fix typos by @martincostello in #2099
- [Bug] Fix chaos outcome exception handling by @peter-csala in #2101
- Nullability fixes for chaos outcome strategy by @martintmk in #1982
New Contributors
- @lahma made their first contribution in #2033
- @iamdmitrij made their first contribution in #2078
Full Changelog: 8.3.1...8.4.0
8.3.1
What's Changed
- Add example for chaos engineering by @martintmk in #1956
- Fix CA1806 by @gintsk in #1963
- Fix SA1129 by @gintsk in #1964
- Fix S3717 by @gintsk in #1965
- Add link to chaos engineering blog post by @martintmk in #1966
- Fix SA1501/IDE0055 by @baranyaimate in #1957
- [Docs] Add cheat sheet for fault chaos by @peter-csala in #1972
- Improve unit test coverage in
Polly.Specs
by @gintsk in #1974 - [Docs] Fix antipattern sample code by @peter-csala in #1976
- [Docs] Improve diagrams for hedging cancellation by @martintmk in #1975
- Add short description to each package by @martintmk in #1977
- Update NuGet tools by @martincostello in #1992
- Move simmy from unshipped to shipped by @peter-csala in #1993
- Fix issue #1979: an unhandled exception in half open state must transition to closed and not prevent leaving half open state forever by @DominicUllmann in #1991
- Update samples to .NET 8 by @martincostello in #2004
- [Docs] Fix calculation of exponential delay in flow chart by @janher in #2005
- Use collection expressions in Cake script by @martincostello in #2006
- Xml comments cleanup and improvement by @gintsk in #2007
- Xml documentation cleanup by @gintsk in #2008
New Contributors
- @DominicUllmann made their first contribution in #1991
- @janher made their first contribution in #2005
Full Changelog: 8.3.0...8.3.1
8.3.0
What's Changed
This release makes Simmy chaos engineering strategies part of the Polly.Core package. 🐵🚀
- Update CHANGELOG for 8.2.1 by @martincostello in #1882
- [Feature] Add support for keyed services by @martintmk in #1881
- Run benchmarks on .NET 8 by @martintmk in #1887
- Decrease the minimum allowed timeout by @martintmk in #1888
- Fix typo by @martincostello in #1897
- BreakDurationGeneratorArguments now includes half-open attempts by @martintmk in #1898
- Do not encourage returning the same instance from chaos strategies by @martintmk in #1899
- Do not encourage re-throwing the same exception instance by @martintmk in #1900
- Simmy docs by @vany0114 in #1883
- [Docs] Add banner to chaos docs by @peter-csala in #1910
- Introduce
FaultGenerator
andOutcomeGenerator<T>
by @martintmk in #1911 - Use new chaos APIs to simplify the usage examples by @martintmk in #1912
- Simmy API review Part 1 by @peter-csala in #1909
- Simmy API review Part 2 - Prefer Chaos over Monkey by @peter-csala in #1913
- Update docs and cleanup some chaos API by @martintmk in #1914
- Simmy API review Part 4 - Rename BehaviorAction to BehaviorGenerator by @peter-csala in #1917
- Simmy API review Part 3 - Set enabled to true by default by @peter-csala in #1916
- [Docs] Add clarification about property precedence by @peter-csala in #1918
- [Docs] Replace textual descriptions of next delay calculation with diagrams by @peter-csala in #1922
- [Docs] Apply chaos selectively by @martintmk in #1923
- Got rid of IDE0044 warnings by @baranyaimate in #1928
- [Doc] Integrating chaos pipeline by @martintmk in #1927
- Got rid of IDE0066, IDE0250, IDE0063 warnings by @baranyaimate in #1930
- Fix PipelineNameComparer example in documentation by @jwagon in #1931
- Chaos API review pass by @martintmk in #1934
- Fix S6608/IDE1006/SA1414/CA1508 warnings in Polly.Specs project by @baranyaimate in #1935
- Fix SA1602/S6608/S4144 warnings by @gintsk in #1936
- Fix SA1113/CA1200/SA1805/SA1629/SA1407/SA1127 warnings by @baranyaimate in #1938
- [Docs] Resources about chaos engineering by @martintmk in #1937
- Fix SA1111/SA1513/SA1121/SA1110 by @baranyaimate in #1939
- Fix SA1203/S109 by @baranyaimate in #1948
- Fix CA2000/stalled suppressions by @gintsk in #1947
- Tidy-up Polly.Specs by @martincostello in #1950
- Fix S4056 by @gintsk in #1952
- [Docs] Simmy major differences section by @martintmk in #1951
- Update CHANGELOG for 8.3.0 by @martincostello in #1954
New Contributors
- @baranyaimate made their first contribution in #1928
- @jwagon made their first contribution in #1931
- @gintsk made their first contribution in #1936
Full Changelog: 8.2.1...8.3.0
8.2.1
What's Changed
- Bump version to 8.2.1 by @martincostello in #1798
- Bump ReportGenerator from 5.1.26 to 5.2.0 by @dependabot in #1807
- Bump rojopolis/spellcheck-github-actions from 0.34.0 to 0.35.0 by @dependabot in #1804
- Bump github/codeql-action from 2.22.5 to 2.22.7 by @dependabot in #1805
- Publish AoT for test on macOS by @martincostello in #1800
- Remove SourceLink package by @martincostello in #1809
- Pre-allocate list size in tests by @martincostello in #1810
- Update tools by @martincostello in #1811
- Add NuGet package descriptions by @martincostello in #1813
- Bump docfx from 2.73.2 to 2.74.0 by @dependabot in #1817
- Bump cake.tool from 3.2.0 to 4.0.0 by @dependabot in #1816
- Bump actions/github-script from 7.0.0 to 7.0.1 by @dependabot in #1818
- Bump the xunit group with 2 updates by @dependabot in #1815
- Bump dotnet-stryker to 3.12.0 by @martincostello in #1822
- Bump github/codeql-action from 2.22.7 to 2.22.8 by @dependabot in #1824
- Add a test that demonstrates how to track the states of circuit breaker by @martintmk in #1829
- Bump actions/dependency-review-action from 3.1.3 to 3.1.4 by @dependabot in #1833
- Bump DavidAnson/markdownlint-cli2-action from 13.0.0 to 14.0.0 by @dependabot in #1832
- Bump docfx from 2.74.0 to 2.74.1 by @dependabot in #1834
- Bump actions/stale from 8.0.0 to 9.0.0 by @dependabot in #1844
- Bump github/codeql-action from 2.22.8 to 2.22.9 by @dependabot in #1843
- Bump actions/setup-dotnet from 3.2.0 to 4.0.0 by @dependabot in #1842
- Bump markdownsnippets.tool from 25.1.0 to 26.0.0 by @dependabot in #1845
- Update NuGet packages by @martincostello in #1849
- Fix BreakDurationGenerator not being used by @martincostello in #1852
- Bump github/codeql-action from 2.22.9 to 3.22.11 by @dependabot in #1858
- Bump actions/download-artifact from 3.0.2 to 4.0.0 by @dependabot in #1857
- Bump actions/upload-artifact from 3.1.3 to 4.0.0 by @dependabot in #1856
- Bump actions/download-artifact from 4.0.0 to 4.1.0 by @dependabot in #1865
- Bump martincostello/update-dotnet-sdk from 3.0.0 to 3.0.1 by @dependabot in #1864
- Fix retry overflow with max delay by @Chr15P13t in #1868
- Bump github/codeql-action from 3.22.11 to 3.22.12 by @dependabot in #1869
- Bump markdownsnippets.tool from 26.0.0 to 26.0.1 by @dependabot in #1871
- Bump xunit by @martincostello in #1873
- Fix stack trace growing for opened circuit breaker by @martintmk in #1878
- Run workflows on release branches by @martincostello in #1879
New Contributors
- @Chr15P13t made their first contribution in #1868
Full Changelog: 8.2.0...8.2.1
8.2.0
What's Changed
- Prepare for 8.2.0 release by @martincostello in #1758
- [Docs] Add circuit breaker to the migration guide by @peter-csala in #1764
- [Docs] Improve timeout docs by @martintmk in #1767
- [Docs] Minor cleanups by @peter-csala in #1768
- [Docs] Revise migration guide 3/3 by @peter-csala in #1775
- Calculated break duration for Circuit breaker by @atawLee in #1776
- Disable GitHub publishing by @martincostello in #1781
- [Docs] Small cleanup and improvements by @martintmk in #1782
- Add test that verifies overriding by using
ConfigureTelemetry
by @martintmk in #1787 - Remove GitHub Packages publishing by @martincostello in #1789
- Allow concurrent PR docs builds by @martincostello in #1795
- Update to .NET 8 SDK by @martincostello in #1738
- Add support for .NET 8 by @martintmk in #1144
New Contributors
Full Changelog: 8.1.0...8.2.0