Release Notes
This is a correcting release that brings fixes to fully support generic methods, whose generic arguments are defined in their parameters, including List<T>
and T[]
. A lot of issues with Dashboard UI that cause exceptions and other errors, like uncontrolled growth of event listeners on resize, were also fixed. Please see the full delails below.
Hangfire.Core
- Fixed –
ArgumentException
when using complex arguments in generic methods likeIList<T>
(#719 by @aidmsu). - Fixed – Generic arrays like
T[]
aren't supported in background job arguments (#740 by @aidmsu). - Fixed – Wrong choice of the overload when multiple methods match the given arguments (#713 by @aidmsu).
- Fixed – Null values for arguments when there are errors during the JSON deserialization (#731).
- Fixed – Window resize cause errors and uncontrolled growth of event and poll listeners (#711 by @Yarmonov).
- Fixed –
HtmlHelper.ToHumanDuration
incorrectly formats fractional seconds (#708 by @pieceofsummer). - Fixed – Dashboard UI shows wrong description for CRON that contain trailing spaces (#727, #729 by @aidmsu).
- Fixed – Exception in Dashboard UI when CRON expression is null by an accident (#692, #730 by @aidmsu).
- Fixed – Error in Dashboard UI when rendering an array that contains a null element (#734, #741 by @djfoz).
- Fixed – Inconsistent constructors' accessibility for different context classes (#703, #710 by @pieceofsummer).
- Fixed – Decrease the max default workers count to "20" in tests (#701 by @patrykpiotrmarek).
- Fixed – Inconsistent EOL characters in some files of a project (#721 by @aidmsu).
- Fixed – Make Queue name accessible from
RecurringJobDto
(#737 by @swordfish6975).
Hangfire.SqlServer
- Fixed – Validation added to avoid "An invalid application lock time-out" exceptions (#686 by @t0mburton).
Hangfire.AspNetCore
- Fixed – Parameterless
AspNetCoreJobActivator.BeginScope
method now returns a correct instance (#706, #709 by @pieceofsummer).