Release Notes
Hangfire.Core
- Added –
IBackgroundProcess
interface that allows to implement custom background processes (relates to #167, #368, #379). - Added –
BackgroundServer
class for creating a server instance with completely custom background processes (relates to #263, #373, #374). - Added –
JobActivatorScope
class to support custom IoC scopes/lifetimes (relates to #198, #204, #329, #330). - Added – Support for running multiple
BackgroundJobServer
instances in the same AppDomain without explicit server names (relates to #223). - Added – Option to hide the "Back to site" link (#349 by @dradovic).
- Changed – Server components and background processes now use
Task
withTaskCreationOptions.LongRunning
. - Changed – ServerIds are now generated without ServerName, server names are deprecated.
- Changed – Arguments Renderer now supports TimeSpan and DateTime (#358 by @yngndrw).
- Changed – Minor improvements for Dashboard navigation (#352 by @pwelter34).
- Fixed – Prevent worker from fetching and processing a job on shutdown.
Hangfire.SqlServer
- Added –
TransactionTimeout
option for configuring theTransactionScope
timeout (relates to #381). - Added –
DashboardJobListLimit
option to prevent full table scans in Dashboard. - Changed – Dramatically improved page load times in Dashboard.
- Changed – Instant re-queue for background jobs even after ungraceful shutdown (relates to #227).
- Changed –
JobQueue.Queue
andServer.Id
column length increased to 50 and 100 respectively (#314, #369, #376 by @maleet).
Hangfire.SqlServer.Msmq
- Added – Support for remote MSMQ queues through DTC transactions (relates to #333).