Hangfire.SqlServer 1.8.16

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

No packages depend on Hangfire.SqlServer.

Release notes are available in our blog https://www.hangfire.io/blog/ Please see https://docs.hangfire.io/en/latest/upgrade-guides/upgrading-to-hangfire-1.8.html to learn how to upgrade. 1.8.16 • Changed – Use vanilla ADO.NET when fetching a job in the `SqlServerJobQueue` implementation. • Fixed – SqlException: Must declare the scalar variable "@key" in delayed and recurring job schedulers. • Fixed – Decrease the `LockTimeout` time when calling the `sp_getapplock` procedure to 1 second for less blocking. • Project – Disable parallel tests execution when building under .NET 9.0. • Project – Run tests over the latest Microsoft.Data.SqlClient package and the `net6.0` platform. • Project – Reduce execution time of integration tests. • Project – Disable `PoolBlockingPeriod` setting on AppVeyor to handle transient test failures. 1.8.15 • Changed – Use query template caching based on schema name to avoid excessive `string` allocations. • Changed – Use static callbacks almost anywhere to avoid unnecessary delegate allocations. • Changed – Use `QuerySingle`* or `ReadSingle`* where possible to avoid allocating lists. • Changed – Unify `DbCommand` and `DbParameter` creation logic to improve code consistency. 1.8.13 and 1.8.14 • Changed – Limit polling queries when queues are empty with a semaphore for all configurations. • Changed – Use per-queue signaling for same-process workers, instead of having a global signal. • Fixed – Don't silently truncate queue names, throw an exception instead. • Project – Decrease delays in SQL Server-related tests to complete them faster. 1.8.12 • Fixed – Populate `InvocationData` and `LoadException` properties in `JobDetails` method results. 1.8.10 • Changed – Bump Dapper for the `netstandard2.0` platform to version 2.1.28. • Changed – Bump Dapper for `net451` and `netstandard1.3` platforms to version 1.60.6. • Project – Enable NuGet package and DLL signing with a company certificate. • Project – Require NuGet package signature validation on restore for dependencies. • Project – Add `HangfireIO` as a package owner. 1.8.9 • Project – Enable full source link support with embedded symbols and repository-based sources. • Project – Enable repeatable package restore using a lock file. • Project – Run unit tests against the `net6.0` platform. 1.8.7 • Changed – Avoid throwing an exception when a connection string has duplicate property names. • Project – Disable tests for `netcoreapp1.0` and `netcoreapp2.1` targets since they aren't supported in AppVeyor. • Project – Add a `net6.0` target for unit tests instead of the removed ones. • Project – Modernise projects and build environments to use the newest features. 1.8.6 • Fixed – Exception in Dashboard UI when schema version is not present in a database. • Fixed – `DbCommand` resource leak when releasing a lock detected by static analysis. • Fixed – Don't add SQL Server-related metrics multiple times in Dashboard UI. 1.8.5 • Fixed – "Query processor could not produce a query plan" when removing expired counters in `Schema 5`. 1.8.2 • Fixed – `InvalidOperationException` with new dashboard metrics when a database has multiple data/log files. 1.8.1 • Fixed – Blocked workers regression since 1.7.33 when using multiple servers inside a process. • Fixed – Target schema version is less than the current schema version error. • Fixed – Implement database metrics without the need for additional permissions. • Fixed – Use the `forceseek` table hint whenever possible to avoid performance drops. 1.8.0 • Breaking – Prioritise Microsoft.Data.SqlClient package over System.Data.SqlClient one. • Breaking – Dropped the `NET45` platform target in favor of the `NET451` target to support Visual Studio 2022. • Added – `Schema 8` migration with fixed `JobQueue.Id` column to use the `bigint` type. • Added – `Schema 9` migration that creates an index for the `State.CreatedAt` column. • Added – Automatic client package detection based on available types, preferring `System.Data.SqlClient` (by @0xced). • Added – `SqlServerStorageOptions.DbProviderFactory` option to use a custom provider factory. • Added – Clean up of old state entries of a non-finished job when `InactiveStateExpirationTimeout` is set. • Added – `TryAutoDetectSchemaDependentOptions` option to automatically enable options based on the schema. • Added – Optional experimental transactional acknowledge for SQL Server (`UseTransactionalAcknowledge` option). • Added – Implement the `Connection.GetUtcDateTime` feature to make work the new changes in schedulers. • Added – `SqlServerStorage.SchemaVersion` metric for Dashboard UI. • Added – `DefaultQueueProvider` option to specify a custom default queue provider. • Changed – Remove dependency on System.Data.SqlClient for Hangfire.SqlServer (by @0xced). • Changed – Set default value for the `QueuePollInterval` option to `TimeSpan.Zero`. • Changed – Polling delay when `QueuePollInterval` is set to zero now defaults to 200 ms. • Changed – Sliding invisibility timeout-based fetching method is now used by default with a 5-minute timeout. • Changed – Use command batching by default with a 5-minute maximum timeout. • Changed – Enable the `UseRecommendedIsolationLevel` option by default. • Changed – `GetJobData` now populates the `JobData.ParametersSnapshot` property to avoid additional roundtrips. • Changed – Display scheduled and processing jobs in ascending order in Dashboard UI. • Changed – Implement the `Transaction.AcquireDistributedLock` feature. • Changed – Implement the `GetSetCount.Limited feature`. • Changed – Implement the `GetSetContains feature`. • Changed – Bump the internal version of Dapper to 2.0.123. • Changed – Enable common metrics for SQL Server storage to be shown by default. • Changed – Enable the `Monitoring.AwaitingJobs` feature for SQL storage. • Deprecated – `UsePageLocksOnDequeue` option is now obsolete and doesn't affect anything.

.NET Framework 4.5.1

.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