Skip to content

Feat: add support for newer quartz versions - #83

Merged
appany-it merged 2 commits into
appany:mainfrom
MJECloud:feat/addSupportForNewerQuartzVersions
Oct 2, 2026
Merged

appany-it merged 2 commits into
appany:mainfrom
MJECloud:feat/addSupportForNewerQuartzVersions

Conversation

@MJECloud

@MJECloud MJECloud commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

This pull request adds support for Quartz.NET 4.2.0 and 4.3.0 features to the Entity Framework Core migrations for MySQL and PostgreSQL, while maintaining compatibility with earlier versions. It introduces new schema entities and columns to support execution and misfire history, continuation triggers, overlap policies, progress tracking, and enhanced pause metadata. The documentation and test matrix are updated to reflect these changes.

Database schema updates for Quartz 4.2/4.3 support:

  • Added QuartzExecutionHistoryEntityTypeConfiguration and QuartzMisfireHistoryEntityTypeConfiguration for both MySQL and PostgreSQL, including all relevant columns, indexes, and support for retry and log metadata. (src/AppAny.Quartz.EntityFrameworkCore.Migrations.MySql/EntityTypeConfigurations/QuartzExecutionHistoryEntityTypeConfiguration.cs, src/AppAny.Quartz.EntityFrameworkCore.Migrations.MySql/EntityTypeConfigurations/QuartzMisfireHistoryEntityTypeConfiguration.cs, src/AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL/EntityTypeConfigurations/QuartzExecutionHistoryEntityTypeConfiguration.cs, src/AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL/EntityTypeConfigurations/QuartzMisfireHistoryEntityTypeConfiguration.cs) [1] [2] [3] [4]
  • Updated QuartzTriggerEntityTypeConfiguration to add continuation trigger columns, overlap policy, and enhanced pause metadata (reason, by, at) for both MySQL and PostgreSQL. (src/AppAny.Quartz.EntityFrameworkCore.Migrations.MySql/EntityTypeConfigurations/QuartzTriggerEntityTypeConfiguration.cs, src/AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL/EntityTypeConfigurations/QuartzTriggerEntityTypeConfiguration.cs) [1] [2]
  • Enhanced QuartzFiredTriggerEntityTypeConfiguration with progress and progress message columns for both MySQL and PostgreSQL. (src/AppAny.Quartz.EntityFrameworkCore.Migrations.MySql/EntityTypeConfigurations/QuartzFiredTriggerEntityTypeConfiguration.cs, src/AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL/EntityTypeConfigurations/QuartzFiredTriggerEntityTypeConfiguration.cs) [1] [2]
  • Added pause metadata columns to QuartzPausedJobGroupEntityTypeConfiguration and QuartzPausedTriggerGroupEntityTypeConfiguration for both MySQL and PostgreSQL. (src/AppAny.Quartz.EntityFrameworkCore.Migrations.MySql/EntityTypeConfigurations/QuartzPausedJobGroupEntityTypeConfiguration.cs, src/AppAny.Quartz.EntityFrameworkCore.Migrations.MySql/EntityTypeConfigurations/QuartzPausedTriggerGroupEntityTypeConfiguration.cs, src/AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL/EntityTypeConfigurations/QuartzPausedJobGroupEntityTypeConfiguration.cs, src/AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL/EntityTypeConfigurations/QuartzPausedTriggerGroupEntityTypeConfiguration.cs) [1] [2] [3] [4]
  • Registered the new entity type configurations in the MySQL model builder extension. (src/AppAny.Quartz.EntityFrameworkCore.Migrations.MySql/QuartzModelBuilderMySqlExtensions.cs)

Documentation and test updates:

  • Updated the README.md to document support for Quartz 4.2.0 and 4.3.0, describe new schema features, and provide migration and testing instructions.
  • Expanded the CI test matrix to include Quartz 4.2.0 and 4.3.0. (.github/workflows/tests.yaml)

Closes #80

…or database context initialization and add tests for ExecutionGroup and PreferredNode properties across MySQL, PostgreSQL, SQLite, and SQL Server.
@MJECloud

MJECloud commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@sergeyshaykhullin i did some work to close the issues. Hope you can have a look at this and the two other PRs.

Thank you and have a great weekend! 😊

@appany-it
appany-it merged commit 4579fee into appany:main Oct 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Quartz 4.2.0 and 4.3.0

2 participants