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:
Uninstall-Package HangFire
Uninstall-Package HangFire.Core
Install-Package HangFire.Redis
Install-Package HangFire.Web
- Update your HangFireConfig.cs file as described below.
- 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 = /* ... */