github HangfireIO/Hangfire v0.7.0
0.7

latest releases: v1.7.37, v1.8.12, v1.8.11...
10 years ago

Release Notes

Dear 0.7-alpha users! Please, DROP ALL HangFire tables before using this release!

  • #43 – Changed NuGet package structure.
  • #33 – Persistent storage abstraction.
  • #34 – SQL Server job storage implementation.
  • #41 – Using Common.Logging for logging and Json.NET for json encoding.
  • #39 – Improved job fetching implementation.
  • #47 – Increased default worker count.
  • #35 – Removed obsolete Perform class. Please, see how to update your old jobs.
  • #44 – Fixed empty MVC 5 project Internal Server Error.
  • #45 – Short exception stack traces, they contain only your code.
  • #46 – Apply the Failed state when state filters/handlers cause an exception.
  • Started work on restoration of the broken tests.
  • Clarified some type names, state subsystem was greatly simplified.

Upgrading Guide

NuGet package structure has been changed. SQL Server job storage implementation now installed by default with the HangFire package. If you are using Redis as a storage and don't want to change anything, please, do the following steps:

  1. Uninstall-Package HangFire
  2. Uninstall-Package HangFire.Core
  3. Install-Package HangFire.Redis
  4. Install-Package HangFire.Web
  5. Update your HangFireConfig.cs file as described below.
  6. If your jobs are still based on the BackgroundJob class, upgrade them.
public static void Start()
{
      // Place this line in the top of the Start method.
      JobStorage.Current = new RedisStorage("localhost:6379", 0);
      // ...
      var server = /* ... */

Don't miss a new Hangfire release

NewReleases is sending notifications on new releases.