Releases: tinglesoftware/dotnet-periodic-tasks
Releases · tinglesoftware/dotnet-periodic-tasks
1.5.2
What's Changed
- Bump the microsoft group across 1 directory with 2 updates by @dependabot in #124
- Bump the microsoft group with 5 updates by @dependabot in #127
- Bump Polly.Core from 8.4.1 to 8.4.2 by @dependabot in #126
- Bump DistributedLock.Core from 1.0.6 to 1.0.7 by @dependabot in #122
- Bump the event-bus group across 1 directory with 2 updates by @dependabot in #128
Full Changelog: 1.5.1...1.5.2
1.5.1
What's Changed
- Bump the event-bus group with 2 updates by @dependabot in #111
- Bump DistributedLock.Core from 1.0.6 to 1.0.7 by @dependabot in #112
- Bump Polly.Core from 8.4.0 to 8.4.1 by @dependabot in #113
- Bump the microsoft group with 2 updates by @dependabot in #114
- Bump the event-bus group with 2 updates by @dependabot in #115
- Bump gittools/actions from 1 to 2 by @dependabot in #116
- Update GitVersion and react to changes by @mburumaxwell in #117
- Added logo to NuGet packages by @mburumaxwell in #118
- Include README.md in NuGet packages by @mburumaxwell in #119
Full Changelog: 1.5.0...1.5.1
1.5.0
What's Changed
Full Changelog: 1.4.1...1.5.0
1.4.1
1.4.0
What's Changed
- #79: Migrate to resilience policies in Polly v8 with a new example for it. See official migration docs for more on Polly v8
Full Changelog: 1.3.0...1.4.0
1.3.0
What's Changed
- #65: Support for .NET 8
- #69: Support for trimming which is necessary for AOT'd and trimmable apps.
- #73: Share the logic for creating
IPeriodicTaskRunner<>
instances using registered task types. - #71, #70: Improve endpoints for aspnetcore by using typed results and removing route prefix. The endpoints will now show up in OpenAPI docs with minimal APIs support.
To register a prefix use a route group e.g.app.MapGroup("/my-prefix").MapPeriodicTasks()
- #72, #75: Added support for storing for attempts with a default no-op or in memory store. You can add your own store by implementing
IPeriodicTaskExecutionAttemptsStore
and registering it usingbuilder.UseAttemptStore<T>()
. - #74: Added sample for storing attempts in EntityFrameworkCore.
- #76: Add XML comments to DTOs hence expose them.
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
- #46: Use scoped service provider when executing with
IHost
. - #47: More flexibility when executing outside
IHostedService
.
throwOnError
andawaitExecution
can be passed to the runner when executing from outsideIHostedService
. This is useful for AspNetCore and one time runs such as inside Container App Jobs.
Full Changelog: 1.1.0...1.2.0
1.1.0
What's Changed
- #32: Use
AsyncPolicy
instead ofAsyncRetryPolicy
to execute tasks - #33: Expose constructor for PeriodicTaskExecutionContext to allow for easier testing
Full Changelog: 1.0.0...1.1.0