Releases: HangfireIO/Hangfire
Releases · HangfireIO/Hangfire
Release list
1.8.25
Release Notes
Hangfire.Core
- Fixed – Add missing Persian translations for Dashboard UI (#2586 by @mohammad-goroohi).
- Fixed – Small typo in Swedish translation (#2590 by @AntonHoog).
- Fixed – Grammar and spelling in some user-facing messages (#2580 by @net0well).
- Fixed – Complete "pt-BR" translation (#2577 @by net0well).
- Fixed – Update Russian translation for Dashboard UI (#2587 by @akortunov).
- Project – Add unit tests for
DisableConcurrentExecutionAttribute(#2581 by @net0well). - Project – Use "mailto" scheme for security email in SECURITY.md (#2588 by @FirmaSpring).
Hangfire.SqlServer
- Added –
SqlServerStorageOptions.DisableFetchSemaphoresoption to remove synchronization between workers (0b6ef50).
New Contributors
- @net0well made their first contribution in #2580
- @AntonHoog made their first contribution in #2590
- @FirmaSpring made their first contribution in #2588
- @mohammad-goroohi made their first contribution in #2586
Full Changelog: v1.8.24...v1.8.25
1.8.24
Release Notes
Hangfire.Core
- Added – Russian translation for Dashboard UI (by @akortunov).
- Changed – Slow log can now detect blocked extension filter executions.
1.8.23
Release Notes
Hangfire.Core
- Changed – Use stable sorting algorithm for background job filters again (by @jirikanda).
- Fixed – Custom
AutomaticRetryAttributeis ignored under certain conditions regression from 1.8.14 (by @jirikanda). - Fixed – Add missing keys for Swedish translation (by @karl-sjogren).
- Project – Use
TypeNameAssemblyFormatHandlingin tests with .NET 6 (by @viktor-vintertass).
Hangfire.AspNetCore
- Fixed –
InvalidOperationException: The request reached the end of the pipeline without executing the endpoint.
1.8.22
Release Notes
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'.
1.8.21
Release Notes
Hangfire.Core
- Added –
FailedState.IncludeFileInfoto optionally show/hide line numbers in exceptions in Failed state. - Changed – Include line numbers for exceptions by default when available.
- Fixed – Portuguese (Brazil) translations in Strings.pt-BR.resx (by @pedro-cons).
- Fixed – Static
BackgroundJobclass always acquires the most currentJobStorage.Currentinstance. - Fixed – Static
RecurringJobclass always acquires the most currentJobStorage.Currentinstance.
Hangfire.SqlServer
- Added –
SqlServerStorageOptions.DisableTransactionScopeoption for .NET Framework targets. - Project – Port Monitoring API tests from the Hangfire.InMemory storage for better coverage.
- Project – Run tests for different targets in parallel with different databases.
1.8.20
1.8.19
Release Notes
Hangfire.Core
- Changed – Update Bootstrap to the custom version of 3.4.2 to avoid false alerts on unused features.
- Fixed – Typos in Portuguese translation (by @VianaArthur).
- Fixed – Unnecessary recurring job update transaction when nothing is changed after an error.
Hangfire.SqlServer
- Fixed – Sliding invisibility timeout isn't prolonged in lightweight servers, causing jobs to be restarted.
1.8.18
Release Notes
Hangfire.Core
- Added –
DashboardOptions.ServerPossiblyAbortedThresholdto configure a custom threshold for "possibly aborted" warnings. - Fixed – Expired jobs are still shown on the "Retries" page in some cases.
- Fixed – Issues with
CultureInfo-related differences after upgrading to 1.8.15–1.8.17. - Fixed – Don't leak
AsyncLocalvalues from synchronous background job methods. - Fixed – Don't throw an exception when passing the
Job.Argsproperty to theJobclass' constructor. - Project – Make the lock file usable for both .NET 8.0 and .NET 9.0 builds.
- Project – Make code generation for
cshtmlfiles working on newer platforms.
Hangfire.AspNetCore
- Fixed – Swallow possible
ObjectDisposedExceptionin theStopAsyncmethod. - Fixed – Avoid
NullReferenceExceptionwhenLocalIpAddressorRemoteIpAddressis null.
1.8.17
1.8.16
Release Notes
Hangfire.Core
- Changed – Include fewer stack frames in exceptions come from
IServerFilterimplementations. - Changed – Don't include file information in the
ExceptionDetailsproperty of a FailedState instance. - Changed – Switch back to
CancellationEventusage instead ofCancellationToken.WaitHandle. - Fixed – Don't commit external transaction in the
BackgroundJobStateChangerimplementation. - Fixed – Use safe default serializer settings for Newtonsoft.Json 12.X and below.
- Project – Fix builds for the
net451platform when using .NET 9.0. - Project – Significantly reduce execution time of unit tests in the
RecurringJobSchedulerFactsclass. - Project – Bump
Microsoft.CodeAnalysis.NetAnalyzerspackage to version 9.0.0.
Hangfire.SqlServer
- Changed – Use vanilla ADO.NET when fetching a job in the
SqlServerJobQueueimplementation. - Changed – Decrease the
LockTimeouttime when calling thesp_getapplockprocedure to 1 second for less blocking. - Fixed – SqlException: Must declare the scalar variable "key" in delayed and recurring job schedulers.
- Project – Disable parallel tests execution when building under .NET 9.0.
- Project – Run tests over the latest Microsoft.Data.SqlClient package and the
net6.0platform. - Project – Reduce execution time of integration tests.
- Project – Disable
PoolBlockingPeriodsetting on AppVeyor to handle transient test failures.