Hangfire.SqlServer 1.7.10

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

No packages depend on Hangfire.SqlServer.

https://www.hangfire.io/blog/ Please see https://docs.hangfire.io/en/latest/upgrade-guides/upgrading-to-hangfire-1.7.html to learn how to upgrade from 1.6.X. 1.7.10 • Changed – Use `XACT_ABORT` option for `ExpirationManager` queries. • Changed – Don't rely on implicit rollback when disposing transactions. • Fixed – `NullReferenceException` in logs thrown from `SqlInternalTransaction.Rollback` method. 1.7.9 • Changed – Implement long polling fetch for sub-second polling delays without `sp_getapplock`. • Fixed – Don't leak `DbConnection` instance when an exception occurs during its opening. • Fixed – Can not obtain connection from the pool exception after database was offline. • Fixed – High number of waits in SQL Server when Hangfire Servers are idle. 1.7.8 • Added – Support for Microsoft.Data.SqlClient package when using a custom connection factory (Part II). • Fixed – Remove `System.Data.SqlClient` dependency from `SqlCommandBatch` and `ExpirationManager`. 1.7.7 • Added – Add support for Microsoft.Data.SqlClient package when using custom connection factory (Part I). • Added – Add `UseFineGrainedLocks` option to avoid deadlocks in some theoretical cases. • Added – Add missing overload for `UseSqlServerStorage` with connection factory parameter only. • Added – Expose the SqlServerObjectsInstaller.GetInstallScript method (by @altso). • Fixed – Make command batching working on .NET Core when using System.Data.SqlClient 4.7.0 and higher. • Fixed – Permit dash characters (`-`) in schema names (by @kendaleiv). • Fixed – Escape square bracket characters in schema names. • Project – Add support for `netcoreapp3.0` target in Hangfire.SqlServer.Tests. • Project – Take schema name from constant in Hangfire.SqlServer.Tests (by @kendaleiv). • Project – Make Hangfire.SqlServer.Tests work on Linux in Travis CI environment. 1.7.4 • Fixed – Potential deadlocks cause by suboptimal queries when using `SlidingInvisibilityTimeout` fetching. • Fixed – Prevent zero delays between fetch retry attempts when lock acquisition failed without blocking. • Fixed – Specify float precision explicitly for the `Score` column in the `AddToSet` method. 1.7.3 • Fixed – Wrong error message in migration script, when @CurrentSchemaVersion has a NULL value (by @penenkel). 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.

.NET Framework 4.5

.NET Standard 1.3

.NET Standard 2.0

Version Downloads Last updated
1.8.18 9 2/20/2025
1.8.17 13 12/19/2024
1.8.16 12 12/20/2024
1.8.15 11 12/20/2024
1.8.14 19 7/7/2024
1.8.12 17 4/24/2024
1.8.11 20 3/8/2024
1.8.10 22 3/5/2024
1.8.9 20 3/8/2024
1.8.7 19 3/8/2024
1.8.6 18 3/8/2024
1.8.5 20 2/26/2024
1.8.4 18 3/8/2024
1.8.3 21 7/2/2023
1.8.2 18 7/2/2023
1.8.1 21 7/2/2023
1.8.0 18 7/2/2023
1.8.0-rc4 19 7/2/2023
1.8.0-rc3 22 7/2/2023
1.8.0-rc2 20 7/2/2023
1.8.0-rc1 23 7/2/2023
1.8.0-beta4 21 7/2/2023
1.8.0-beta3 22 7/2/2023
1.8.0-beta2 23 7/2/2023
1.8.0-beta1 22 7/2/2023
1.7.37 19 4/24/2024
1.7.36 19 7/2/2023
1.7.35 23 7/2/2023
1.7.34 23 7/2/2023
1.7.33 23 7/2/2023
1.7.32 25 7/2/2023
1.7.31 21 7/2/2023
1.7.30 21 7/2/2023
1.7.29 21 7/2/2023
1.7.28 23 7/2/2023
1.7.27 24 7/2/2023
1.7.26 20 7/2/2023
1.7.25 23 7/2/2023
1.7.24 20 7/2/2023
1.7.23 19 7/2/2023
1.7.22 19 7/2/2023
1.7.21 19 7/2/2023
1.7.20 21 7/2/2023
1.7.19 22 7/2/2023
1.7.18 21 7/2/2023
1.7.17 24 4/12/2022
1.7.16 23 7/2/2023
1.7.15 22 7/2/2023
1.7.14 23 7/2/2023
1.7.13 19 7/2/2023
1.7.12 25 7/2/2023
1.7.11 21 7/2/2023
1.7.10 21 7/2/2023
1.7.9 21 7/2/2023
1.7.8 18 7/2/2023
1.7.7 20 7/2/2023
1.7.6 19 7/2/2023
1.7.5 19 7/2/2023
1.7.4 19 7/2/2023
1.7.3 23 7/2/2023
1.7.2 24 7/2/2023
1.7.1 18 7/2/2023
1.7.0 25 7/2/2023
1.6.30 19 7/2/2023
1.6.29 19 7/2/2023
1.6.28 21 7/2/2023
1.6.27 22 7/2/2023
1.6.26 21 7/2/2023
1.6.25 22 7/2/2023
1.6.24 19 7/2/2023
1.6.23 21 7/2/2023
1.6.22 24 7/2/2023
1.6.21 22 7/2/2023
1.6.20 21 7/2/2023
1.6.19 21 7/2/2023
1.6.18 21 7/2/2023
1.6.17 20 7/2/2023
1.6.16 22 7/2/2023
1.6.15 26 7/2/2023
1.6.14 23 7/2/2023
1.6.13 21 7/2/2023
1.6.12 22 7/2/2023
1.6.11 25 7/2/2023
1.6.10 20 7/2/2023
1.6.9 20 7/2/2023
1.6.8 18 7/2/2023
1.6.7 23 7/2/2023
1.6.6 22 7/2/2023
1.6.5 18 7/2/2023
1.6.4 22 7/2/2023
1.6.3 20 7/2/2023
1.6.2 22 7/2/2023
1.6.1 23 7/2/2023
1.6.0 20 7/2/2023
1.5.9 19 7/2/2023
1.5.8 22 7/2/2023
1.5.7 20 7/2/2023
1.5.6 20 7/2/2023
1.5.5 19 7/2/2023
1.5.4 22 7/2/2023
1.5.3 24 7/2/2023
1.5.2 25 7/2/2023
1.5.1 20 7/2/2023
1.5.0 19 7/2/2023
1.4.7 23 7/2/2023
1.4.6 22 7/2/2023
1.4.5 22 7/2/2023
1.4.4 20 7/2/2023
1.4.3 24 7/2/2023
1.4.2 19 7/2/2023
1.4.1 21 7/2/2023
1.3.4 25 7/2/2023
1.3.3 21 7/2/2023
1.3.2 23 7/2/2023
1.3.1 24 7/2/2023
1.3.0 23 7/2/2023
1.2.2 23 7/2/2023
1.2.1 21 7/2/2023
1.2.0 22 7/2/2023
1.1.1 20 7/2/2023
1.1.0 22 7/2/2023
1.0.2 21 7/2/2023
1.0.1 21 7/2/2023
1.0.0 21 7/2/2023
0.9.1 27 7/2/2023
0.9.0 23 7/2/2023
0.8.3 23 7/2/2023
0.8.2 19 7/2/2023
0.8.1 19 7/2/2023
0.8.0 19 7/2/2023
0.7.5 21 7/2/2023
0.7.4 25 7/2/2023
0.7.3 21 7/2/2023
0.7.1 21 7/2/2023
0.7.0 25 7/2/2023