Hangfire.Pro 2.2.1

Batches and continuations for Hangfire.

No packages depend on Hangfire.Pro.

https://github.com/HangfireIO/Hangfire.Pro/releases

2.2.1

  • Fixed – Occasional timeout exceptions when attaching nested batch continuations.

2.2.0

  • Added – Separate target for .NET Standard 2.0 to reduce the number of dependencies.
  • Added – ContinueJobWith and ContinueBatchWith methods to replace AwaitXXX ones and match Hangfire 1.7.
  • Fixed – Avoid constant exception in some corner cases related to batch and job continuations.

2.1.2

  • Fixed – Leaks in the Set table when cancelling a batch that has continuations for its jobs.
  • Fixed – Continuation stuck in a non-initialized state, when parent batch of antecedent item is canceled.

2.1.1

  • Fixed – Possible race condition in the UseBatches method that may lead to the 'Batches are not initialized' exception.

2.1.0

  • Added – Full support for job and batch continuations in nested batches.
  • Fixed – Continuations now work properly, when antecedent job/batch and continuation have the same batch.

2.0.1

  • Fixed – Background job or batch may appear in different sets at the same time, preventing a batch from completion.

2.0.0

  • Added – .NET Core support via the netstandard1.3 target.
  • Added – Ability to change batch expiration time using the UseBatches method.
  • Added – Support for nested batches, whose completion is required for parent ones.
  • Added – Ability to add a batch continuation for job and job continuation for batch.
  • Added – Possibility to attach jobs and batches to an already existing batch.
  • Added – Support for lazy cancellation of a batch, without iterating through all the jobs.

1.4.10

  • Fixed – Throw an exception, when can't change the state of a continuation.
  • Fixed – Fix race condition that leads to forever waiting batch continuations.

1.4.9

  • Fixed – CreatedAt timestamps for statese now written just before serializing.
  • Fixed – Regression in 1.4.8, final state is now shown correctly in dashboard.

1.4.8

  • Fixed – Batches were hanging indefinitely in a started state, when using continuations for finished jobs.
  • Fixed – Batches are always created in a correct state, even if its jobs were already finished.
  • Fixed – "continuation" set key now correctly expiring, when parent batch already finished.
  • Fixed – Don't serialize immutable properties of a batch state.
  • Fixed – Add more descriptive messages for continuation state change reasons.
  • Fixed – Do not expire empty "pending" and "processing" sets on final state transitions.

1.4.6

  • Changed – Remove redundant distributed lock acquisition, when executing continuations.
  • Fixed – Increase batch lock timeouts when adding a batch continuation.
  • Fixed – Batches are now controlling expiration time of their background jobs.
  • Fixed – Increase batch filter's order value to disallow custom job filters to override job expiration time.

1.4.4

  • Fixed – Background jobs of a batch continuation may expire before the continuation fires.

1.4.3

  • Fixed – "Could not find type Hangfire.Batches.BatchAwaitingState" exception (full fix).

1.4.1

  • Fixed – "Could not find type Hangfire.Batches.BatchAwaitingState" exception (fixed partly).

1.4.0

  • Added – Ability to pass custom IJobFilterProvider for batched jobs.
  • Changed – Hangfire.Pro now requires Hangfire.Core 1.5.0.
  • Changed – Throw an exception when Configuration.UseBatches method wasn't called.
  • Changed – Several internal classed made internal, they were public by mistake.
  • Changed – Removed unnecessary distributed lock acquiring.
  • Fixed – BatchJobSupportAttribute is now apply state filter to prevent races related to filter order.

1.3.2

  • Fixed – Distributed lock TimeoutException with batches when using SQL Server.

1.3.1

  • Changed – Optimized BatchJobSupport attribute to use less commands in a transaction.
  • Fixed – Race condition when background jobs disappear from batch continuations.
  • Fixed – Parent batch URL for a continuation in the Batch Details page now works correctly.

.NET Framework 4.5

.NET Standard 1.3

.NET Standard 2.0

Version Downloads Last updated
2.2.1 11 12/26/2024