Hangfire has finally reached the 1.0
milestone! This means that public API is frozen and considered to be stable. Starting from now, the SemVer 2.0 specification will be used for versioning every package (but there may be exceptions, follow the README for each package).
I want to thank everyone who helped me to reach this milestone, without your participation I would not be able to finish the work. Special thanks:
- @devmondo – for endless optimism that helped me a lot in difficult times.
- @dennyferra – for awesome Hangfire.RabbitMQ extension.
Release Notes
- Added – OWIN implementation for Hangfire Dashboard.
- Added – Custom authorization filters support for dashboard.
- Added – Unified bootstrapper to start Hangfire in web applications.
- Added – Descriptive names for background jobs in Dashboard.
- Added – RabbitMQ support for SQL Server storage.
- Changed – Hangfire now requires .NET Framework 4.5.
-
Changed – Namespaces, assemblies and packages now start with
Hangfire
(notHangfire
). -
Changed –
Hangfire.Core
now contains the dashboard. There is no moreHangfire.Web
. - Changed – Common.Logging dependency package updated to 2.2.0.
-
Changed – Default dashboard url is now
/hangfire
(without.axd
suffix). -
Removed – Removed
Enqueue
method overloads with queue parameter. -
Removed – Removed
AspNetBackgroundJobServer
class. - Fixed – Russian language in Dashboard replaced with English.
- Fixed – Recurring jobs reported to be executed 44 years ago.
Upgrading from 0.x
If you have only Hangfire
package installed, package update is very simple. Just type in your Package Manager Console window:
PM> Update-Package Hangfire
For custom installations, first update each package, and then remove the Hangfire.Web
:
PM> Update-Package Hangfire.Core
PM> Uninstall-Package Hangfire.Web
Breaking Changes
- Target your project to .NET Framework 4.5 or later.
- Replace all occurrences of
Hangfire
(case-sensitive) toHangfire
(lowercasedf
letter) in your projects. - Use the
UseHangfire
extension method for OWIN app builder instead ofAspNetBackgroundJobServer
. - Replace all links to Dashboard from
/hangfire.axd
to/hangfire
. - Change your authorization rules as described here.