Bump Hangfire.AspNetCore from 1.7.25 to 1.8.20 #86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated Hangfire.AspNetCore from 1.7.25 to 1.8.20.
Release notes
Sourced from Hangfire.AspNetCore's releases.
1.8.20
Release Notes
Hangfire.Core
1.8.19
Release Notes
Hangfire.Core
Hangfire.SqlServer
1.8.18
Release Notes
Hangfire.Core
DashboardOptions.ServerPossiblyAbortedThresholdto configure a custom threshold for "possibly aborted" warnings.CultureInfo-related differences after upgrading to 1.8.15–1.8.17.AsyncLocalvalues from synchronous background job methods.Job.Argsproperty to theJobclass' constructor.cshtmlfiles working on newer platforms.Hangfire.AspNetCore
ObjectDisposedExceptionin theStopAsyncmethod.NullReferenceExceptionwhenLocalIpAddressorRemoteIpAddressis null.1.8.17
Release Notes
Hangfire.SqlServer
InvalidCastExceptionwhile fetching a job with older schemas regression from 1.8.16.1.8.16
Release Notes
Hangfire.Core
IServerFilterimplementations.ExceptionDetailsproperty of a FailedState instance.CancellationEventusage instead ofCancellationToken.WaitHandle.BackgroundJobStateChangerimplementation.net451platform when using .NET 9.0.RecurringJobSchedulerFactsclass.Microsoft.CodeAnalysis.NetAnalyzerspackage to version 9.0.0.Hangfire.SqlServer
SqlServerJobQueueimplementation.LockTimeouttime when calling thesp_getapplockprocedure to 1 second for less blocking.net6.0platform.PoolBlockingPeriodsetting on AppVeyor to handle transient test failures.1.8.15
Release Notes
Hangfire.Core
AutomaticRetryAttribute.ExceptOnproperty to skip retries for specific exceptions.GetCultureInfoinstead of creating an instance in theCaptureCultureAttributefilter.build.batcommand.Hangfire.SqlServer
stringallocations.QuerySingle* orReadSingle* where possible to avoid allocating lists.DbCommandandDbParametercreation logic to improve code consistency.1.8.14
Release Notes
Hangfire.Core
InvocationDatato produce less strings.JobFilter-related logic to show up in profilers.IProfilerto be less allocatey for diagnostic purposes that almost never run.CancellationToken.WaitHandleagain, since early .NET Core days are gone.IStateHandlercollections in a state machine.KeyNotFoundExceptionwhen recurring job is malformed.UrlHelper.Tofor OWIN-based Dashboard UI (by @LordJZ).Hangfire.SqlServer
1.8.12
Release Notes
Hangfire.Core
MaxDegreeOfParallelismForSchedulersexperimental server option if supported by storage.AddOrUpdate.AddOrUpdatetriggers execution of a recurring job, even if its next execution is in the future.Hangfire.SqlServer
InvocationDataandLoadExceptionproperties inJobDetailsmethod results.1.8.11
Release Notes
Hangfire.Core
1.8.10
Release Notes
Hangfire.Core
Hangfire.AspNetCore
HasStartedinResponse.WriteAsyncto avoid breaking dispatchers.Hangfire.SqlServer
netstandard2.0platform to version 2.1.28.net451andnetstandard1.3platforms to version 1.60.6.Hangfire.Core, Hangfire.NetCore, Hangfire.AspNetCore, Hangfire.SqlServer, Hangfire.SqlServer.Msmq
HangfireIOas 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
Environment.MachineNameas a server name if other environment vars aren't available.NullReferenceExceptionon the Deleted Jobs page (regression from 1.8.7).net6.0platform.Hangfire.SqlServer
net6.0platform.Hangfire.NetCore
Hangfire.AspNetCore
1.8.7
Release Notes
Hangfire.Core
@hourlyfor recurring jobs (by @MuhamedAbdalla).NullReferenceExceptionfrom the Scheduled Jobs page when there's a job with missing data.NullReferenceExceptionfrom the Processing Jobs page when there's a job with missing data.netcoreapp1.0andnetcoreapp2.1targets since they aren't supported in AppVeyor.net6.0target for unit tests instead of the removed ones.Hangfire.SqlServer
netcoreapp1.0andnetcoreapp2.1targets since they aren't supported in AppVeyor.net6.0target for unit tests instead of the removed ones.1.8.6
Release Notes
Hangfire.Core
EditorBrowsableAttribute(Never).AutomaticRetryAttributeclass from JSON.CurrentCultureinstead ofCurrentUICulturewhen displaying time.Hangfire.SqlServer
DbCommandresource leak when releasing a lock detected by static analysis.Hangfire.NetCore
1.8.5
Release Notes
Hangfire.Core
FaviconPathonDashboardOptions(by @cezar-pimentel).AutomaticRetryAttributefilter to JSON.Hangfire.SqlServer
Schema 5.1.8.4
Release Notes
Hangfire.Core
PerformContext.ServerIdproperty available in filters.Hangfire.NetCore
ObjectDisposedException.IHostedServiceimplementations can block Hangfire server from being stopped.1.8.3
Release Notes
Hangfire.Core
MaxLinesInStackTracefor a particularFailedStateinstance.DisableConcurrentExecutionAttributeandLatencyTimeoutAttributeserializable.1.8.2
Release Notes
Hangfire.Core
Hangfire.SqlServer
InvalidOperationExceptionwith new dashboard metrics when a database has multiple data/log files.1.8.1
Release Notes
Hangfire.Core
MisfireHandlingMode.Ignorableto avoid scheduling recurring jobs on missed schedules.DashboardOptions.DarkModeEnabledproperty.WithJobExpirationTimeoutconfiguration method.UseDefaultCultureconfiguration method overloads.UseDashboardStylesheetandUseJobDetailsRendererconfiguration methods.state-card-state-activecolor is not very dark (by @coolhome).Hangfire.SqlServer
forceseektable hint whenever possible to avoid performance drops.Hangfire.NetCore
net461target for Hangfire.NetCore package to avoid missing method exceptions.1.8.0
Release Notes
Please see more human-friendly release notes in our blog https://www.hangfire.io/blog/2023/04/28/hangfire-1.8.0.html. Please see https://docs.hangfire.io/en/latest/upgrade-guides/upgrading-to-hangfire-1.8.html to learn how to upgrade.
Hangfire.Core
NET45platform target in favor of theNET451target to support Visual Studio 2022.Job.Queueproperty, so jobs now can have their own queue specified.IBackgroundJobClient.Createmethod overloads with the newqueueparameter.AutomaticRetryAttributeby using the newOnlyOnproperty.DeletedStatenow has the persistedExceptionproperty populated after a failure.JobContinuationOptions.OnlyOnDeletedStateto create continuations after a failure.Exceptionjob parameter is passed to continuation whenUseResultsInContinuationsmethod is used.FromExceptionAttributeto deal with an antecedent exception in a background job continuation.JobContinuationOptionsvalues for a continuation.BackgroundJobServerOptions.IsLightweightServeroption to run a server with no storage processes.DisableConcurrentExecutionfilter.ServerIdtoFailedStateinstances to simplify the debugging on different servers.MisfireHandlingMode.Strictto create a job for each missed recurring job occurrence.UseDefaultCultureconfiguration method.captureDefaultparameter in theCaptureCulturefilter.IGlobalConfiguration.UseFilterProviderextension method to unify the configuration.Removemethod forJobFilterCollectionto remove global filters based on their type.CompatibilityLevel.Version_180flag to avoid storing culture parameters when they are the same as the default ones.Transaction.CreateJobfeature is supported by the storage.DeletedStateinstead ofSucceededStatewhen its invocation was canceled by a filter.CurrentCultureparameter whenCurrentUICultureone is missing.BackgroundJobServerOptions.StopTimeoutto 500 ms.AddOrUpdateoverloads with optional params defined in theRecurringJobManagerExtensionsclass.AddOrUpdateoverloads with optional parameters defined in theRecurringJobclass.AddOrUpdatemethod overloads with norecurringJobIdparameter.RecurringJobOptions.QueueNameproperty, new methods should be used instead.NET45platform target in favor ofNET451target to support Visual Studio 2022.Dashboard UI
DashboardRoutesclass.DefaultRecordsPerPageproperty on theDashboardOptionsclass (by @PaulARoy).IGlobalConfiguration.UseJobDetailsRenderermethod for custom renderers for the Job Details page.IGlobalConfiguration.UseDashboardMetricsextension method to pass multiple metrics at once.DeletedStateto display its new exception property.MonitoringApimethods for the Awaiting Jobs page.... (truncated)
1.8.0-rc4
Release Notes
Hangfire.Core
DefaultRecordsPerPageproperty on theDashboardOptionsclass (by @PaulARoy).Hangfire.NetCore
ObjectDisposedExceptionwhen hosted service disposed twice.Hangfire.SqlServer
Schema 9migration that creates index for theState.CreatedAtcolumn.InactiveStateExpirationTimeoutis set.DefaultQueueProvideroption to specify a custom default queue provider.1.8.0-rc3
Release Notes
Please see release notes in our blog – https://www.hangfire.io/blog/2023/03/30/hangfire-1.8.0-rc3.html.
Hangfire.Core
captureDefaultparameter in theCaptureCulturefilter.StatisticsDto.Awaitingfor monitoring stats.JobStorageFeaturesclass to avoid using magic strings in storage features.captureDefaultwhen dealing with default cultures instead of compatibility level.SetContainstoGetSetContainsfor consistency.Monitoring.AwaitingJobsfeature.BatchedGetFirstByLowestfeature.NotSupportedExceptionfrom new storage methodsJobStorageMonitorvirtual, not abstract.Job.Queuefeature not supported.AttemptsExceededAction.Deleteoption by default in the global automatic retry filter.Hangfire.SqlServer
Monitoring.AwaitingJobsfeature for SQL storage.Transaction.AcquireDistributedLockfeature.GetSetCount.Limited feature.GetSetContains feature.1.8.0-rc2
Release Notes
Hangfire.Core
UseDefaultCultureconfiguration method.CompatibilityLevel.Version_180flag to avoid storing culture parameters when they are the same as default.BackgroundJobServerOptions.IsLightweightServeroption to run server with no storage processes.CurrentCultureparameter whenCurrentUICultureone is missing.Hangfire.SqlServer
Hangfire.NetCore
net451andnetstandard1.3targets for the package.netstandard2.1target instead ofnetcoreapp3.0for the package.Hangfire.AspNetCore
1.8.0-rc1
Release Notes
Hangfire.Core
Job.Queueproperty, so jobs now can have their own queue specified.IBackgroundJobClient.Createmethod overloads with the newqueueparameter.JobContinuationOptions.OnlyOnDeletedStateto create continuations after a failure.JobContinuationOptionsvalues for a continuation.DisableConcurrentExecutionfilter.ServerIdtoFailedStateinstances to simplify the debugging on different servers.MisfireHandlingMode.Strictto create job for each missed recurring job occurrence.DeletedStatenow have the persistedExceptionproperty populated after a failure.Exceptionjob parameter is passed to continuation whenUseResultsInContinuationsmethod is used.FromExceptionAttributeto deal with an antecedent exception in a background job continuation.AutomaticRetryAttributeby using the newOnlyOnproperty.Removemethod forJobFilterCollectionto remove global filters based on their type.IGlobalConfiguration.UseFilterProviderextension method to unify the configuration.AttemptsExceededAction.Deleteoption by default in the global automatic retry filter.BackgroundJobServerOptions.StopTimeoutto 500 ms.DeletedStateinstead ofSucceededStatewhen its invocation was canceled by a filter.AddOrUpdateoverloads with optional params defined in theRecurringJobManagerExtensionsclass.AddOrUpdateoverloads with optional parameters defined in theRecurringJobclass.AddOrUpdatemethod overloads with norecurringJobIdparameter.RecurringJobOptions.QueueNameproperty, new methods should be used instead.NET45platform target in favor ofNET451target to support Visual Studio 2022.Dashboard UI
UseDarkModeSupportForDashboardmethod (by @danillewin).DashboardRoutesclass.IGlobalConfiguration.UseJobDetailsRenderermethod for custom renderers for Job Details page.IGlobalConfiguration.UseDashboardMetricsextension method to pass multiple metrics at once.DeletedStateto display its new exception property.defaultone.Extensibility
Factory,StateMachineandPerformerproperties to context classes to avoid injecting services.ApplyStateContextandElectStateContextinstances.... (truncated)
1.8.0-beta4
Release Notes
Hangfire.Core
UseDarkModeSupportForDashboardmethod.DashboardRoutesclass.DisableConcurrentExecutionAttribute.BackgroundJobServerOptions.StopTimeoutto 500 ms.Hangfire.SqlServer
TryAutoDetectSchemaDependentOptionsoption to automatically enable options based on schema.GetJobDatanow populatesJobData.ParametersSnapshotproperty to avoid additional round-trips.QueuePollIntervalis set to zero now defaults to 200 ms.UsePageLocksOnDequeueoption is now obsolete and doesn't affect anything.1.8.0-beta3
Release Notes
Hangfire.Core
Job.Queueproperty, so jobs now can have their own queue specified.IBackgroundJobClient.Createmethod overloads with the newqueueparameter.JobStorageConnection.SetContainsmethod.ServerIdtoFailedStateinstances to simplify the debugging on different servers.defaultone.TaskExtensions.WaitOneAsynconly with theRegisterWaitForSingleObjectmethod.nullvalue before passing it to renderers (regression).AddOrUpdateoverloads with optional params defined in theRecurringJobManagerExtensionsclass.AddOrUpdateoverloads with optional parameters defined in theRecurringJobclass.AddOrUpdatemethod overloads with norecurringJobIdparameter.RecurringJobOptions.QueueNameproperty, new methods should be used instead.Hangfire.SqlServer
Connection.GetUtcDateTimefeature to make work new changes in schedulers.1.8.0-beta2
Release Notes
Hangfire.Core
MisfireHandlingMode.Strictto create job for each missed recurring job occurrence.JobContinuationOptionsfor a continuation.CreateJobmethod to theJobStorageTransactionabstract class.SetJobParametermethod to theJobStorageTransactionabstract class.JobContinuationOptionsenum into flags while still possible.FromParameterattribute.OnlyOnDeletedStateoption.Hangfire.SqlServer
QueuePollIntervaloption toTimeSpan.Zero.UseRecommendedIsolationLeveloption by default.1.8.0-beta1
Release Notes
Hangfire.Core
DeletedStatenow have the persistedExceptionproperty.JobContinuationOptions.OnlyOnDeletedStateto create continuations after a failure.Exceptionjob parameter is passed to continuation whenUseResultsInContinuationsmethod is used.FromExceptionAttributeto deal with an antecedent exception in a background job continuation.AutomaticRetryAttributeby using the newOnlyOnproperty.IBackgroundProcess.UseBackgroundPoolnow allows to pass thread configuration logic.IGlobalConfiguration.UseJobDetailsRenderermethod for custom renderers.BackgroundJobServerOptions.WorkerThreadConfigurationActionoptionApplyStateContextandElectStateContextinstances.IGlobalConfiguration.UseDashboardMetricsextension method to pass multiple metrics at once.DeletedStateto display its new exception property.JobStorage.GetReadOnlyConnectionmethod intended to returnJobStorageConnectionfor replicas.JobStorage.HasFeaturemethod for querying optional features.GetSetCountandGetUtcDateTimemethods for theJobStorageConnectionclass.AcquireDistributedLockandRemoveFromQueuemethods for theJobStorageTransactionclass.Factory,StateMachineandPerformerproperties to context classes to avoid injecting services.ParametersSnapshotproperty forBackgroundJobandJobDataclasses to minimize roundtrips in future.AttemptsExceededAction.Deleteoption by default in the global automatic retry filter.DeletedStateinstead ofSucceededStatewhen its invocation was canceled by a filter.FromParameterAttribute-based logic now always overwrites arguments, even with non-null values.JobFilterAttributeinstance to decrease sizeServerHeartbeatProcessnow usesThreadPriority.AboveNormalto prioritize heartbeats.Hangfire.SqlServer
JobQueue.Idcolumn to usebiginttype.SqlServerStorageOptions.PreferMicrosoftDataSqlClientoption to use the corresponding package.SqlServerStorage.SchemaVersionmetric for Dashboard UI.UseTransactionalAcknowledgeoption).Hangfire.NetCore and Hangfire.AspNetCore
IApplicationBuilder.UseHangfireServerthat accepts custom factory forIBackgroundProcessingServer.1.7.37
Release Notes
AddOrUpdate(backported).AddOrUpdatetriggers execution of a recurring job, even if its next execution is in the future (backported).1.7.36
Release Notes
Hangfire.Core
Hangfire.NetCore and Hangfire.AspNetCore
nullin hosted service to avoidObjectDisposedException.1.7.35
Release Notes
Hangfire.SqlServer
1.7.34
Release Notes
Hangfire.Core
BackgroundJobandIBackgroundJobClient(by @chrischu).ArgumentNullExceptionwith tricky generic type with inheritance case for jobs.1.7.33
Release Notes
Hangfire.SqlServer
MinPollingDelayMsfor SQL Server to 100 milliseconds.Hangfire.AspNetCore
IAsyncDisposableforIServiceScopeinstances for newer .NET platforms.1.7.32
Release Notes
Hangfire.Core
JobStorage.Currentis not initialized.TypeHelperSerializationBinderclass public to use it from custom serializer settings.IJobCancellationTokeninterface method (by @judah4).Hangfire.NetCore and Hangfire.AspNetCore
AddHangfireServer.nullas result ofStopAsyncin hosted service implementation (by @tomaszek92).1.7.31
Release Notes
Hangfire.Core
RecurringJob.TriggerJobmethod that returns identifier of a triggered background job.RecurringJobManager.TriggerJobas a replacement for theTriggerExecutionmethod.RecurringJobclass.RecurringJob.Triggermethod is now obsolete,TriggerJobis the replacement.RecurringJobManager.TriggerExecutionmethod is now obsolete,TriggerJobshould be used instead.New Contributors
Full Changelog: HangfireIO/Hangfire@v1.7.30...v1.7.31
1.7.30
Release Notes
SecurityExceptionas a non-catchable one.AspNetShutdownDetectorto avoid depending on thread pool.AspNetShutdownDetector's check intervals to detect shutdowns earlier.1.7.29
Release Notes
Hangfire.Core
RecurringJobManager.TriggerExecutionmethod that returns identifier of a created job.GetRecurringJobIdsextension method forJobStorageConnectionthat returns only identifiers.DashboardMetric.Urlproperty to make it possible for metrics on the Overview page to be clickable (by @twinmind).DateOnlyandTimeOnlyin .NET 6.0 or other new types in CoreLib.OutOfMemoryExceptionorStackOverflowException.ManualResetEventinstance inBackgroundExecution.Hangfire.SqlServer
1.7.28
Release Notes
Hangfire.Core
BackgroundJobStateChangerto avoid infinite loops.Hangfire.SqlServer
1.7.27
Release Notes
Hangfire.Core
1.7.26
Security Patch
This security patch fixes a regression appeared in the previous version 1.7.25 that makes Dashboard UI available for remote requests in the default configuration, e.g. when no authentication filter specified. Please note that when custom authentication filter is defined as recommended in the documentation, everything works as expected, but upgrade is recommended in any case. Please read the GHSA-7rq6-7gv8-c37h security advisory for details.
Hangfire.Core
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)