Release Notes
Please see release notes in our blog – https://www.hangfire.io/blog/2023/03/30/hangfire-1.8.0-rc3.html.
Hangfire.Core
- Added – Introduce the
captureDefault
parameter in theCaptureCulture
filter. - Added – Built-in awaiting metric through the
StatisticsDto.Awaiting
for monitoring stats. - Added –
JobStorageFeatures
class to avoid using magic strings in storage features. - Added – Create job atomically when corresponding storage feature supported.
- Added – Support for new MonitoringApi methods for the Awaiting Jobs page.
- Changed – Rely on
captureDefault
when dealing with default cultures instead of compatibility level. - Changed – Rename in a non-breaking way
SetContains
toGetSetContains
for consistency. - Changed – Rely on storage indexing with
Monitoring.AwaitingJobs
feature. - Changed – Rename the
BatchedGetFirstByLowest
feature. - Changed – Throw more descriptive
NotSupportedException
from new storage methods - Changed – Make new methods in
JobStorageMonitor
virtual, not abstract. - Changed – Change GetSetCount with multiple keys in a non-breaking way.
- Fixed – Throw an exception early when
Job.Queue
feature not supported. - Fixed – Don't show assembly details in deleted state renderer.
- Rollback – Use the
AttemptsExceededAction.Delete
option by default in the global automatic retry filter.
Hangfire.SqlServer
- Changed – Enable the
Monitoring.AwaitingJobs
feature for SQL storage. - Changed – Implement the
Transaction.AcquireDistributedLock
feature. - Changed – Implement the
GetSetCount.Limited feature
. - Changed – Implement the
GetSetContains feature
. - Fixed – Detect schema-related options after migration, not before, to get the actual schema version.