Skip to content

Releases: Eastrall/EntityFrameworkCore.DataEncryption

Version 5.0.0

16 Nov 19:55
Compare
Choose a tag to compare

What's Changed

  • Add .Net 8.0 Support by @fastman61 in #61
  • Decrypt: check for null values to avoid exception on Encoding.UTF8.GetString by @romangobrey in #56

New Contributors

Full Changelog: v4.0.1...v5.0.0

Version 4.0.1

12 May 07:54
ea6836b
Compare
Choose a tag to compare

Added

  • Support for EF Core 6 when targeting .NET 6 (PR #54)

Fixes

  • Fix issue when saving an empty string. (PR #52)

Version 4.0.0

18 Jan 20:42
0beb736
Compare
Choose a tag to compare

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.

Version 3.0.1

20 Nov 14:01
Compare
Choose a tag to compare
  • Add .NET 5 and .NET 6 support (#34)

Version 3.0.0

19 Apr 11:42
Compare
Choose a tag to compare

Version 3.0.0 re-enables the "Fixed IV" option for the AesProvider, adds support for new types, and basic provider migration.

Features

  • Add support for SecureString and byte[] types. (#25)
  • Add storing support as varbinary instead of Base64 varchar
  • Basic migration support (when migrating from one provider to another) (#25)

Changes

  • Re-enable "Fixed IV" for AesProvider (#25)