rss feed Hangfire Pro

Hangfire.Pro.Redis 3.0.7

Maintenance release with better Redis Cluster connectivity in corner cases, source link support with embedded sources, signed NuGet packages and their assemblies with our code-signing certificate and more secure CI pipeline.

Continue Reading →

Hangfire.Pro 2.3.5

Maintenance release with hidden action buttons in a read-only dashboard change backported from version 3.0.3.

Continue Reading →

Hangfire.Pro 3.0.3

Maintenance release with hidden action buttons in a read-only dashboard and signed NuGet packages, all the assemblies and executable files with a company-owned code signing certificate.

Continue Reading →

Hangfire.Pro 3.0.2 & 2.3.4

Patch releases with important fixes for nested batches and enabled source link support with fully embedded sources to simplify the debugging experience.

Continue Reading →

Hangfire.Pro.Redis 3.0.4

Maintenance release that fixes a problem with displaying Scheduled Jobs page in the Dashboard UI for background jobs with an explicit queue specified.

Continue Reading →

Hangfire.Pro 3.0.1 & 2.3.3

Maintenance releases with fixed regressions from 3.0.0 and more consistent state transition logic when empty batches are used.

Continue Reading →

Hangfire.Pro 3.0.0

This release uses new features of Hangfire 1.8 to make batches even better. It supports new storage methods to have fewer storage roundtrips, allows explicit queues for batch continuations, adds new widgets to the Job Details page to simplify the navigation between jobs and those batches, and supports a stricter Content Security Policy for Dashboard UI.

Continue Reading →

Hangfire.Pro.Redis 3.0.3 & 2.8.22

Patch release that fixes a corner-case related to setting a null value to job parameters, adds static analysis back and a fixes a few other issues.

Continue Reading →

Hangfire.Pro.Redis 3.0.0

Accompanying the release of Hangfire 1.8.0, it supports all the new storage features, including first-class support for explicit queues for jobs, reduced number of network calls when creating or processing background jobs and Redis Server as a time authority for schedulers.

Continue Reading →

Hangfire.Pro.Redis 2.8.20

This version has a compatibility patch for highly popular Hangfire.Console extension so it can’t slow down the background processing when CLR’s Thread Pool is starved.

Continue Reading →

Hangfire.Pro 2.3.2

This patch version fixes possible “stuck batch” issue when state of a job inside a batch continuation is changed externally before that batch continuation is started. Such state transitions shouldn’t be used, because they violate encapsulation, but nevertheless while they aren’t prohibited by the code, we should handle such cases somehow.

Continue Reading →

Hangfire.Pro.Redis 2.8.19

This patch version contains improved logging for SSL/TLS authentication routine to understand what’s actually happened when something went wrong with the DEBUG log level enabled for the Hangfire.Pro.Redis namespace.

Continue Reading →

Hangfire.Pro.Redis 2.8.18

This release fixes ArgumentException when accessing the Dashboard UI with Redis metrics enabled if Redis Server instance has multiple additional modules installed.

Continue Reading →

Hangfire.Pro.Redis 2.8.17

This patch release fixes a regression appeared in 2.8 version related to the LUA-based transaction implementation, which didn’t take StackExchange.Redis’s ChannelPrefix option into account when enqueueing a background job id, causing the processing to hang when custom channel prefix is used.

Continue Reading →

Hangfire.Pro 2.3.1

This is a small maintenance release that just add missing overloads for the ContinueBatchWith method that allows to use background jobs based on asynchronous methods as continuations for batches. But this will unfortunately work only for .NET Core platform. Unfortunately support for .NET Framework will come only with version 3.0, because breaking changes required in this case.

Continue Reading →

Hangfire.Pro.Redis 2.8.16

This maintenance release fixes the order in which enqueued jobs are displayed on Queues and Enqueued Jobs pages in Dashboard UI or returned from Queues and EnqueuedJobs methods from the Monitoring API component. Now jobs that will be dequeued first are displayed first as expected. Also decreased maximum number of commands per LUA command execution to 200K, others are moved to a subsequent command (previous value was 1M).

Continue Reading →

Hangfire.Pro.Redis 2.8.15

This release fixes a regression appeared in the previous version 2.8.14 when multiple jobs storages are used – background jobs started to be processed one by one in this case.

