- Microsoft.Data.SqlClient updated to because of vulnerable in current version
- Updated DistributedLock parts to fix the .NET 8 Postgres bug - see npgsql/npgsql#5143
- Changed framework to netstandard2.1 to work with any version of .NET
- Update of various NuGet packages, especially the DistributedLock packages that fixes some problems
- New Feature: Added a class to test that your startup code will run properly
- New Feature: Added logging so that you can see what RunMethodsSequentially did on host startup
- BREAKING CHANGE:
RunMethodWhileInLockAsync()in old interfaceIServiceToCallWhileInLockchanged toApplyYourChangeAsync(IServiceProvider scopedServices). This provides a another way to obtain services instead of constructor injection - BREAKING CHANGE:
OrderNumadded to old interfaceIServiceToCallWhileInLockto define the order your startup services are run - BREAKING CHANGE: interface
IServiceToCallWhileInLockrenamed toIStartupServiceToRunSequentially - BREAKING CHANGE: Deleted
WhatOrderToRunInattribute asOrderNumnow added toIStartupServiceToRunSequentiallyinterface - New feature: Added
AddRunMethodsWithoutLockversion as a way of turning off locking if not needed
- Added the optional WhatOrderToRunIn attribute to allow you to define the order in which the IServiceToCallWhileInLock services are run
- First release: Supports SQL Server and PostgreSQL (other databases available)