Skip to content

Update dependency Quartz.AspNetCore to v4 - #1373

Open
renovate[bot] wants to merge 1 commit into
dev8from
renovate/major-quartznet-monorepo
Open

renovate[bot] wants to merge 1 commit into
dev8from
renovate/major-quartznet-monorepo

Conversation

@renovate

@renovate renovate Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
Quartz.AspNetCore (source) 3.14.0 → 4.9.2 age confidence

Release Notes

quartznet/quartznet (Quartz.AspNetCore)

v4.9.2

4.9.2 fixes five problems found in 4.9: jobs failing to build under PropertyMismatchBehavior.Throw, the dashboard resetting a Blazor host's circuit settings, store-attached dashboards that could not use the application's data source, a DeleteJob that failed when a trigger of the job finished at the same moment, and an HTTP API whose OpenAPI document failed under native AOT or trimming. It also makes the cluster-observer switch public for admin processes. There is no schema change, and the only API change is an addition.

Fixed

  • A job built with PropertyMismatchBehavior.Throw no longer fails on Quartz's own data keys (#​4532, from #​4515). PropertySettingJobFactory tried to set a job property for every QRTZ_ key Quartz writes into a firing's data, and with Throw each one failed the firing. Those are a manual run's mark, a job input, a backfill's slot, a recovered firing's original trigger, and the trace context that PropagateTraceContext, on by default, leaves on a trigger scheduled inside an activity. So every Run now, TriggerJob, backfill, recovered RequestRecovery job and job given an input (UsingInput, TriggerJobAndWait<TInput>) failed to build, and so did every firing of a trigger scheduled inside a trace. Keys starting QRTZ_ are now passed over.
  • Adding the dashboard keeps a Blazor Server host's circuit settings (#​4525, fixes #​4521). AddQuartzDashboard() re-ran Blazor's server registration, which put the host's tuned options for its circuit hub, such as ClientTimeoutInterval and MaximumReceiveMessageSize, back to their defaults. Its own AddSignalR() also set WebSocketOptions.KeepAliveInterval back to zero. The dashboard now registers Blazor only when the host has not, whichever comes first, and leaves the keep-alive alone. A host with SignalR but no Blazor Server should configure the keep-alive after AddQuartzDashboard().
  • A store-attached dashboard can use the data source the application registered (#​4523, fixes #​4518). AttachStore's discovery probe and its windows built their own containers, so a recipe written as the nodes write it threw on every discovery round, and no window opened. The recipes affected used DataSourceServiceKey, DataSourceFactory, UseRegisteredDataSource or ConnectionStringName. Those now resolve against the application's own container, and so does a factory that reads the application's options. Runtime tenants added with ISchedulerRuntime.Add get the same. A data source taken from the application is never disposed by the dashboard.
  • DeleteJob no longer fails when a trigger of the job finishes while it deletes (#​4531, reported by @​GaryBesta as #​322 in 2016). DeleteJob lists a job's triggers, then unschedules each, and threw SchedulerException "Unable to unschedule trigger … while deleting job …" when one had gone in between: most often right after TriggerJob, whose one run finished first. The trigger is gone, which is what the delete wants, so the delete now goes on.
  • The HTTP API's OpenAPI document generates under native AOT and trimming (#​4535, fixes #​4528, reported by @​wlingxiao). With reflection-based JSON off, generating the document threw NotSupportedException for Quartz.AspNetCore.HttpApi.OpenApi.Calendar, the first of the internal OpenAPI types Quartz's endpoints describe themselves with that had no generated metadata; the trigger listing's state filter had none either. The types are internal, so an application could not add the metadata itself. Quartz now adds that metadata to the application's JSON options, behind reflection, so an application with reflection on answers as before.

Added

  • AdoJobStoreOptions.ClusterObserver is public, with store.UseClusterObserver() and the flat key quartz.jobStore.clusterObserver (#​4524, fixes #​4519). An admin process that shares the cluster's store and scheduler name can say it only observes: its Start() is refused before recovery or check-in, and it never appears in the node listing. ZeroSizeThreadPool alone does not stop a start from running recovery. See Admin process in the external-leader how-to.

Compatibility

  • No schema change and no migration. 4.9.0, 4.9.1 and 4.9.2 nodes run side by side in one cluster.
  • API additions only: AdoJobStoreOptions.ClusterObserver and ClusterObserverExtensions.UseClusterObserver.
  • Behaviour a 4.9.1 application may notice:
    • DeleteJob returns where it threw, and returns false for a non-durable job its store already removed with that trigger.
    • PropertyMismatchBehavior.Warn no longer logs for QRTZ_ keys.
    • A Blazor Server host's circuit, hub and WebSocket keep-alive settings stand beside the dashboard.
  • The QRTZ_ fix works per node. Under Throw, a manual run or a traced trigger that fires on a 4.9.0 or 4.9.1 node still fails until every node runs 4.9.2.
  • An admin process rolled back to 4.9.1 is no observer. 4.9.1 refuses the flat key quartz.jobStore.clusterObserver, and ignores Quartz:JobStore:ClusterObserver, so that process would start and run recovery.
  • The 4.9.2 rows of the migration guide's Upgrading from 4.8 to 4.9 list each change.

The dashboard fix (#​4526) is on the 3.x branch, and the DeleteJob fix goes there too, for the next 3.22.x.

What's Changed

Other changes
  • 4.9.2 brings the data-source, cluster-observer, Blazor-host, QRTZ_ key, DeleteJob and OpenAPI-under-AOT fixes to the 4.9.x line by @​lahma in #​4532

Full Changelog: quartznet/quartznet@v4.9.1...v4.9.2

v4.9.1

4.9.1 fixes the dashboard. Adding it no longer shrinks the execution history an application sized itself, the Agenda opens under a custom dashboard path, and long names and keys stay where they belong. There is no public API change and no schema change.

Fixed

  • Adding the dashboard leaves the execution history's bounds as the application set them (#​4501, fixes #​4499). AddQuartzDashboard() wrote its HistoryRetention and HistoryMaxEntriesPerScheduler onto ExecutionHistoryOptions even when nothing had changed them. Their defaults, 24 hours and 2000 rows, therefore replaced an application's own AddQuartzExecutionHistory(...) sizing, and with UseExecutionHistory() the database history was swept down to them. Now only a dashboard bound changed from its default replaces the history's, whatever the registration order and also when the dashboard options are bound from configuration. The Overview's misfire tile counts over the history's own window (MisfireRetention, else Retention).
  • The Agenda opens under a custom dashboard path (#​4508, fixes #​4500). With MapQuartzDashboard("/admin/scheduler"), loading the Agenda or clicking it in the menu redirected to /agenda?preset=… at the application root, a 404. The page wrote its address during the prerender, where the dashboard's links and the server's base address disagree under a custom path. Every page that writes its address (Agenda, Jobs, Triggers, History, Timeline), and every other navigation the dashboard makes, now goes to an absolute address built from the dashboard's root, so none of them can leave the custom path.
  • A long execution group name stays in its column on the Triggers listing, rather than running into Details (#​4508).
  • A key keeps one line outside the listings in Chrome and Edge (#​4508). The Job and Trigger detail headers, History and Execution detail broke a long key between its words, because Chromium breaks at a <wbr> even under white-space: nowrap. Only the listings break a key between its words now: Jobs, Triggers, Currently Executing, the Agenda and Job detail's triggers.

Documentation

  • The dashboard page shows the Routes.razor step an existing Blazor Server app needs: AdditionalAssemblies naming typeof(QuartzDashboardApp).Assembly. Without it, the dashboard flashes and the app's own 404 replaces it (#​4508).

Compatibility

  • An application that sized its history above 24 hours or 2000 rows and also added the dashboard now keeps what it set, so the history holds more rows: in the database with UseExecutionHistory(), in memory otherwise.
  • An application that turned the history off with AddQuartzExecutionHistory(o => o.MaxEntriesPerScheduler = 0) and also added the dashboard was recording anyway, because the dashboard's 2000 replaced the 0. From 4.9.1 it records nothing, so its History page and misfire tile are empty.
  • An application that set ExecutionHistoryOptions and also set the dashboard's HistoryRetention or HistoryMaxEntriesPerScheduler to exactly its default (24 hours, 2000) now keeps its own value for that bound.

Build

  • Releases build and publish on Ubuntu, and a package push may take fifteen minutes before it counts as failed (#​4496). 4.9.1 is the first release cut this way.
  • So the examples in Quartz.NET-4.9.1.zip are built on Linux and come without an .exe: run one with dotnet <name>.dll.

The 3.x line has neither dashboard bug, so there is no 3.22.x for this round.

What's Changed

Other changes
  • Releases build on Ubuntu, a tag build publishes from whatever runner its one job has, and the push build has thirty minutes by @​lahma in #​4496
  • The next version is 4.10.0 by @​lahma in #​4498
  • The documentation's npm tree takes cross-spawn 7.1.x and webpack-dev-middleware 7.4.6 or later, closing Dependabot alerts #​341 and #​340 by @​lahma in #​4507
  • Adding the dashboard leaves the application's execution history bounds as it set them (#​4499) by @​lahma in #​4501
  • Dashboard navigation stays under a custom path, and three dashboard follow-ups land for 4.9.1 by @​lahma in #​4508

Full Changelog: quartznet/quartznet@v4.9.0...v4.9.1

v4.9.0

Quartz.NET 4.9 puts the job store into an application's EF Core model, opens the schedulers to AI agents, and answers the questions an operator asks of a running scheduler: why a trigger is not firing, what fires next, how a run ended and how late it started. It adds:

  • Quartz.EntityFrameworkCore, which puts the job store's tables in an application's own EF Core model on six databases, and moves a schema off AppAny.Quartz.EntityFrameworkCore.Migrations.
  • Quartz.Mcp, an MCP endpoint through which an AI agent reads and operates the schedulers of a process and of its fleet, under the operator roles.
  • TriggerJobAndWait(), which fires a stored job and waits for how its run ended, in process, on a cluster and over HTTP.
  • On the dashboard: Why isn't it firing?, Needs attention, an Agenda of every fire in a window, a running firing's log, an editor for every kind of trigger and calendar, and a refreshed look.
  • An execution history that records when each run was due, how late it started and why it ran, and each trigger's last run.
  • Recovery that serves the occurrence a retry or a misfire catch-up was for, and keeps its attempt.

An application on 4.8 compiles on 4.9 unchanged. There is a database migration. database/migrations/4.9/add_fired_trigger_occurrence_<db>.sql is required for every ADO.NET store: a 4.9 node refuses to start without it, and a 4.8 node never names its columns, so run it while the 4.8 nodes are up, then roll them. With UseExecutionHistory(), the store also refuses to start without add_trigger_status_<db>.sql and add_execution_due_delay_origin_<db>.sql, and add_misfire_history_trigger_index_<db>.sql is recommended: without it, one trigger's misfires read slower than on 4.8. The history scripts run at any time, since a 4.8 node never uses what they add. While a 4.8 node is in the cluster, it keeps 4.8's behaviour: a retry that a 4.8 node ran, or that a 4.8 node recovers after a crash, comes back at attempt 0, and a 4.8 node's runs leave the trigger status and the new history columns empty. The mixed-version cluster gate ran 4.8.1 beside 4.9 through a rolling upgrade (#​4492).

The behaviour changes most likely to need a look: a continuation whose chain of parents leads back to it is refused at the call with JobPersistenceException, so a start that re-applies such declared triggers now fails; ServiceProvider.Dispose() on a container that resolved IScheduler shuts the scheduler down, where it threw; two calendars that differ only in their time zone no longer compare equal; the dashboard's reschedule of a cron trigger resets its previous fire time and a pending retry; and a calendar saved from the dashboard is logged as CreateCalendar or ReplaceCalendar, not UpsertCalendar. See Upgrading from 4.8 to 4.9.

dotnet add package Quartz --version 4.9.0

Highlights

  • The job store's tables in your EF Core model. modelBuilder.AddQuartzTables(Database.ProviderName) adds them, so dotnet ef migrations add creates them, and after a Quartz upgrade adds what the release added. Entity Framework Core
  • An MCP endpoint for AI agents. 19 tools read and operate schedulers under the operator roles, read-only by default, with a preview and a confirmation token before a reschedule or an unschedule. MCP and the HTTP API
  • Trigger a job and wait for how it ended. scheduler.TriggerJobAndWait(jobKey, timeout) answers a FiringResult. The timeout stops the wait, never the job. Scheduling
  • Why isn't it firing? Every trigger's page works through the checks an operator would, and names what holds the trigger back. Dashboard
  • What fires next, and what a run is doing now. The Agenda lists every fire in a window of up to 7 days and pauses a selection of them. Show log follows a running firing's log lines. Dashboard
  • When a run was due, how late it started and why it ran. The history records all three, and the Triggers listing shows each trigger's last run and failing ×N. Execution history
  • Recovery serves the occurrence. A recovered retry or misfire catch-up runs for the occurrence it served, on the attempt it had reached. Clustering and persistence
  • The due backlog as two gauges. quartz.trigger.due counts the triggers past their fire time, and quartz.trigger.due.age says how long the earliest has waited. Telemetry

Entity Framework Core

  • Quartz.EntityFrameworkCore adds the job store's tables to an application's own DbContext (#​4402, #​4406, closes #​4381). modelBuilder.AddQuartzTables(Database.ProviderName) picks the dialect from the provider's name, for PostgreSQL, SQL Server, MySQL, SQLite, Oracle and Firebird. dotnet ef migrations add then creates the tables, and after an upgrade adds what the new release added. The model is generated from the same schema model as the database scripts, so the two cannot drift apart. See Entity Framework Core.
    • QuartzTablesOptions sets TablePrefix and Schema. A prefix that makes any name longer than the database takes is refused before anything runs, naming the longest prefix that fits.
    • migrationBuilder.CompleteQuartzSchema() adds what a model cannot say: SQLite's delete triggers, and MySQL's descending index column. See The first migration.
    • Firebird is held to Firebird 3's 31-byte names. On Firebird 4 and 5, QuartzTablesOptions.MaxIdentifierLength raises the limit to as much as 63 (#​4408).
  • Moving off AppAny. The package succeeds the community package AppAny.Quartz.EntityFrameworkCore.Migrations, which brought EF Core migrations to Quartz.NET first. To move: upgrade AppAny to 0.6.3 and migrate, replace its modelBuilder.AddQuartz(...) with AddQuartzTables under AppAny's prefix and schema, remove the AppAny packages, add one migration whose Up is migrationBuilder.MoveQuartzTablesFromAppAny() and whose Down is empty, and apply it with the schedulers stopped. The move repairs the history indexes AppAny never created and, on SQL Server, the NOT NULL string properties that fail every calendar-interval and recurrence trigger, and it adds 4.9's columns and index. It renames nothing, rebuilds no table, and is one-way. AppAny never had Oracle or Firebird, so the move refuses both, and an application on Quartz 3.x keeps AppAny. See Moving off AppAny. Thanks to its authors, @​sergeyshaykhullin, @​MJECloud and @​JasonLandbridge, for building and keeping it, and to @​JasonLandbridge for asking for this.

MCP and the HTTP API

  • Quartz.Mcp serves an MCP endpoint over Streamable HTTP (#​4435, closes #​4245). AddQuartzMcp() registers it and MapQuartzMcp() maps POST /quartz-mcp. An AI agent reads and operates the schedulers of the process and of its fleet through 19 tools, under the same operator roles as the dashboard and the HTTP API. See MCP endpoint.
    • It is read-only by default. Writing needs ReadOnly = false and an OperationAuthorizationPolicy, and the application refuses to start when nothing authorizes the endpoint.
    • reschedule and unschedule change nothing on their first call. They answer a preview and a confirmation token, bound to the arguments, the caller and the trigger's state, that the second call must carry. See Preview and confirm.
    • It is stateless, answers job and trigger data as keys only, and allows 20 changes a minute by default. Its events are 9500–9504, and the dashboard's Action Log lists its changes Via MCP, with the user and the client.
    • The dashboard host serves it for its fleet with Quartz:Dashboard:Mcp:Enabled, off and read-only by default. See MCP endpoint.
  • The dashboard host serves the scheduler HTTP API for its whole fleet (#​4432, closes #​4218). With HttpApi:Enabled=true, ?target= names the scheduler behind a target: GET /quartz-api/schedulers/OrdersScheduler/jobs?target=orders. The operator roles apply at the host. The API takes a bearer token, never the sign-in cookie, and a request with an Origin outside AllowedOrigins is refused. See The HTTP API.
    • Quartz.HttpClient reaches a scheduler through the host with HttpClientOptions.GatewayTarget, or new HttpScheduler(new SchedulerRef("QuartzScheduler", "w1"), httpClient). See Through the dashboard host.
    • A target that does not serve a request is answered 403 when it refused, 503 when it is unreachable, 504 when it timed out, 502 when it failed, and 501 when it is too old for the route. These were 400 and 500. See When the target does not serve it.
    • QuartzHttpApiOptions.AllowedOrigins refuses a browser request from any other origin with 403, for an API authenticated by a cookie. Empty, the default, checks nothing. See Refusing cross-site requests.
    • In a process that maps the HTTP API, the dashboard's Action Log lists every API change and refusal Via HTTP API, beside the dashboard's own.
  • The history routes that read rows answer 501 when the store cannot read them (#​4456). A store of your own that throws NotSupportedException from QueryExecutions, GetExecution, QueryMisfires or CountMisfires made four routes answer 500. HttpExecutionHistoryStore raises the 501 as NotSupportedException.

Scheduling

  • Trigger a stored job and wait for how its run ended (#​4428, closes #​4414). TriggerJobAndWait fires the job now, with no data, a JobDataMap or a typed input, and waits up to a timeout. WaitForFiring(triggerKey, timeout) waits for a firing already triggered. Both answer a FiringResult: Ended with the outcome and the history row, or Pending when the timeout came first. The timeout stops the wait, never the job. See Trigger it and wait for the outcome.
    • In process, the wait is signalled when the store has committed the firing's completion. A scheduler with nobody waiting pays one volatile read per completion.
    • On a cluster it polls the execution history, so every node needs UseExecutionHistory(), and a clustered scheduler without a database history is refused with NotSupportedException before anything is stored. HttpScheduler polls the host's history the same way. See On a cluster.
    • TriggerJob(jobKey, data, triggerKey) fires under a trigger key the caller names, so a retried call cannot fire twice: a key already stored throws ObjectAlreadyExistsException. See Naming the trigger's key.
  • A start can delete what the code no longer declares (#​4430, closes #​4415). SchedulingOptions.PruneUndeclaredInGroups names the groups the declarations own. At the first start on a persistent store, a stored job or trigger there that no declaration names is deleted and logged, as warning 4034 for a job and 4035 for a trigger. A prune that fails logs error 4036, deletes nothing more, and the start goes on. The list is empty by default, and it binds from Quartz:Scheduling:PruneUndeclaredInGroups and quartz.scheduler.pruneUndeclaredInGroups. See Removing what the code no longer declares.
  • A continuation whose chain of parents leads back to it is refused at the call (#​4420, closes #​4416). A trigger naming itself in a ScheduleJobs batch, two in one batch naming each other, and a replace or reschedule that closed a loop through stored triggers were stored, and waited for ever. Both stores now throw JobPersistenceException with the loop in the message, and store nothing. A trigger that names itself in ScheduleJob or RescheduleJob was refused as ObjectDoesNotExistException, and is now refused as the loop. See The parent has to exist.
    • On RAMJobStore, RescheduleJob to a trigger of another key settles the continuations waiting for the old one as a deleted parent's: OnAnyOutcome ones are released, the others parked in Error. They waited for ever. The ADO.NET store already settled them at its next misfire pass.
  • ServiceProvider.Dispose() shuts the scheduler down (#​4387). The IScheduler a container injects implemented only IAsyncDisposable, so a synchronous disposal threw InvalidOperationException and left the scheduler firing. It now blocks on the shutdown. await using is still the better choice.
  • A calendar in one time zone no longer equals the same calendar in another (#​4398). AnnualCalendar, DailyCalendar, HolidayCalendar, MonthlyCalendar and WeeklyCalendar compared their rule and base calendar but not TimeZone, though the same rule excludes other instants in another zone. Thanks @​vtxe02023274.

Dashboard

  • Why isn't it firing? on every trigger's page (#​4425, closes #​4411). It checks the scheduler, the trigger, its trigger and job groups, its job's firings, its next fire, its execution group, its misfires and a pending retry, and gives each a verdict. A blocked trigger names the firing that holds its job, its node and since when, with Interrupt; one in error names the deleted parent or the last failure, with Reset error state. It reads on load and on Refresh, never on a timer. See Why isn't it firing?.
  • Needs attention on the Overview (#​4425). One panel counts the triggers more than 5 minutes overdue, lists the 10 jobs failing the most times in a row, and charts the last 24 hours of runs. See Needs attention.
  • Each node's Quartz version (#​4425). The Cluster page has a Version column, and a banner while live nodes run different versions. ClusterNode.QuartzVersion carries it, and the HTTP API sends it as quartzVersion. See Cluster.
  • A search in the header finds a job or trigger by name from two characters (#​4425).
  • The Agenda (#​4441, closes #​4438). /quartz/agenda lists every fire of every trigger in a window of up to 7 days, by hour, with Pause selected and Resume selected. The fires are computed where the triggers are stored, with their calendars applied, at most 1,000 in one read, and the page says where that cap cuts the list. The HTTP API serves it as GET …/triggers/upcoming-fires. See Agenda.
  • A running firing's log (#​4440, closes #​4437). Show log on a Currently Executing row follows the lines the firing logs, every two seconds, read from the process that runs it. It needs UseExecutionLogCapture(). A policy or an agent that refuses GetExecution to keep captured logs from a caller must refuse GetFireInstanceLog too. See Following a running firing's log.
  • Calendars show their dates and days, and every calendar type can be created and edited (#​4427, closes #​4413). Calendar Detail printed type names such as SortedSet`1[System.DateOnly]. It now shows a holiday calendar's dates, an annual calendar's grid, the weekly and monthly days, the daily range and the cron calendar's next excluded spans, with the calendar's time zone, its base calendars and the count of triggers using it. Saving over a stored calendar asks whether to update its triggers. See Calendars.
  • Every kind of trigger can be edited (#​4433, closes #​4412). Edit schedule takes cron, simple, calendar-interval, daily-time-interval and recurrence triggers, shows the edit in words with its next five fires, and asks before it saves. Job Detail adds a trigger to a stored job, and Duplicate… copies one. An edit to a trigger that the start-up declarations store again warns that it lasts until the next start. See Rescheduling a trigger.
    • A reschedule of a cron trigger resets its previous fire time and a pending retry, which the cron editor carried over; the other kinds reset their count of fires too. A trigger paused on its own is paused again, with its reason and who asked, where it came back unpaused.
  • A refreshed look (#​4465, #​4468, #​4471, #​4483). The palette passes WCAG AA in the light and dark themes, and one Lucide icon set replaces emoji and ad hoc SVG. Every page has the same header, filter card and empty state, and the header keeps to one row at desktop widths (#​4445, #​4468). The run chart keeps a gap between results, and can be read by keyboard and screen reader. The sidebar and the favicon draw the Quartz.NET mark.
  • Smaller dashboard changes.
    • The first frame is painted in the stored theme, time zone and sidebar state, and a dashboard at a custom path keeps its preference cookies (#​4469).
    • A table that scrolls inside its card fades at each edge with more past it (#​4458).
    • Every dialog gives focus back to the control that opened it, and a page keeps what it shows while it reads again after an action (#​4459).
    • Jobs, Triggers and Calendars drop a read that answers after a newer one, so a slow read no longer writes its rows under another filter or page (#​4475, #​4481).
    • Edit details fills its form before the calendar names arrive, so an edit made while they load is kept (#​4449). Thanks @​FolkertBoerGroup.

Execution history

  • When a run was due, how late it started and why it ran (#​4464, closes #​4333). Each execution records its due time, the occurrence it serves; its start delay, the number quartz.job.execution.start_delay records; its origin, Schedule, Manual or Backfill; and the type of what it threw. ExecutionHistoryEntry carries them as DueTimeUtc, StartDelay, Origin and ExceptionType, and ExecutionHistoryQuery filters on the last two. History gains a Late column, Backfill and Manual badges and the two filters, and a run's own page shows all four. A row written before 4.9 leaves them empty. See Execution history and misfires. Thanks vurumalla92, whose work it is built on and whose commits it keeps, and @​SpaceOgre, who designed it.
  • Each trigger's last run (#​4434, closes #​4243). The history keeps a run status per trigger, beside the one per job, and IExecutionHistoryStore.QueryTriggerRunStatuses reads it. The Triggers listing shows each trigger's last run, and failing ×N while its latest occurrences failed for good. Manual runs, backfills, recoveries and a firing that ends its trigger count toward the job's status only. See Trigger run status.
  • A trigger's history includes the slots backfilled for it (#​4470). A backfill runs each slot under a trigger of its own, so a trigger's history never listed them. IncludeBackfills on ExecutionHistoryQuery, MisfireHistoryQuery and ExecutionStatisticsQuery lists and counts them too, rows from before 4.9 included, and the HTTP API takes ?includeBackfills=true. History's view of one trigger reads This trigger and its backfills. See In the history.
  • One trigger's history reads by index (#​4476, #​4478, #​4479, #​4482, #​4488). A trigger's executions, misfires and run statistics with its backfills are read as two branches of a UNION ALL, so each seeks the trigger's index rather than walking every trigger's rows. IDX_QRTZ_MH_TRIG_TIME gives the misfire history the trigger index the execution history has had since 4.6, from the optional add_misfire_history_trigger_index_<db>.sql. On SQL Server, a trigger's run statistics are compiled for the trigger they read, so a plan cached for another trigger no longer takes close to a second. On MySQL, optimizer hints keep one trigger's misfire pages, counts and run statistics on the right index.

Clustering and persistence

  • Recovery serves the occurrence of a retry or a misfire catch-up (#​4461, closes #​4272). A recovered retry or catch-up ran at the time its attempt was due and restarted its attempts at 0, so its ScheduledFireTimeUtc, GetOccurrence(), history and telemetry named the wrong occurrence, and a retry policy started over after each crash. The fired-trigger row now records the occurrence and the attempt, in two columns from the required add_fired_trigger_occurrence_<db>.sql, and cluster recovery, the shutdown hand-back and startup recovery all read them. A row a 4.8 node wrote recovers as before. Thanks vurumalla92, whose work it is built on and whose commits it keeps.
  • A node releasing an outdated acquisition no longer undoes another node's newer one (#​4372, closes #​4349). After the trigger was paused and resumed on another node, or went BLOCKED and back, a node releasing the acquisition it still held moved the other node's newer ACQUIRED row back to WAITING. The release now moves the trigger's row only while its stored next fire time is the one it held. Thanks @​EnesKartal.
  • A lock-free completion no longer deadlocks with, or deletes, a trigger stored over it under the same key (#​4453, #​4473, closes #​4399). The completion of a durable job's one-shot firing could deadlock with a replace (40P01 on PostgreSQL), or delete a replacement that committed after the completion read the row. It now takes the trigger's row first, as the writers do, and deletes only while the row holds the fire time it read. Thanks @​omerkocadere for the report, its reproduction and the fix.
    • The same holds for a driver delegate that subclasses a shipped one (#​4474, closes #​4454). Thanks @​omerkocadere.
    • A delegate that does not derive from StdAdoDelegate deletes by key alone, so its completion now takes the trigger lock (#​4484).
  • An idle cluster node skips its interrupt-request read (#​4424, closes #​4410). A node running no firing has no request to deliver, so it no longer reads after every check-in: 8 statements a minute fewer per idle node at the default CheckinInterval.
  • A batch reads in full only the first candidate of a [DisallowConcurrentExecution] job (#​4457). Its other candidates are refused on the job alone, since only one can fire. On SQL Server, a firing of a busy serial job reads about 7.7 rows fewer.
  • A fresh MySQL install declares the binary columns MEDIUMBLOB (#​4450). BLOB holds at most 65,535 bytes, so a larger serialized JobDataMap failed with Data too long for column 'JOB_DATA'. An existing database keeps BLOB, because changing a column's type copies the table and blocks writes. schema-changes.md gives the four optional ALTER TABLE statements, and Quartz.Weasel.MySQL never widens such a column at startup. See Wider binary columns on MySQL. Thanks @​birgerj.
  • Quartz.Weasel.Oracle retries a schema apply that loses a race with ORA-04020 (#​4472), as it retries ORA-00054, rather than failing the scheduler's start.

Telemetry

  • The ADO.NET store reports its due backlog (#​4407, closes #​4401). quartz.trigger.due (QuartzInstrumentation.Instruments.TriggerDue) is an ObservableGauge<long> of the WAITING triggers whose fire time has passed, per execution group, and quartz.trigger.due.age (TriggerDueAge) is how long the earliest has been due, in seconds. The misfire pass counts at most once per MisfireHandlerFrequency, only while either instrument is enabled, and the gauges read that count. Every node counts the whole scheduler, so aggregate across nodes with max. RAMJobStore reports neither. See The due backlog. Thanks @​omri-klein-semperis.
  • With TraceRootStoreOperations = false, the misfire scan and the cluster check-in export no trace per pass (#​4444, closes #​4375). They ran outside any activity, so each of their queries started a root span, and on an idle clustered node the check-in was most of what the option left. Each pass, with the interrupt-request read after a check-in, now runs under the unrecorded stand-in the scheduler's own store calls use. Thanks @​omri-klein-semperis.

Fixed

  • A log line at Information or below whose arguments call a method no longer evaluates them while its level is off (#​4423, closes #​4348).

Documentation

  • The middleware page shows a delay that spreads each job's start by a random amount, opted into per job with a job-data key, and says which measurements include the wait (#​4431, closes #​4417). See A random delay before each run.
  • The operations page says why a cluster has no leader, duty by duty, and how to run something on exactly one node (#​4424, closes #​4410). See Why there is no leader.
  • The Aspire pages show Aspire 17's AddDotnetProject, and say which Aspire each AppHost call needs (#​4419). See Aspire Hosting.

Packaging

  • Two new package ids, both net10.0:
    • Quartz.EntityFrameworkCore depends on Microsoft.EntityFrameworkCore.Relational (>= 10.0.0) alone. It names no provider, so no provider's version or licence reaches an application (#​4402).
    • Quartz.Mcp depends on Quartz.AspNetCore and ModelContextProtocol.AspNetCore (>= 2.3.1), the first release outside GHSA-x863-g495-4cjc. That advisory bound a stateful session to a principal by NameIdentifier, sub or upn, so two principals with none of them shared one; Quartz.Mcp is always stateless. The SDK asks for Microsoft.Extensions.*.Abstractions 10.0.13 and Microsoft.Extensions.AI.Abstractions 10.11.0. The package is trimmable and native AOT compatible (#​4435).
  • The Quartz.Weasel packages take Weasel [9.39.0, 11.0.0), where they took [9.39.0, 10.0.0), so an application on Marten 10, Wolverine 7 or Polecat 6 restores without NU1608 (#​4460, closes #​4451, closes #​4452). They still compile against 9.39.0, and a new CI leg runs those assemblies on Weasel 10. On Weasel 10 the application takes Weasel's drivers: Npgsql 11, MySqlConnector 3.0 and Oracle.ManagedDataAccess.Core 23.26.401. See Weasel 10. Thanks @​GildartsClive98 for the request.
  • No other shipped floor moves. The Microsoft.* floors stay at 10.0.0, and Quartz.Aspire.Hosting's Aspire.Hosting at 13.6.5; it runs from an Aspire 17 AppHost (#​4419).
  • The quartz-dashboard tool and image carry Quartz.Mcp and Microsoft.AspNetCore.Authentication.JwtBearer inside them, for the host's MCP endpoint and its HTTP API ([#​4432](https://red

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • "before 1am,before 5am,before 9am"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch 2 times, most recently from 82c6548 to 125ee2e Compare September 13, 2026 13:28
@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch 2 times, most recently from f7f4f7c to 7c5ccc0 Compare September 25, 2026 19:17
@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch 4 times, most recently from 2cff436 to 9d976b1 Compare September 29, 2026 11:56
@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch 2 times, most recently from 9bb1f79 to 508bc7b Compare October 13, 2026 23:48
@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch 2 times, most recently from cdbffb8 to 1cb2756 Compare October 20, 2026 11:19
@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch 2 times, most recently from 5fe7031 to c856294 Compare November 2, 2026 19:53
@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch 3 times, most recently from 058d379 to a8f8d67 Compare November 9, 2026 20:27
@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch 2 times, most recently from 7ad2e28 to c30ac9c Compare November 21, 2026 20:26
@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch 2 times, most recently from 3446d42 to 4ecca2f Compare December 1, 2026 23:45
@renovate
renovate Bot force-pushed the renovate/major-quartznet-monorepo branch from 4ecca2f to c6693c3 Compare December 3, 2026 00:38

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants