Cultiv.Hangfire 3.0.0
What's Changed
- Hangfire dependency updated to 1.8.5
While this doesn't seem to merit a new major release, Hangfire did a large overhaul in a minor release which really should have been a major release. This includes database migrations which I've enabled by default (the EnableHeavyMigrations
setting).
They warn:
If your background processing is quite intensive, you should apply the migration manually by setting the SINGLE_USER mode for the database to avoid deadlocks and reduce migration time.
You should read the Hangfire upgrade docs to prepare and learn what will happen: https://docs.hangfire.io/en/latest/upgrade-guides/upgrading-to-hangfire-1.8.html
For clarity, what I've changed is:
.SetDataCompatibilityLevel(CompatibilityLevel.Version_180)
PrepareSchemaIfNecessary = true,
EnableHeavyMigrations = true,
Full Changelog: v2.3.0...v3.0.0