This release contains the following:
❗️ Breaking changes
Persistence Provider Registration
When registering your persistence provider, you now need to specify the DbContext type to use. For example, when using EF Core with SQL Server, do this:
services.AddElsa(x => x.AddEntityFrameworkStores<SqlServerContext>(...));
Timers Background Task
The TimersOptions
in Elsa.Activities.Timers
now uses the Duration
type for the SweepInterval
setting, instead of Period
. Duration
makes more sense, semantically speaking. This affects the value you specify in your appettings. For example, to configure the sweep interval to be every 5 minutes, your appsettings would look like this:
{
"Elsa": {
"Times": {
"SweepInterval": "0:00:05:00"
}
}
}
🔨 Fixes & Changes
- Fixed yaml serialisation and updated to YamlDotNet (#236) - @jamesdoran
- Replaced YamlDotNet.NetStandard with YamlDotNet (#225) - @jamesdoran
⭐️ New Features
- MySql Support for EF Core (#222) - @terry-delph