Continue Reading →

Hangfire.Pro.Redis 2.8.14

This release fixes “too many results to unpack” regression appeared in 2.8.X when using batch continuations with a lot of background jobs.

Continue Reading →

Hangfire.Pro.Redis 2.8.13

Maintenance release that fixes fatal error in connection manager after long period of reconnects and “ConnectionMultiplexer is not a Sentinel connection” error when using Hangfire.Pro.Redis.SEv2 package and trying to reconnect to Sentinel nodes after a failure.

Continue Reading →

Hangfire.Pro.Redis 2.8.12

This release fixed another problem which appear with large number of servers and relates to huge amount of “Removing server…” log messages after ungraceful shutdown. Now method which is responsible for removing inactive servers uses a distributed lock to avoid concurrency and produce less Redis commands and logs.

Continue Reading →

Hangfire.Pro.Redis 2.8.11

This release reduces the network bandwidth consumption in environments with hundreds of servers and hundreds of queues. There were unnecessary calls to SMEMBERS servers command in the FetchedJobsWatcher component responsible for fault detection, leading to ServerCount*QueueCount number calls to it.

Continue Reading →

Hangfire.Pro.Redis 2.8.10

This maintenance release forces Hangfire.Pro.Redis to always use dedicated threads for reading Redis responses, even on Windows where IOCP threads were used by default. This will help to avoid slowdowns and timeout exceptions when all IOCP threads are busy or blocked by user code. This change is made because System.Net.Http.HttpClient package began to leak IOCP threads to user code, starting from one of the recent versions.

Continue Reading →

Hangfire.Pro 2.3.0

It is now possible to add batch continuations with new OnlyOnCompletedState and OnlyOnDeletedState options. The BatchContinuationOptions enum now allows to specify multiple values, so it is possible to mix different options to create a continuation that fire in multiple cases. For example continuations with OnlyOnSucceededState | OnlyOnCompletedState option specified will only be executed once antecedent batch is either succeeded or completed – but not deleted, e.g. canceled.

Continue Reading →

Hangfire.Pro.Redis 2.8.9

This maintenance release adds more logging only, but now almost every exception that occurs inside StackExchange.Redis package is logged with the DEBUG log level. So internal errors can be tracked now much faster than before.

Continue Reading →

Hangfire.Pro.Redis 2.8.8

This is a maintenance release that increases reliability after failovers when using older Redis version with asynchronous replication enabled.

Continue Reading →

Hangfire.Pro.PerformanceCounters 2.2.4

This release fixes problems with missing performance counter instances in Performance Monitor due to changed instance naming rules in Microsoft.Owin.* packages of version 3.X and the absence of instance name sanitization.

Continue Reading →

Hangfire.Pro.Redis 2.8.6

General improvements for Hangfire.Pro.Redis with better error messages that contain actual problem (for example “No such host is known” instead of “SocketFailure on PING”), eliminated last bits of thread pool usage when using synchronous methods (so everything will be stable now when thread pool threads are busy) and other fixes.

Continue Reading →

Hangfire.Pro.Redis 2.8.5

This is an important maintenance release that fixes regressions appeared in version 2.8.0. Please consider upgrading especially if you are using batches with 25,000 background jobs and more.

Continue Reading →

Hangfire.Pro.Redis 2.8.4

The RedisStorageOptions.MaxStateHistoryLength option is added in this release to limit the number of state history entries and avoid storage leak when some background job is rescheduled again and again. By default, only 10 state history entries are now persisted, but this value can be configured with the new option.

Continue Reading →

Hangfire.Pro.Redis 2.8.3

This version fixes regression appeared in 2.8.0 which leads to occasional SemaphoreFullException exception when distribute lock can’t be obtained and timeout exception should be thrown instead. Also the RelyOnInternalReconnects experimental option was added to test less aggressive reconnection logic built into SE.Redis package.

Continue Reading →

Hangfire.Pro 2.2.3

This release fixes possibly hanging continuations for background jobs which belong to a canceled batch. Problem was caused by wrong execution order between BatchSupport and ContinuationsSupport filters, and the former now runs before the latter to give it a chance to recognize antecedent background job was deleted.

Continue Reading →

Hangfire.Pro.Redis 2.8.1 & 2.8.2

