Releases
v4.0.0
Added
Add .NET 7 support (#42 )
Add fluent annotation support (#44 )
Add fluent API sample
Changes
⚠️ BREAKING CHANGE ⚠️
Changed IEncryptionProvider
interface to be simpler to use:
byte[] Encrypt(byte[] input)
instead of TStore Encrypt<TStore, TModel>(TModel dataToEncrypt, Func<TModel, byte[]> converter, Func<Stream, TStore> encoder);
byte[] Decrypt(byte[] input)
instead of TModel Decrypt<TStore, TModel>(TStore dataToDecrypt, Func<TStore, byte[]> decoder, Func<Stream, TModel> converter);
Other changes
Add GitHub action support with build matrix (.NET Core 3.1, .NET 5, .NET 6, .NET 7)
Update README.md
documentation for creating a custom encryption provider. (#37 )
Update projects to C# 10 and file scoped namespaces
Removals
⚠️ BREAKING CHANGE ⚠️
Removing constructor AesProvider(byte[] key, CipherMode mode = CipherMode.CBC, PaddingMode padding = PaddingMode.PKCS7)
on AesProvider
.
Removed dynamic IV support.
To add dynamic IV support, you will have to create your own encryption provider.
Removed Data Migration support.
Other removals
Remove AzureDevOps pipelines.
You can’t perform that action at this time.