Martin Costello
520ee38ce6
Update to .NET 9 SDK ( #2003 )
...
- Build with the .NET 9 SDK.
- Add tests TFM for `net9.0`.
- Remove tests for `net6.0` TFM.
- Run workflows on PRs to `dotnet-vnext` branch.
- Only audit direct NuGet dependencies.
- Fix IDE0022 warning.
- Temporarily disable some tests that are failing in GitHub Actions.
- Add usage of `[DebuggerDisableUserUnhandledExceptions]` to avoid newer versions of the Visual Studio debugger for breaking for exceptions on async code paths we are intentionally handling.
- Bump version to 8.5.0.
2024-11-12 20:06:24 +00:00
martincostello
97204333dd
Drop net7.0 from test projects
...
Stop testing with `net7.0` as it is at the end of its support life.
2024-05-13 11:48:48 +01:00
martincostello
f4200984f4
Fix IDE0022 warnings
...
Fix new IDE0022 warnings from .NET SDK upgrade.
2024-02-14 14:17:33 +00:00
gintsk
e4cebcd709
Fix CA2000/redundant suppressions ( #1947 )
...
- Fix CA2000.
- Remove redundant suppressions.
2024-02-04 09:36:28 +00:00
Martin Costello
a2559b1ab7
Add support for .NET 8 ( #1144 )
...
- Add `net8.0` targets.
- Use .NET `TimeProvider` implementation.
- Use `FakeTimeProvider` for tests.
- Use new .NET 8 APIs where relevant.
Co-Authored-By: martintmk <103487740+martintmk@users.noreply.github.com>
2023-11-14 16:29:43 +00:00
Martin Costello
e404873ab2
Resolve AOT compilation issues ( #1737 )
...
- Fix #1732 using `RuntimeFeature.IsDynamicCodeSupported` to guard against the allocation regression that avoiding the infinite generic recursion causes through boxing.
- Add a console project that validates whether the new-in-v8 Polly assemblies are AoT compatible.
- Mark the new Polly v8 assemblies as AoT compatible.
- Add a micro-benchmark for `DelegatingComponent` code path for non-AoT and AoT.
2023-10-30 17:35:31 +00:00
martincostello
a0e30b0c20
Add CompositeComponent benchmark
...
Add a benchmark for `CompositeComponent` to aid with #1732 .
2023-10-28 19:11:52 +01:00
martincostello
63ec704c1c
[InternalsVisibleTo] for benchmarks
...
Allow `[InternalsVisibleTo]` for the Polly.Core benchmarks.
2023-10-28 19:11:52 +01:00
martintmk
5baee94a35
Finalize the API review ( #1528 )
...
* Finalize the API review
* kill mutant
* Grammar
2023-08-31 07:32:35 +02:00
martintmk
94db4929cc
API Review Feedback ( #1521 )
2023-08-29 09:39:34 +02:00
dependabot[bot]
525d13593e
Bump SonarAnalyzer.CSharp from 9.7.0.75501 to 9.8.0.76515 ( #1518 )
2023-08-25 07:54:15 +00:00
martintmk
60288c83ab
Drop OutcomeArguments struct ( #1513 )
2023-08-24 14:24:19 +00:00
martintmk
a61b343fe3
API Review Feedback ( #1506 )
2023-08-22 15:56:22 +00:00
martintmk
e5622c0867
Cleanup internals ( #1492 )
2023-08-16 08:49:21 +00:00
martintmk
d72ae6c500
Introduce TelemetryListener ( #1486 )
2023-08-15 08:34:20 +00:00
martintmk
76f181fb09
Rename ResilienceStrategy to ResiliencePipeline ( #1483 )
2023-08-14 10:24:03 +02:00
martintmk
3663510057
Introduce `NonReactiveResilienceStrategy` ( #1476 )
2023-08-10 16:12:42 +02:00
martintmk
9674b6b2fe
Drop the `Extensions` from `Polly.Extensions` namespace ( #1469 )
2023-08-09 08:20:34 +00:00
martintmk
e162c5752d
Improve `MultipleStrategiesBenchmark` ( #1457 )
2023-08-07 08:40:16 +00:00
martintmk
f8bea0597a
Rename `ResilienceStrategyBuilder` to `CompositeStrategyBuilder` ( #1448 )
2023-07-28 10:20:45 +02:00
martintmk
adb65f811c
Drop simple circuit breaker ( #1444 )
2023-07-28 06:15:36 +00:00
martintmk
707686bd76
Benchmark for strategy creation ( #1426 )
2023-07-24 09:31:54 +00:00
martintmk
b9ce232036
Rename ExecuteCoreAsync to ExecuteCore ( #1424 )
2023-07-24 06:55:10 +00:00
martintmk
7f6b8a4298
Introduce ResilienceContextPool (ApiReview) ( #1421 )
2023-07-21 12:22:34 +02:00
martintmk
02a194471d
API Review Feedback (1) ( #1420 )
2023-07-21 09:26:42 +02:00
martintmk
49f7e2df2e
Introduce ResilienceEventSeverity ( #1361 )
2023-06-27 13:21:43 +00:00
martincostello
049bd92161
Prepare for .NET 8
...
Backport various changes from #1144 :
- Simplify NuGet package version management.
- Simplify TimeProviderExtensions.
- Enable .NET analyzers.
- Remove `MockTimeProvider`.
- Minor code formatting clean-ups.
2023-06-27 10:37:11 +01:00
martintmk
18171df7c7
Sync TimeProvider and cleanup ( #1339 )
2023-06-22 11:24:55 +02:00
martintmk
12b66c293c
Allow implicit conversion of `PredicateBuilder` to delegates ( #1332 )
2023-06-21 14:40:06 +02:00
martintmk
73422d5d4e
Introduce Outcome ( #1331 )
2023-06-20 14:30:39 +00:00
martintmk
af39ebedff
Introduce OutcomeResilienceStrategy and drop some internals ( #1330 )
2023-06-20 10:46:10 +00:00
martintmk
91e5384b8a
API feedback ( #1327 )
2023-06-19 15:14:45 +00:00
martintmk
b73f4569b4
Reduce allocations in telemetry ( #1321 )
2023-06-19 11:26:11 +00:00
martintmk
ce97ea54d7
Alpha fixes and improvements ( #1319 )
2023-06-19 08:16:22 +00:00
martintmk
5c341d5d4b
Rename `TelemetryResilienceStrategyOptions` to `TelemetryOptions` ( #1318 )
2023-06-16 15:28:51 +00:00
martintmk
452482278a
Update telemetry benchmark ( #1311 )
2023-06-16 09:43:57 +00:00
martintmk
cd9c59e599
Reorganize the `src` folder ( #1289 )
2023-06-14 06:46:28 +00:00