HangFire.SqlServer 1.7.2

Hangfire SQL Server Storage

SQL Server 2008+ (including Express), SQL Server LocalDB and SQL Azure storage support for Hangfire (background job system for ASP.NET applications).

Install-Package HangFire.SqlServer -Version 1.7.2
dotnet add package HangFire.SqlServer --version 1.7.2
<PackageReference Include="HangFire.SqlServer" Version="1.7.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HangFire.SqlServer --version 1.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://www.hangfire.io/blog/

1.7.2
• Fixed – Occasional "DataException: Error parsing column" error when using blocking fetch.

1.7.1
• Changed – Use blocking fetch implementation only for sub-second polling intervals.
• Fixed – Don't fail with an exception when can't connect to MSSQL instance during start-up.
• Fixed – Don't access the `JobQueue` table when using blocking query and don't have results.

1.7.0
• Added – Full .NET Core 2.0 support by explicitly targeting .NET Standard 2.0.
• Added – `Schema 7` migration to fix the `IX_HangFire_Set_Score` index to include the `Key` column.
• Added – `Schema 6` migration with less indexes, better physical layout and `bigint` support (disabled by default).
• Added – Blocking fetch support for sliding expiration-based fetch to avoid excessive polling.
• Added – `SqlServerStorageOptions.EnableHeavyMigrations` switch to automatically install even heavy migrations.
• Added – `SqlServerStorageOptions.DisableGlobalLocks` property to avoid custom locking scheme.
• Added – `SqlServerStorageOptions.UsePageLocksOnDequeue` property to use less CPU consuming fetch.
• Added – Callback method to allow to open the database with impersonation (by @BjoernHund).
• Added – `SqlServerStorageOptions.UseRecommendedIsolationLevel` option to set the minimum possible level.
• Changed – Identity columns either converted to the `bigint` type, or entirely removed.
• Changed – Clustered indexes were organized according to the access patterns of their tables.
• Changed – Most of secondary indexes were either removed or made filtered.
• Changed – Optimize sliding-expiration-based fetching to use even less CPU time.
• Changed – Use write reordering and fine-grained locking scheme to improve parallelism.
• Changed – Monitoring API doesn't check state data to see state transition time.
• Changed – Allow to use zero-based poll interval when sliding invisibility timeout.
• Changed – Short paths for the `CreateExpiredJob` method to avoid some round-trips.
• Changed – Set `SqlParameter` types explicitly to not to duplicate query plans.
• Changed – Batch support for `AddToQueue` method when default provider is used.
• Changed – Check `FetchedAt` has expected value to prevent prolonging others' work.
• Changed – Use more recent Dapper 1.50.7 on all platforms except .NET Framework 4.5.
• Changed – Dapper package is internalized now even on .NET Core to avoid possible conflicts.
• Fixed – Avoid unnecessary waits in state changer when job was already expired.
• Fixed – Cannot resolve the collation conflict in `CountersAggregator`.
• Fixed – Background processing stops when identity columns exceed the `Int32.MaxValue`.
• Fixed – Slowdown of scheduled jobs due to the missing index on the `[Set]` table.

Version History

Version Downloads Last updated
1.7.2 31,121 4/29/2019
1.7.1 27,209 4/16/2019
1.7.0 53,214 3/29/2019
1.7.0-rc2 1,597 3/22/2019
1.7.0-rc1 1,689 3/15/2019
1.7.0-beta4 6,131 2/18/2019
1.7.0-beta3 149 2/15/2019
1.7.0-beta2 28,858 9/1/2018
1.7.0-beta1 47,089 3/2/2018
1.6.25 1,984 4/9/2019
1.6.24 8,376 3/27/2019
1.6.23 56,590 3/13/2019
1.6.22 210,525 1/25/2019
1.6.21 337,796 11/1/2018
1.6.20 448,664 7/31/2018
1.6.19 560,631 4/6/2018
1.6.18 6,269 4/5/2018
1.6.17 956,748 9/19/2017
1.6.16 72,463 9/2/2017
1.6.15 139,995 8/8/2017
1.6.14 201,619 6/16/2017
1.6.13 41,781 6/7/2017
1.6.12 356,649 3/22/2017
1.6.11 22,935 3/14/2017
1.6.10 11,187 3/13/2017
1.6.9 29,766 3/2/2017
1.6.8 210,655 12/21/2016
1.6.7 79,800 11/25/2016
1.6.6 113,944 10/13/2016
1.6.5 86,492 9/24/2016
1.6.4 71,025 8/30/2016
1.6.3 23,857 8/19/2016
1.6.2 37,333 8/5/2016
1.6.1 28,664 7/27/2016
1.6.0 17,722 7/15/2016
1.5.9 23,631 7/11/2016
1.5.8 28,383 6/17/2016
1.5.7 20,388 5/30/2016
1.5.6 54,768 4/22/2016
1.5.5 14,410 4/14/2016
1.5.4 29,810 3/22/2016
1.5.3 203,146 11/6/2015
1.5.2 20,004 10/15/2015
1.5.1 1,820 10/14/2015
1.5.0 21,873 10/1/2015
1.4.7 1,519 10/1/2015
1.4.6 20,596 8/29/2015
1.4.5 22,596 7/24/2015
1.4.4 757 7/23/2015
1.4.3 27,955 5/27/2015
1.4.2 9,108 5/6/2015
1.4.1 14,430 4/14/2015
1.3.4 43,720 2/4/2015
1.3.3 2,295 1/28/2015
1.3.2 906 1/27/2015
1.3.1 6,004 1/13/2015
1.3.0 4,441 12/10/2014
1.2.2 5,062 11/24/2014
1.2.1 574 11/22/2014
1.2.0 3,520 11/17/2014
1.1.1 13,191 9/5/2014
1.1.0 1,529 9/3/2014
1.0.2 4,363 7/1/2014
1.0.1 484 6/30/2014
1.0.0 541 6/30/2014
0.9.1 1,526 6/12/2014
0.9.0 488 6/7/2014
0.8.3 510 5/23/2014
0.8.2 445 5/21/2014
0.8.1 713 5/17/2014
0.8.0 1,376 5/2/2014
0.7.5 435 4/10/2014
0.7.4 380 4/7/2014
0.7.3 379 4/4/2014
0.7.1 366 4/1/2014
0.7.0 1,277 3/22/2014