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

  • AddedIGlobalConfiguration.UseNoOpLogProvider method to disable logging.
  • Changed – Un-deprecate interval methods in the Cron class, 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 IBackgroundProcessingServer instances on OWIN app shutdown.
  • FixedAspNetShutdownDetector for early ASP.NET shutdown detection is not working (regression from 1.7.30).
  • Project – Replace the netcoreapp3.1 target with the net8.0 one in tests.

Hangfire.SqlServer

  • FixedInvalidCastException when creating a background job with Schema 5 (regression from 1.8.15).
  • Project – Replace the netcoreapp3.1 target with the net8.0 one in tests.

Hangfire.AspNetCore

  • AddedMapHangfireDashboardWithNoAuthorizationFilters method, which does not include local-only filters.
  • Changed – Set 404 status code when MapHangfireDashboard is used and no dispatcher is found.
  • FixedInvalidOperationException upon receiving a request for ‘hangfire/bootstrap.min.css.map’.

Subscribe to monthly updates

Subscribe to receive monthly blog updates. Very low traffic, you are able to unsubscribe at any time.

Comments