Hangfire v1.7.9 Release Notes

Release Date: 2020-01-20 // about 1 month ago
  • 🚀 Release Notes

    Hangfire.Core

    • 🛠 Fixed – Additional Chinese translation for Dashboard UI (by @brookqin).
    • 🛠 Fixed – Added null checks for expired failed jobs in Dashboard UI (by @ppkale1995-cimpress).
    • 🛠 Fixed – Add word break to definition lists for state cards in Dashboard UI.
    • 🛠 Fixed – Render long recurring job identifiers correctly in Dashboard UI.

    Hangfire.SqlServer

    • 🔄 Changed – Implement long polling fetch for sub-second polling delays without sp_getapplock.
    • 🛠 Fixed – Don't leak DbConnection instance when an exception occurs during its opening.
    • 🛠 Fixed – Can not obtain connection from the pool exception after database was offline.
    • 🛠 Fixed – High number of waits in SQL Server when Hangfire Servers are idle.

    📚 Documentation

    • 🔄 Changed – Update "Making ASP.NET Applications Always Running" for .NET Core (by @unionthugface).
    • 🛠 Fixed – Fix typo in the README.md file (by @tawfikkh).

Previous changes from v1.7.8

  • 🚀 Release Notes

    Hangfire.Core

    • AddedIGlobalConfiguration.UseResultsInContinuations method to globally enable results for continuations.
    • Added – Ability to push antecedent job's result to continuations via job parameters with ContinuationsSupport.
    • AddedJobParameterInjectionFilter server filter to inject job parameters as arguments.
    • Added – Allow to specify a custom thread factory in UseBackgroundPool methods.
    • 🔄 Changed – Add retry attempts for recurring jobs instead of immediately disabling them.
    • 🛠 FixedCultureInfo.InvariantCulture is now restored properly in background jobs.
    • 🛠 Fixed – Recurring jobs aren't triggered early after changing their cron expressions.
    • 🛠 Fixed – Don't trigger recurring job when it can't be scheduled due to errors.
    • 🛠 Fixed – Argument with a null value is skipped when displaying job arguments in Dashboard UI.
    • 🛠 Fixed – Add a workaround for resolving System.Diagnostics.Debug type in .NET Core 3.0.
    • 🗄 Deprecated – Deprecate the JobActivatorScope.InnerScope property as it wasn't implemented.

    Hangfire.SqlServer

    • Added – Support for Microsoft.Data.SqlClient package when using a custom connection factory (Part II).
    • 🛠 Fixed – Remove System.Data.SqlClient dependency from SqlCommandBatch and ExpirationManager.

    Hangfire.AspNetCore

    • AddedIAppBuilder.MapHangfireDashboard method for ASP.NET Core 3.0 endpoint routing (by @kendaleiv).
    • 🔄 Changed – Add explicit netcoreapp3.0 target with "Microsoft.AspNetCore.App" framework reference (by @stebueh).

    Hangfire.NetCore

    • 🔄 Changed – Add explicit netcoreapp3.0 target with reference to "3.0.0" packages.

    📚 Documentation

    • Added – Making ASP.NET Core application always running on IIS (by @bamotav).
    • 🛠 Fixed – Small typo on the "Getting Started in ASP.NET Core applications" page (by @msynk).
    • 🛠 Fixed – Small spelling correction in "Throttling & Rate Limiters" (by @Bert-R).
    • 🛠 Fixed – Small typo in the "Sending Email" tutorial (by @nabeelvalley).
    • 🛠 Fixed – Correct spelling of 'prerequisites' in README.md (by @lgirvin).