Maintanance release with fixed InvalidOperationException when creating a job with Hangfire.SqlServer in older schema versions, un-deprecated interval methods in the Cron class, and a few other minor fixes and improvements.
Hangfire.Core
-
Added –
IGlobalConfiguration.UseNoOpLogProvidermethod to disable logging. -
Changed – Un-deprecate interval methods in the
Cronclass, add remarks in docs instead. - Changed – Bump internalized version of Cronos to 0.11.1.
- Changed – Bump internalized version of Microsoft.Owin to 4.2.3.
-
Fixed – Serialization of arrays of nested types
SimpleAssemblyTypeSerializer. - Fixed – Remove wrong escaping characters in Portuguese translations on the “Servers” page.
-
Fixed – Properly remove registered
IBackgroundProcessingServerinstances on OWIN app shutdown. -
Fixed –
AspNetShutdownDetectorfor early ASP.NET shutdown detection is not working (regression from 1.7.30). -
Project – Replace the
netcoreapp3.1target with thenet8.0one in tests.
Hangfire.SqlServer
-
Fixed –
InvalidCastExceptionwhen creating a background job with Schema 5 (regression from 1.8.15). -
Project – Replace the
netcoreapp3.1target with thenet8.0one in tests.
Hangfire.AspNetCore
-
Added –
MapHangfireDashboardWithNoAuthorizationFiltersmethod, which does not include local-only filters. -
Changed – Set 404 status code when
MapHangfireDashboardis used and no dispatcher is found. -
Fixed –
InvalidOperationExceptionupon receiving a request for ‘hangfire/bootstrap.min.css.map’.
by