Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 20, 2025

Updated Hangfire from 1.8.6 to 1.8.21.

Release notes

Sourced from Hangfire's releases.

1.8.21

Release Notes

Hangfire.Core

  • AddedFailedState.IncludeFileInfo to 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 BackgroundJob class always acquires the most current JobStorage.Current instance.
  • Fixed – Static RecurringJob class always acquires the most current JobStorage.Current instance.

Hangfire.SqlServer

  • AddedSqlServerStorageOptions.DisableTransactionScope option 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

Release Notes

Hangfire.Core

  • Fixed – Glyphicons from Bootstrap are not displaying after upgrading to version 1.8.19.

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

  • AddedDashboardOptions.ServerPossiblyAbortedThreshold to 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 AsyncLocal values from synchronous background job methods.
  • Fixed – Don't throw an exception when passing the Job.Args property to the Job class' constructor.
  • Project – Make the lock file usable for both .NET 8.0 and .NET 9.0 builds.
  • Project – Make code generation for cshtml files working on newer platforms.

Hangfire.AspNetCore

  • Fixed – Swallow possible ObjectDisposedException in the StopAsync method.
  • Fixed – Avoid NullReferenceException when LocalIpAddress or RemoteIpAddress is null.

1.8.17

Release Notes

Hangfire.SqlServer

  • FixedInvalidCastException while fetching a job with older schemas regression from 1.8.16.

1.8.16

Release Notes

Hangfire.Core

  • Changed – Include fewer stack frames in exceptions come from IServerFilter implementations.
  • Changed – Don't include file information in the ExceptionDetails property of a FailedState instance.
  • Changed – Switch back to CancellationEvent usage instead of CancellationToken.WaitHandle.
  • Fixed – Don't commit external transaction in the BackgroundJobStateChanger implementation.
  • Fixed – Use safe default serializer settings for Newtonsoft.Json 12.X and below.
  • Project – Fix builds for the net451 platform when using .NET 9.0.
  • Project – Significantly reduce execution time of unit tests in the RecurringJobSchedulerFacts class.
  • Project – Bump Microsoft.CodeAnalysis.NetAnalyzers package to version 9.0.0.

Hangfire.SqlServer

  • Changed – Use vanilla ADO.NET when fetching a job in the SqlServerJobQueue implementation.
  • Changed – Decrease the LockTimeout time when calling the sp_getapplock procedure 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.0 platform.
  • Project – Reduce execution time of integration tests.
  • Project – Disable PoolBlockingPeriod setting on AppVeyor to handle transient test failures.

1.8.15

Release Notes

Hangfire.Core

  • Added – New AutomaticRetryAttribute.ExceptOn property to skip retries for specific exceptions.
  • Changed – Refactor filters pipeline to use less LINQ magic and fewer allocations.
  • Changed – Use GetCultureInfo instead of creating an instance in the CaptureCultureAttribute filter.
  • Changed – Cache some immutable data to avoid extra allocations.
  • Fixed – Improve loopback address detection (by @​meziantou).
  • Fixed – Reformulate misleading error messages regarding retry timings (by @​RGFuaWVs).
  • Fixed – Problem with missing localizations in the previous version.
  • Fixed – Don't hide exception details on Failed Jobs page when the exception message is empty.
  • Fixed – Problems with the first restore when using the build.bat command.
  • Fixed – Better display of canceled recurring jobs in dashboard.
  • Fixed – Less overall allocations with using static delegates and struct-based iterators.
  • Fixed – Improve precision of some diagnostic messages in the wait protection logic.
  • Fixed – Make all private and internal classes sealed to improve code consistency.
  • Fixed – Less overall pressure on garbage collector.

Hangfire.SqlServer

  • Changed – Use query template caching based on schema name to avoid excessive string allocations.
  • Changed – Use static callbacks almost anywhere to avoid unnecessary delegate allocations.
  • Changed – Use QuerySingle* or ReadSingle* where possible to avoid allocating lists.
  • Changed – Unify DbCommand and DbParameter creation logic to improve code consistency.

1.8.14

Release Notes

Hangfire.Core

  • Changed – Partial cache for serialization and deserialization in InvocationData to produce less strings.
  • Changed – Add caching for default type serializer and resolver.
  • Changed – Don't let JobFilter-related logic to show up in profilers.
  • Changed – Modify IProfiler to be less allocatey for diagnostic purposes that almost never run.
  • Changed – Prefer using CancellationToken.WaitHandle again, since early .NET Core days are gone.
  • Changed – Fewer allocations when working with IStateHandler collections in a state machine.
  • Fixed – Redirect the "System.Private.Xml.Linq" assembly to the "System.Xml.Linq" one for better interoperability.
  • Fixed – Don't throw KeyNotFoundException when recurring job is malformed.
  • Fixed – Proper relative path calculation in UrlHelper.To for OWIN-based Dashboard UI (by @​LordJZ).
  • Fixed – Typo in the Turkish localization file (by @​ismkdc).
  • Project – Switch to a modern PowerShell 7+ to speed up SignPath installation on AppVeyor.

Hangfire.SqlServer

  • Changed – Limit polling queries when queues are empty with a semaphore for all configurations.
  • Changed – Use per-queue signaling for same-process workers, instead of having a global signal.
  • Fixed – Don't silently truncate queue names, throw an exception instead.
  • Project – Decrease delays in SQL Server-related tests to complete them faster.

1.8.12

Release Notes

Hangfire.Core

  • AddedMaxDegreeOfParallelismForSchedulers experimental server option if supported by storage.
  • Added – Experimental support for parallel execution of the delayed job scheduler.
  • Added – Experimental support for parallel execution of the recurring job scheduler.
  • Fixed – Recurring job is scheduled to the past after recovering from error with AddOrUpdate.
  • FixedAddOrUpdate triggers execution of a recurring job, even if its next execution is in the future.
  • Fixed – Two very minor errors in the Swedish localization file (by @​Uglack).

