- 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 interfaceIServiceToCallWhileInLock
changed toApplyYourChangeAsync(IServiceProvider scopedServices)
. This provides a another way to obtain services instead of constructor injection - BREAKING CHANGE:
OrderNum
added to old interfaceIServiceToCallWhileInLock
to define the order your startup services are run - BREAKING CHANGE: interface
IServiceToCallWhileInLock
renamed toIStartupServiceToRunSequentially
- BREAKING CHANGE: Deleted
WhatOrderToRunIn
attribute asOrderNum
now added toIStartupServiceToRunSequentially
interface - New feature: Added
AddRunMethodsWithoutLock
version 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)