These are maintenance releases that fix blocking issues appeared in version 2.6.0 when using multiple RedisStorage instances in the same process with the same queue names, avoid sharing the same semaphore for different storages when using distributed locks, add RedisStorageOptions.UseLegacyTransactions option to avoid using LUA-based transactions and add experimental Hangfire.Pro.Redis.SEv2 package based on StackExchange.Redis 2.X.

Continue Reading →

Hangfire.Pro.Redis 2.8.0

This version contains the most important changes for request/response processing pipeline since version 2.1 in terms of performance. LUA scripting feature is now used to implement transactions with proper locking, and it is much more efficient than the previous implementation based on conditional transactions. Less round-trips, reduced impact caused by latency, optimized distributed locks and better fetching from multiple queues makes this release so important, especially when using the package in a cloud environment.

Continue Reading →

Hangfire.Pro.Redis 2.7.6

This version adds support for authenticating with username available in Redis 6 to use ACL support. Just add username= or user= option to your connection string, and you’ll be able to use the same Redis instance for multiple tenants with proper data isolation between them.

Continue Reading →

Hangfire.Pro.Redis 2.8.0-beta1

The new pre-release version brings significantly improved command pipeline with less stalls due to the absence of conditional transactions (now using LUA scripting instead of them), less round-trips to Redis, decreased latency when obtaining distributed locks and optimized fetching from multiple queues using a single command. These changes heavily increase the throughput especially when using Redis in a cloud environment or using complex features in Hangfire.

Continue Reading →

Hangfire.Pro.Redis 2.7.5

This is a maintenance release that fixes some connectivity problems that may occur in corner cases, such as cluster fail-over and connection timeouts.

Continue Reading →

Hangfire.Pro.Redis 2.7.3

This is yet another maintenance release that allows to turn off certificate revocation checks when using SSL/TLS.

Continue Reading →

Hangfire.Pro.Redis 2.7.2

Maintenance update for Hangfire.Pro.Redis package that comes with some fixes, including NullReferenceException in “Processing Jobs” page and possible client timeouts during peak loads when working with Redis Cluster.

Continue Reading →

Hangfire.Pro.Redis 2.7.0 & 2.7.1

This version brings a new method of parsing responses from Redis in .NET Core that works well even if CLR’s thread pool is starved. Dedicated reader threads now used for this purpose when running on Linux or macOS, but on Windows thread pool’s I/O threads now used instead to avoid spawning additional threads, since I/O threads work fine there. So upgrades are great for all of the operating systems.

Continue Reading →

Hangfire.Pro 2.2.2

This is a maintenance release that fixes serialization exception when trying to create a job continuation for batch in a batch continuation, disallows caching “JobStorage.Current is null” exceptions and let us to configure maximum number of entries for final batch state lists.

Continue Reading →

Hangfire.Pro.Redis 2.6.2

This release is unrelated to the previous ones and fixes wrong behavior when non-recommended max-memory policy is used in Redis, such as volatile-* one. I still don’t recommend to use other than noeviction policies, but at least the following case is handled better.

Continue Reading →

Hangfire.Pro.Redis 2.6.0 & 2.6.1

The new version brings a lot of improvements to the internal implementation of Hangfire.Pro.Redis itself and its underlying Redis client – ability to use multiple connections within the same storage, improved request/response processing pipeline, TLS 1.2 enabled by default for encrypted connections and other improvements and fixes.

Continue Reading →

Hangfire.Pro.Redis 2.5.2—2.5.5

These versions contain important fixes for Redis-based job storage implementation, including better handling of fail-over events in clustered environments, reduced number of timeout exceptions and better reliability for distributed locks.

Continue Reading →

Hangfire.Pro 2.2.1

This release fixes occasional timeout exceptions that occur when attaching nested batch continuations for nested batches that are currently processed. The exception occurred due to a deadlock caused by different batch lock acquisition order when nested batches are involved.

Continue Reading →

Hangfire.Pro 2.2.0

This is a maintenance release that plays better with recently released Hangfire 1.7, so you don’t get extra framework packages when targeting .NET Core or .NET Standard 2.0. Also, continuation filters now don’t throw an exception again and again, when continuation has already expired.

Continue Reading →

Hangfire.Pro.Redis 2.5.1