Hangfire.SqlServer

  • Fixed – Populate InvocationData and LoadException properties in JobDetails method results.

1.8.11

Release Notes

Hangfire.Core

  • Changed – Add icons and fix metadata for NuGet packages.
  • Changed – Bump ILRepack to version 2.0.27 to avoid problems with internalizing.
  • Fixed – "Type exists in both Cronos and Hangfire.Core" exception.

1.8.10

Release Notes

Hangfire.Core

  • Changed – Added Norwegian translations for new keys (by @​khellang).
  • Changed – Update Brazilian Portuguese translation (by @​HugoAlames).
  • Changed – Bump Cronos dependency to version 0.8.3.

Hangfire.AspNetCore

  • Fixed – Don't check HasStarted in Response.WriteAsync to avoid breaking dispatchers.

Hangfire.SqlServer

  • Changed – Bump Dapper for the netstandard2.0 platform to version 2.1.28.
  • Changed – Bump Dapper for net451 and netstandard1.3 platforms to version 1.60.6.

Hangfire.Core, Hangfire.NetCore, Hangfire.AspNetCore, Hangfire.SqlServer, Hangfire.SqlServer.Msmq

  • Project – Enable NuGet package and DLL signing with a company certificate.
  • Project – Require NuGet package signature validation on restore for dependencies.
  • Project – Add HangfireIO as a package owner.

1.8.9

Release Notes

Please note that version 1.8.8 was unlisted on NuGet because of broken package references.

Hangfire.Core

  • Changed – Use Environment.MachineName as a server name if other environment vars aren't available.
  • Changed – Bump the Cronos package version from 0.7.1 to 0.8.1.
  • Changed – Improve portuguese translations (by @​filipe-silva).
  • Fixed – Possible NullReferenceException on the Deleted Jobs page (regression from 1.8.7).
  • Project – Enable full source link support with embedded symbols and repository-based sources.
  • Project – Enable repeatable package restore using a lock file.
  • Project – Run unit tests against the net6.0 platform.
  • Project – Modernise the build system and clean up the build scripts.

Hangfire.SqlServer

  • Project – Enable full source link support with embedded symbols and repository-based sources.
  • Project – Enable repeatable package restore using a lock file.
  • Project – Run unit tests against the net6.0 platform.

Hangfire.NetCore

  • Project – Enable full source link support with embedded symbols and repository-based sources.
  • Project – Enable repeatable package restore using a lock file.

Hangfire.AspNetCore

  • Fixed – Don't attempt to write response headers when response has already started (by @​maliming).
  • Project – Enable full source link support with embedded symbols and repository-based sources.
  • Project – Enable repeatable package restore using a lock file.

1.8.7

Release Notes

Hangfire.Core

  • Added – Allow using macro expressions like @​hourly for recurring jobs (by @​MuhamedAbdalla).
  • Added – Show storage time in page footer when supported by storage implementation.
  • Added – Show duration and latency columns separately on the Succeeded Jobs page when supported.
  • Added – Show the exception column on the Deleted Jobs page when available and supported by storage.
  • Changed – Reduce package size by stripping unnecessary locales in Moment.js.
  • Changed – Bump Microsoft.Owin package to version 4.2.2.
  • Changed – Log a warning message when a server listens to unsupported queue names (by @​MuhamedAbdalla).
  • Changed – Use storage time, if available, to show delay warnings in the Dashboard UI.
  • Fixed – Proper rendering of generic arguments on the Job Details page (by @​olivermue).
  • Fixed – Language inconsistency in the Dashboard UI related to date/time description.
  • Fixed – Big stack traces take too long time to be formatted.
  • Fixed – Don't throw NullReferenceException from the Scheduled Jobs page when there's a job with missing data.
  • Fixed – Don't throw NullReferenceException from the Processing Jobs page when there's a job with missing data.
  • Fixed – CSS for Enqueued and Deleted state cards in dark theme.
  • Fixed – Log errors instead of throwing an exception when a particular table can't be cleaned.
  • Fixed – Avoid logging fatal exceptions when stopping a faulting background process.
  • Fixed – Don't display checkboxes in the Dashboard UI when job details can not be fetched.
  • Fixed – Scrollbars in WebKit-based browsers are now dark in dark mode.
  • Project – Disable tests for netcoreapp1.0 and netcoreapp2.1 targets since they aren't supported in AppVeyor.
  • Project – Add a net6.0 target for unit tests instead of the removed ones.
  • Project – Modernise projects and build environments to use the newest features.

Hangfire.SqlServer

  • Changed – Avoid throwing an exception when a connection string has duplicate property names.
  • Project – Disable tests for netcoreapp1.0 and netcoreapp2.1 targets since they aren't supported in AppVeyor.
  • Project – Add a net6.0 target for unit tests instead of the removed ones.
  • Project – Modernise projects and build environments to use the newest features.

Commits viewable in compare view.

Updated Hangfire.MemoryStorage from 1.8.0 to 1.8.1.2.

Release notes

Sourced from Hangfire.MemoryStorage's releases.

1.8.1

What's Changed

New Contributors

Full Changelog: perrich/Hangfire.MemoryStorage@1.7.1...1.8.1

Commits viewable in compare view.

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps Hangfire to 1.8.21
Bumps Hangfire.MemoryStorage to 1.8.1.2

---
updated-dependencies:
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire
  dependency-version: 1.8.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
- dependency-name: Hangfire.MemoryStorage
  dependency-version: 1.8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: hangfire
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants