Skip to content

Commit

Permalink
Bump PollyVersion from 8.0.0-alpha.4 to 8.0.0-alpha.5 (#1381)
Browse files Browse the repository at this point in the history
* Bump PollyVersion from 8.0.0-alpha.4 to 8.0.0-alpha.5

Bumps `PollyVersion` from 8.0.0-alpha.4 to 8.0.0-alpha.5.

Updates `Polly` from 8.0.0-alpha.4 to 8.0.0-alpha.5
- [Release notes](https://github.com/App-vNext/Polly/releases)
- [Changelog](https://github.com/App-vNext/Polly/blob/main/CHANGELOG.md)
- [Commits](8.0.0-alpha.4...8.0.0-alpha.5)

Updates `Polly.Core` from 8.0.0-alpha.4 to 8.0.0-alpha.5
- [Release notes](https://github.com/App-vNext/Polly/releases)
- [Changelog](https://github.com/App-vNext/Polly/blob/main/CHANGELOG.md)
- [Commits](8.0.0-alpha.4...8.0.0-alpha.5)

Updates `Polly.Extensions` from 8.0.0-alpha.4 to 8.0.0-alpha.5
- [Release notes](https://github.com/App-vNext/Polly/releases)
- [Changelog](https://github.com/App-vNext/Polly/blob/main/CHANGELOG.md)
- [Commits](8.0.0-alpha.4...8.0.0-alpha.5)

---
updated-dependencies:
- dependency-name: Polly
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Polly.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Polly.Extensions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adopt alpha.5

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Tomka <martintomka@microsoft.com>
  • Loading branch information
dependabot[bot] and martintmk committed Jul 3, 2023
1 parent a806318 commit 22df640
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<MicrosoftExtensionsVersion>7.0.0</MicrosoftExtensionsVersion>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<PollyVersion>8.0.0-alpha.4</PollyVersion>
<PollyVersion>8.0.0-alpha.5</PollyVersion>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="coverlet.msbuild" Version="6.0.0" />
Expand Down
5 changes: 4 additions & 1 deletion samples/Extensibility/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ public MyResilienceStrategy(ResilienceStrategyTelemetry telemetry, MyResilienceS
// ...

// You can then report important telemetry events
telemetry.Report("MyCustomEvent", context, new OnCustomEventArguments(context));
telemetry.Report(
new ResilienceEvent(ResilienceEventSeverity.Information, "MyCustomEvent"),
context,
new OnCustomEventArguments(context));

// Call the delegate if provided by the user
if (onCustomEvent is not null)
Expand Down

0 comments on commit 22df640

Please sign in to comment.