Skip to content

v2.2

Choose a tag to compare

@lahma lahma released this 22 Nov 09:01
· 3097 commits to main since this release

Quartz.NET 2.2 contains important bug fixes and new functionality. It needs a database schema upgrade — run database\schema_20_to_22_upgrade.sql, which adds a SCHED_TIME column to QRTZ_FIRED_TRIGGERS. The script carries the SQL Server statement, with other databases as commented samples.

Highlights

  • Schema change: QRTZ_FIRED_TRIGGERS.SCHED_TIME — apply the upgrade script before starting 2.2 against an existing database.
  • A job ending with an exception, on a trigger that will not fire again, is removed from the job store as it should be.
  • Schedule several triggers for a job at once with ScheduleJob(IJobDetail job, ISet trigger).
  • Non-durable jobs can be stored without a trigger.
  • Worker thread names can be overridden when using SimpleThreadPool.
  • Oracle managed ODP driver support, and a remoting-exported scheduler can be restricted to the local machine.
  • XML processing handles multiple schedule elements, which the schema always allowed.
  • Performance improvements, including to some AdoJobStore select statements.

Breaking changes

  • The database schema needs upgrading (above).
  • ISchedulerListener gained SchedulerStarting().
  • The scheduler's TypeLoadHelper is available to plugins when they are initialized.
  • dbFailureRetryInterval was removed from the DirectSchedulerFactory APIs.

Thanks to our vibrant community for actively helping on the mailing list, reporting issues and sending pull requests.

Full Changelog: v2.1.2...v2.2