This version brings support for Mono on Linux and macOS platforms without the need to reference additional packages. On Windows, both .NET Framework and .NET Standard 2.0 now use the same methods for polling a socket for new data, to make the behavior consistent across platforms.

Continue Reading →

Hangfire.Pro.Redis 2.4.0

This is an important release that makes timeout detection much more robust. First of all, Redis server itself now acts as a single time authority for performing timeout checks for both jobs and servers rather than UTC time of a current Hangfire Server. So you don’t need to use synchronized clocks to prevent false positives for timeout checks.

Continue Reading →

Hangfire.Pro 2.1.2

This release fixes unexpected behaviors when we are cancelling a batch that has continuations for its inner items as in the following sample. When those continuations have continuations themselves, or when we attaching a job with continuation to a cancelled batch, our leaf-level continuations stuck in the awaiting or non-initialized state until queued manually.

Continue Reading →

Hangfire.Pro.Redis 2.3.0

The goal of this release is to resolve the timeout issues that appear in .NET Core 2.X applications. Such behavior was caused by networking implementation of SE.Redis, which posted Redis response processing logic to thread pool’s worker threads, instead of completion ports or custom threads, due to the lack of the corresponding API in netstandard1.X specification.

Continue Reading →

Hangfire.Pro 2.1.1

This maintenance release fixes race condition in the UseBatches method that can lead to the InvalidOperationException with “Batches are not initialized” message.

Continue Reading →

Hangfire.Pro.Redis 2.2.0

This release solves connectivity issues with Redis Cluster 4.X, appeared as a result of breaking changes introduced in Redis 4.0.

Continue Reading →

Hangfire.Pro 2.1.0

This release brings full support for continuations in batches, including the nested ones. Now you can create continuations within a batch even for jobs or batches in nested batches. Consider the following sample:

Continue Reading →

Hangfire.Pro.Redis 2.1.1

This is a minor update that fixes VS Code debugger crash on OS X, and don’t report ThreadAbortException as fatal. You can update only if these issues annoys you.

Continue Reading →

Hangfire.Pro 2.0.1

Another bug related to forever incomplete batches has been fixed. This bug existed for a long time, so I’d recommend anyone to upgrade.

Continue Reading →

Hangfire.Pro 2.0.0

This release contains the most amazing update to the batches feature. Now you can create nested batches, attach jobs or batches to an existing batch, regardless of its current state, and lazily cancel running batches. Also, you can create job continuation for batch, and batch continuation for job. These feature allows you to build powerful workflows on top of Hangfire with ease.

Continue Reading →

Hangfire.Pro.Redis 2.1.0

Redis Cluster is finally supported. Also improved connection resilience using custom connection loop, upgraded StackExchange.Redis to the latest version and fixed some nasty bugs. So I’d recommend to upgrade, especially if you are using Redis in cloud environments.

Continue Reading →

Hangfire.Pro 1.4.10

​There was a lack of distributed lock during the batch creation phase. If an antecedent batch succeeded just after adding a batch continuation (continuations:finished set), but before the continuation was created, antecedent batch was silently ignoring the fact that continuation does not exist yet. ​I’ve added a required distributed lock, and taught a state filter related to continuations to throw an exception, when continuation doesn’t exist.

Continue Reading →

Hangfire.Pro.Redis 2.1.0-beta1

Finally Redis Cluster is officially supported by Hangfire.Pro.Redis package, and correctly handles the corner cases of Redis’ async replication. I was able to implement it without requiring RedLock algorithm, regular WATCH commands are used to ensure distributed lock correctness.

Continue Reading →

Hangfire.Pro 1.4.9

This is a correcting release that mainly fixes regression related to dashboard, appeared in the previous version.

Continue Reading →

Hangfire.Pro 2.0.0-beta2


Hangfire Pro 1.4.8

This release contains a bunch of fixes for batches, and is recommended for anyone who use them. Batches now always created in a correct state (Started, Completed or Succeeded), depending of state of its jobs. This is the most important change that fixes weird problems with batches that hanging forever.

Continue Reading →

Hangfire.Pro.Redis 2.0.6

This is a correcting release that fixes Server.StartedAt field reset problem during each server heartbeat, which lead to confusion that servers are constantly restarted, when watching the Servers page. It also adds missing GetValueFromHash method required by popular Hangfire.Console extension.

Continue Reading →

Hangfire.Pro.Redis 2.0.5

This is a maintenance release that add support for Hangfire.Core 1.4.0 for conservative users who are planning to switch to use a more stable StackExchange.Redis client package, but don’t want to upgrade Hangfire.Core. Originally this package supported only ≥ 1.5.0 versions.

Continue Reading →

Hangfire.Pro.Redis 2.0.4

This is a maintenance release that fixes ArgumentNullException that appears in Dashboard UI and during a call to the RedisMonitoringApi.Servers method, when BackgroundJobServer instance was resurrected. Resurrection happens when a server was removed from active servers list due to network problems, but then appeared again.

Continue Reading →

Hangfire.Pro.Redis 2.0.3

This release adds an option that explicitly allows using multiple endpoints in the connection string, but it’s not recommended. Use it at your own risk! Here’s a small explanation:

Continue Reading →

Hangfire.Pro.Redis 2.0.2

This release brings us a single package that targets both .NET Framework and .NET Core, so there’s no need to use separate packages now. It also fixes a rare issue, when a timed out background job stays in the processing set indefinitely, causing dashboard exceptions.

Continue Reading →

Hangfire.Pro.Redis 2.0

Brand new version of Hangfire.Pro.Redis is finally available. It is now based on feature-rich StackExchange.Redis library, allowing us to bring Hangfire to more environments that use Redis storage in the near future. This version comes with some new features, including SSL support and highly reduced connection usage.

Continue Reading →

Hangfire Pro 1.4.6

This version fixes different problems, that caused batches and batch continuations appear with no background jobs under rare circumstances. Also, background jobs now have the same expiration time with the batch itself. It is highly recommended to upgrade, if you are using batches.

Continue Reading →

Hangfire.Pro.Redis 2.0.0-beta1


Hangfire Pro 1.4.5

This release fixes distributed locks in Hangfire.Pro.Redis that didn’t take the Prefix option into account. This may result in problems and different timeout when a single Redis instance is used for a bunch of applications with separate code base.

Continue Reading →

Hangfire Pro 1.4.4

This release fixes an issue with batch continuations, and is recommended for anyone who use them. The issue takes place, when a parent batch unable to complete within 1 hour, after which batch continuation may start with no jobs, because all of them were expired.

Continue Reading →

Hangfire Pro 1.4.3

This release fixes Could not find type Hangfire.Batches.States.BatchAwaitingState exception appeared after upgrading from Hangfire Pro 1.4.0 or 1.4.1 when using batch continuations. Previous release solved the issue partly, and didn’t cover those who just updated from versions listed above.

Continue Reading →

Hangfire.Pro.Redis 1.4.2

This release fixes a security issue that caused Redis password leaks to log targets during the Hangfire Server startup. The password was also shown in dashboard. If you are using password-protected Redis, it is highly recommended to update to this release, and change Redis password.

Continue Reading →

Hangfire Pro 1.4.0

New versions of Hangfire Pro packages released to be compatible with Hangfire 1.5.0 version. Background jobs in batches now performing slightly faster, and Redis transaction scope was reduced to the Commit method, allowing to query for data from apply state filters.

Continue Reading →

Hangfire Pro 1.3.1

This is a correcting release that fixes a race condition related to batch continuations and slightly improves performance of a batch job processing, especially when using SQL Server. It is strongly recommended to upgrade.

Continue Reading →

Hangfire Pro 1.3.0

This release makes some hard-coded values (like maximum succeeded job list length) configurable through the RedisStorageOptions class. It also helps to re-queue aborted background jobs earlier – instead of waiting for invisibility timeout after non-graceful shutdown, we are re-queueing aborted background jobs right after its server becomes inactive.

Continue Reading →

Hangfire Pro 1.2.2

This is a correcting release that fixes job prioritization via queue ordering in an instance of the BackgroundJobServerOptions class and adds support for symbol packages.

Continue Reading →

Hangfire Pro 1.2.0

After a long development, batches and batch continuations are completed, and I’m glad to introduce these features. It was a real challenge for me and for Hangfire to implement these features as a regular extension. If you don’t share my joy (Batches? Why I need them?), I’ll show you why they are so important.

Continue Reading →