-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Hangfire monorepo to 1.8.17 #7
base: main
Are you sure you want to change the base?
Conversation
452350c
to
bdbf48a
Compare
bdbf48a
to
e499ae7
Compare
e499ae7
to
4bd8ea9
Compare
4bd8ea9
to
04dfda7
Compare
04dfda7
to
8a2e7db
Compare
8a2e7db
to
0e3eaba
Compare
0e3eaba
to
2e8ab69
Compare
2e8ab69
to
c09b2c9
Compare
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
c09b2c9
to
7dd94a0
Compare
7dd94a0
to
f6a5537
Compare
f6a5537
to
41a4b63
Compare
This PR contains the following updates:
1.7.34
->1.8.17
1.7.33
->1.8.17
1.7.32
->1.8.17
1.7.32
->1.8.17
1.7.32
->1.8.17
Release Notes
HangfireIO/Hangfire (HangFire)
v1.8.17
: 1.8.17Release Notes
Hangfire.SqlServer
InvalidCastException
while fetching a job with older schemas regression from 1.8.16.v1.8.16
: 1.8.16Release Notes
Hangfire.Core
IServerFilter
implementations.ExceptionDetails
property of a FailedState instance.CancellationEvent
usage instead ofCancellationToken.WaitHandle
.BackgroundJobStateChanger
implementation.net451
platform when using .NET 9.0.RecurringJobSchedulerFacts
class.Microsoft.CodeAnalysis.NetAnalyzers
package to version 9.0.0.Hangfire.SqlServer
SqlServerJobQueue
implementation.LockTimeout
time when calling thesp_getapplock
procedure to 1 second for less blocking.net6.0
platform.PoolBlockingPeriod
setting on AppVeyor to handle transient test failures.v1.8.15
: 1.8.15Release Notes
Hangfire.Core
AutomaticRetryAttribute.ExceptOn
property to skip retries for specific exceptions.GetCultureInfo
instead of creating an instance in theCaptureCultureAttribute
filter.build.bat
command.Hangfire.SqlServer
string
allocations.QuerySingle
* orReadSingle
* where possible to avoid allocating lists.DbCommand
andDbParameter
creation logic to improve code consistency.v1.8.14
: 1.8.13 & 1.8.14Release Notes
Hangfire.Core
InvocationData
to produce less strings.JobFilter
-related logic to show up in profilers.IProfiler
to be less allocatey for diagnostic purposes that almost never run.CancellationToken.WaitHandle
again, since early .NET Core days are gone.IStateHandler
collections in a state machine.KeyNotFoundException
when recurring job is malformed.UrlHelper.To
for OWIN-based Dashboard UI (by @LordJZ).Hangfire.SqlServer
v1.8.12
: 1.8.12Release Notes
Hangfire.Core
MaxDegreeOfParallelismForSchedulers
experimental server option if supported by storage.AddOrUpdate
.AddOrUpdate
triggers execution of a recurring job, even if its next execution is in the future.Hangfire.SqlServer
InvocationData
andLoadException
properties inJobDetails
method results.v1.8.11
: 1.8.11Release Notes
Hangfire.Core
v1.8.10
: 1.8.10Release Notes
Hangfire.Core
Hangfire.AspNetCore
HasStarted
inResponse.WriteAsync
to avoid breaking dispatchers.Hangfire.SqlServer
netstandard2.0
platform to version 2.1.28.net451
andnetstandard1.3
platforms to version 1.60.6.Hangfire.Core, Hangfire.NetCore, Hangfire.AspNetCore, Hangfire.SqlServer, Hangfire.SqlServer.Msmq
HangfireIO
as a package owner.v1.8.9
: 1.8.9Release Notes
Please note that version 1.8.8 was unlisted on NuGet because of broken package references.
Hangfire.Core
Environment.MachineName
as a server name if other environment vars aren't available.NullReferenceException
on the Deleted Jobs page (regression from 1.8.7).net6.0
platform.Hangfire.SqlServer
net6.0
platform.Hangfire.NetCore
Hangfire.AspNetCore
v1.8.7
: 1.8.7Release Notes
Hangfire.Core
@hourly
for recurring jobs (by @MuhamedAbdalla).NullReferenceException
from the Scheduled Jobs page when there's a job with missing data.NullReferenceException
from the Processing Jobs page when there's a job with missing data.netcoreapp1.0
andnetcoreapp2.1
targets since they aren't supported in AppVeyor.net6.0
target for unit tests instead of the removed ones.Hangfire.SqlServer
netcoreapp1.0
andnetcoreapp2.1
targets since they aren't supported in AppVeyor.net6.0
target for unit tests instead of the removed ones.v1.8.6
: 1.8.6Release Notes
Hangfire.Core
EditorBrowsableAttribute(Never)
.AutomaticRetryAttribute
class from JSON.CurrentCulture
instead ofCurrentUICulture
when displaying time.Hangfire.SqlServer
DbCommand
resource leak when releasing a lock detected by static analysis.Hangfire.NetCore
v1.8.5
: 1.8.5Release Notes
Hangfire.Core
FaviconPath
onDashboardOptions
(by @cezar-pimentel).AutomaticRetryAttribute
filter to JSON.Hangfire.SqlServer
Schema 5
.v1.8.4
: 1.8.4Release Notes
Hangfire.Core
PerformContext.ServerId
property available in filters.Hangfire.NetCore
ObjectDisposedException
.IHostedService
implementations can block Hangfire server from being stopped.v1.8.3
: 1.8.3Release Notes
Hangfire.Core
MaxLinesInStackTrace
for a particularFailedState
instance.DisableConcurrentExecutionAttribute
andLatencyTimeoutAttribute
serializable.v1.8.2
: 1.8.2Release Notes
Hangfire.Core
Hangfire.SqlServer
InvalidOperationException
with new dashboard metrics when a database has multiple data/log files.v1.8.1
: 1.8.1Release Notes
Hangfire.Core
MisfireHandlingMode.Ignorable
to avoid scheduling recurring jobs on missed schedules.DashboardOptions.DarkModeEnabled
property.WithJobExpirationTimeout
configuration method.UseDefaultCulture
configuration method overloads.UseDashboardStylesheet
andUseJobDetailsRenderer
configuration methods.state-card-state-active
color is not very dark (by @coolhome).Hangfire.SqlServer
forceseek
table hint whenever possible to avoid performance drops.Hangfire.NetCore
net461
target for Hangfire.NetCore package to avoid missing method exceptions.v1.8.0
: 1.8.0Release 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
NET45
platform target in favor of theNET451
target to support Visual Studio 2022.Job.Queue
property, so jobs now can have their own queue specified.IBackgroundJobClient.Create
method overloads with the newqueue
parameter.AutomaticRetryAttribute
by using the newOnlyOn
property.DeletedState
now has the persistedException
property populated after a failure.JobContinuationOptions.OnlyOnDeletedState
to create continuations after a failure.Exception
job parameter is passed to continuation whenUseResultsInContinuations
method is used.FromExceptionAttribute
to deal with an antecedent exception in a background job continuation.JobContinuationOptions
values for a continuation.BackgroundJobServerOptions.IsLightweightServer
option to run a server with no storage processes.DisableConcurrentExecution
filter.ServerId
toFailedState
instances to simplify the debugging on different servers.MisfireHandlingMode.Strict
to create a job for each missed recurring job occurrence.UseDefaultCulture
configuration method.captureDefault
parameter in theCaptureCulture
filter.IGlobalConfiguration.UseFilterProvider
extension method to unify the configuration.Remove
method forJobFilterCollection
to remove global filters based on their type.CompatibilityLevel.Version_180
flag to avoid storing culture parameters when they are the same as the default ones.Transaction.CreateJob
feature is supported by the storage.DeletedState
instead ofSucceededState
when its invocation was canceled by a filter.CurrentCulture
parameter whenCurrentUICulture
one is missing.BackgroundJobServerOptions.StopTimeout
to 500 ms.AddOrUpdate
overloads with optional params defined in theRecurringJobManagerExtensions
class.AddOrUpdate
overloads with optional parameters defined in theRecurringJob
class.AddOrUpdate
method overloads with norecurringJobId
parameter.RecurringJobOptions.QueueName
property, new methods should be used instead.NET45
platform target in favor ofNET451
target to support Visual Studio 2022.Dashboard UI
DashboardRoutes
class.DefaultRecordsPerPage
property on theDashboardOptions
class (by @PaulARoy).IGlobalConfiguration.UseJobDetailsRenderer
method for custom renderers for the Job Details page.IGlobalConfiguration.UseDashboardMetrics
extension method to pass multiple metrics at once.DeletedState
to display its new exception property.MonitoringApi
methods for the Awaiting Jobs page.default
one.Extensibility
Factory
,StateMachine
, andPerformer
properties to context classes to avoid injecting services.ApplyStateContext
andElectStateContext
instances.JobFilterAttribute
instance to decrease the payload size.Storage
JobStorage.GetReadOnlyConnection
method intended to returnJobStorageConnection
for replicas.JobStorage.HasFeature
method for querying optional features.JobStorageFeatures
class to avoid using magic strings in storage features.GetSetCount
,GetSetContains
, andGetUtcDateTime
methods for theJobStorageConnection
class.AcquireDistributedLock
andRemoveFromQueue
methods for theJobStorageTransaction
class.CreateJob
andSetJobParameter
methods for theJobStorageTransaction
class.ParametersSnapshot
property forBackgroundJob
andJobData
classes to minimize roundtrips in the future.Retries
andAwaiting
metrics inStatisticsDto
properties when supported by storage.JobStorageMonitor
class with more available methods for the new features.Monitoring.AwaitingJobs
feature.Internals
IBackgroundProcess.UseBackgroundPool
now allows to pass thread configuration logic.BackgroundJobServerOptions.WorkerThreadConfigurationAction
option for custom thread configuration.FromParameterAttribute
-based logic now always overwrites arguments, even with non-null values.JobContinuationOptions
enum into flags while still possible.TaskExtensions.WaitOneAsync
only with theRegisterWaitForSingleObject
method.ServerHeartbeatProcess
now usesThreadPriority.AboveNormal
to prioritize heartbeats.Hangfire.NetCore
IApplicationBuilder.UseHangfireServer
that accepts custom factory forIBackgroundProcessingServer
.net451
andnetstandard1.3
targets for the package.netstandard2.1
target instead ofnetcoreapp3.0
for the package.ObjectDisposedException
when hosted service is disposed twice.Hangfire.AspNetCore
IApplicationBuilder.UseHangfireServer
that accepts custom factory forIBackgroundProcessingServer
.Hangfire.SqlServer
NET45
platform target in favor of theNET451
target to support Visual Studio 2022.Schema 8
migration with fixedJobQueue.Id
column to use thebigint
type.Schema 9
migration that creates an index for theState.CreatedAt
column.System.Data.SqlClient
(by @0xced).SqlServerStorageOptions.DbProviderFactory
option to use a custom provider factory.InactiveStateExpirationTimeout
is set.TryAutoDetectSchemaDependentOptions
option to automatically enable options based on the schema.UseTransactionalAcknowledge
option).Connection.GetUtcDateTime
feature to make work the new changes in schedulers.SqlServerStorage.SchemaVersion
metric for Dashboard UI.DefaultQueueProvider
option to specify a custom default queue provider.QueuePollInterval
option toTimeSpan.Zero
.QueuePollInterval
is set to zero now defaults to 200 ms.UseRecommendedIsolationLevel
option by default.GetJobData
now populates theJobData.ParametersSnapshot
property to avoid additional roundtrips.Transaction.AcquireDistributedLock
feature.GetSetCount.Limited feature
.GetSetContains feature
.Monitoring.AwaitingJobs
feature for SQL storage.UsePageLocksOnDequeue
option is now obsolete and doesn't affect anything.Hangfire.SqlServer.Msmq
NET45
platform target in favor of theNET451
target to support Visual Studio 2022.v1.7.37
: 1.7.37Release Notes
AddOrUpdate
(backported).AddOrUpdate
triggers execution of a recurring job, even if its next execution is in the future (backported).v1.7.36
: 1.7.36Release Notes
Hangfire.Core
Hangfire.NetCore and Hangfire.AspNetCore
null
in hosted service to avoidObjectDisposedException
.v1.7.35
: 1.7.35Release Notes
Hangfire.SqlServer
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.