Release Notes
Hangfire.Core
- Added –
MisfireHandlingMode.Strictto create job for each missed recurring job occurrence. - Added – Allow to pass parameters when creating a job (by @brian-knoll-micronetonline).
- Added – Make it possible to use specify multiple
JobContinuationOptionsfor a continuation. - Added –
CreateJobmethod to theJobStorageTransactionabstract class. - Added –
SetJobParametermethod to theJobStorageTransactionabstract class. - Changed – Allow to query job parameters without roundtrip when supported by a storage.
- Changed – Turn
JobContinuationOptionsenum into flags while still possible. - Changed – Avoid storage roundtrip to query job data in worker, take data from previous state change.
- Fixed – Don't overwrite existing argument values with null job parameters when using
FromParameterattribute. - Fixed – Job continuation mistakenly started when using the new
OnlyOnDeletedStateoption.
Hangfire.SqlServer
- Changed – Set default value for the
QueuePollIntervaloption toTimeSpan.Zero. - Changed – Use command batching by default with 5-minute maximum timeout.
- Changed – Enable
UseRecommendedIsolationLeveloption by default.