Skip to content

Releases: tinglesoftware/dotnet-periodic-tasks

1.5.1

16 Aug 07:57
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.0...1.5.1

1.5.0

06 Jun 16:43
ccd70d1
Compare
Choose a tag to compare

What's Changed

  • #109: AOT compatibility.
  • #110: Added instrumentation via System.Diagnostics.Activity.

Full Changelog: 1.4.1...1.5.0

1.4.1

06 May 09:30
b1bea3e
Compare
Choose a tag to compare

What's Changed

  • Update lots of dependencies with bug fixes.

Full Changelog: 1.4.0...1.4.1

1.4.0

12 Dec 06:24
493f332
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.0...1.4.0

1.3.0

23 Nov 06:32
f670635
Compare
Choose a tag to compare

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 using builder.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

27 Sep 02:41
ce203d8
Compare
Choose a tag to compare

What's Changed

  • #46: Use scoped service provider when executing with IHost.
  • #47: More flexibility when executing outside IHostedService.
    throwOnError and awaitExecution can be passed to the runner when executing from outside IHostedService. 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

05 Jun 11:24
Compare
Choose a tag to compare

What's Changed

  • #32: Use AsyncPolicy instead of AsyncRetryPolicy to execute tasks
  • #33: Expose constructor for PeriodicTaskExecutionContext to allow for easier testing

Full Changelog: 1.0.0...1.1.0