Release Notes
- Added – Ability to specify the schema for SQL Server job storage (by @ryanmwright).
- Changed –
ServerHeartbeat
andServerWatchdog
background processes are internal now. - Changed – Use
rowlock
table hint in job fetch query to prevent escalation. - Changed – Remove processes from server options, add filter provider and activator instead.
- Changed –
BackgroundServer
class renamed toBackgroundProcessingServer
. - Changed –
SchedulePoller
class renamed toDelayedJobScheduler
. - Changed –
IJobCreationProcess
interface renamed toIBackgroundJobFactory
. - Changed –
IJobPerformanceProcess
interface renamed toIBackgroundJobPerformer
. - Changed –
IStateChangeProcess
interface renamed toIBackgroundJobStateChanger
. - Changed –
BackgroundJobClientException
is thrown instead ofCreateJobFailedException
. - Fixed – Logger names now include the
Hangfire.
namespace as expected. - Fixed –
TaskCanceledException
thrown from a job method leads to failed job as expected. - Fixed – Specified queue is now considered when triggering a recurring job.
- Fixed – Distributed locks are reentrant in SQL Server job storage (relates to 1.5.0-beta1).
- Fixed – Same Worker instance in multiple servers caused cancellation token to work improperly.
- Fixed – Make
DelayedJobScheduler
resilient to empty background job ids. - Fixed – Logical error in SqlServerDistributedLockTimeout value check (by @Tom-Kelly).