Skip to content

Releases: justdmitry/RecurrentTasks

v7.2: decrease log span

22 Mar 16:08
v7.2.0

Choose a tag to compare

  • Added RunStatus.LastRunDuration
  • Reduced number of INFO log entries between runs to one

v7.1: add net10

13 Nov 10:32
v7.1.0

Choose a tag to compare

  • New TargetFramework added: net10.0

v7.0: net8.0 only, fully async

23 Apr 18:29
v7.0.0

Choose a tag to compare

  • New: TaskRunner does not create dedicated Task, instead it uses async/await (and ThreadPool), becoming more efficient;
  • BREAKING: All previous framework support is dropped, only net8.0 is supported now;
  • BREAKING: Start() now throws InvalidOperationException (instead of ArgumentOutOfRangeException) when Options.FirstRunDelay is negative;
  • Fix: RunStatus.LastRunTime now updated even after failed run;

v6.6: net8.0

28 Nov 07:02

Choose a tag to compare

  • New TargetFramework added: net8.0. No any code changes, only framework reference.
  • Unsupported framework net5.0 removed from target networks. Ping me if you still need it.

v6.5

21 Jan 08:06

Choose a tag to compare

  • #14 Use your own ILogger implementation (add using options.WithLogger in AddTask)
  • WithCulture extension to easily set TaskOptions.RunCulture in AddTask

v6.4.1: Bugfix

11 Aug 11:32
v6.4.1

Choose a tag to compare

Fixes bug reported in #12. Now setting values for Interval and FirstRunDelay greater than 24d 20H (int.MaxValue in milliseconds) will throw ArgumentOutOfRange exception.

v6.4: .NET 5.0

12 Nov 11:11
v6.4

Choose a tag to compare

Library and test/samples now build for 3 frameworks: netstandard2.0, netcoreapp3.1 and net5.0

v6.3: NetCore 3.1

16 Dec 10:18
v6.3.0

Choose a tag to compare

  • Framework moniker netcoreapp3.0 updated to netcoreapp3.1, now library supports netstandard2.0 and netcoreapp3.1
  • Dependencies reorganized: Microsoft.AspNetCore.Http.Abstractions replaced with Microsoft.Extensions.DependencyInjection.Abstractions

v6.2: Multi-framework, less dependencies

26 Nov 14:56
v6.2.0

Choose a tag to compare

  1. Microsoft.Extensions.Options dependency removed
  2. Library now built for both netstandard2.0 and netcoreapp3.0 framework monikers, with updated dependencies for last one.

v6.1: TRunnable can be an interface

12 Aug 17:45
v6.1.0

Choose a tag to compare

Now you can call AddTask on interface (inherited from IRunnable) and register it's implementation later manually. This may be useful when you have several versions of same task and need to choose correct one on startup depending on configuration.

services.AddTask<IFileProcessorTask>(o => o.AutoStart(TimeSpan.FromMinutes(1)));

switch (configuration["FileProcessingMode"])
{
  case "Network":
    services.AddTransient<IFileProcessorTask, NetworkFileProcessorTask>();
    break;
  default:
    services.AddTransient<IFileProcessorTask, LocalFileProcessorTask>();
    break;
}