Skip to content

Releases: justdmitry/RecurrentTasks

v4.0.0

23 Aug 16:04
v4.0.0
Compare
Choose a tag to compare
  • Breaking: IRunnable.Run changed from void Run(ITask currentTask) to void Run(ITask currentTask, CancellationToken cancellationToken). Long-running implementations may use this cancellationToken to check if Stop() was called on task.
  • Code coverage reports added (via codecov.io)

v3.2.0

07 Feb 22:16
v3.2.0
Compare
Choose a tag to compare
  • Projects converted to VS 2017 and *.csproj
  • Better logger name:
    • Old: RecurrentTasks.TaskRunner'1[[RecurrentTasks.Sample.SampleTask, RecurrentTasks.Sample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
    • New: RecurrentTasks.TaskRunner<RecurrentTasks.Sample.SampleTask>
  • NETStandard.Library (>= 1.6.0) is explicit dependency now (for netstandard1.3)

BeforeRun and AfterRunSuccess events

01 Nov 15:45
v3.1.0
Compare
Choose a tag to compare
  • New events added to ITask: BeforeRun, AfterRunSuccess (AfterRunFail already exist)
  • Tests optimized, now takes only 12 seconds

Easier to write and test

31 Oct 14:35
v3.0.0
Compare
Choose a tag to compare

Previous version was not friendly to unit-testing, this changed v3!

In v3, your task should not inherit from specific class - just implement IRunnable interface (with one Run method)!

Also, all services/options you need - accept them in class constructor (and don't forget to register in DI). Your task class now resolved from DI container on every run, and all dependencies are injected by DI infrastructure.

You will find your new tasks are much easier to unit-test.

v2.4.1: net451 and net46 are back

18 Jul 20:32
v2.4.1
Compare
Choose a tag to compare

Target framework monikers net451 and net46 are back.

v2.4.0: ITask.AfterRunFail

15 Jul 20:59
v2.4.0
Compare
Choose a tag to compare

Event AfterRunFail added to base ITask interface.

v2.3.0: Upgrade to RTM

28 Jun 10:56
v2.3.0
Compare
Choose a tag to compare

Dependencies upgraded to 1.0.0 RTM versions

v2.2.0

24 May 16:02
v2.2.0
Compare
Choose a tag to compare
  • New event added: AfterRunFail with Exception info

v2.1.0: Upgrade to RC2

17 May 11:46
v2.1.0
Compare
Choose a tag to compare
  1. Target framework changed to netstandard1.3 (System.Threading v4.0.11 is new dependency)
  2. Other dependencies upgraded to RC2

v2.0.0: Breaking changes in naming

06 Apr 10:48
v2.0.0
Compare
Choose a tag to compare
  1. Breaking changes in naming:
    • TaskStatus enum become TaskRunStatus
    • ITask.Status become ITask.RunStatus
  2. New TaskBase virtual methods: OnBeforeRun, OnAfterRunSuccess, OnAfterRunFail
  3. Sample project added