Skip to content

Releases: PawelGerr/Thinktecture.Runtime.Extensions

5.1.0

25 Nov 20:10
Compare
Choose a tag to compare

5.0.1

06 Oct 08:56
Compare
Choose a tag to compare

Struct-ValueObjects with struct-key-member need 2 implicit conversions.

5.0.0

28 Sep 11:00
Compare
Choose a tag to compare
  • Removed support for "Extensible" enums because it felt like a nasty hack till the end.
  • Base classes of value objects and smart enums are checks for immutability as well.
  • Split Thinktecture.Runtime.Extensions.EntityFrameworkCore into *.EntityFrameworkCore5 and *.EntityFrameworkCore6.
  • Added single-item read-only collections/set/dictionary to reduce memory allocations.
  • The name of static property "Empty" of a struct-enum is now configurable.
  • Analyzer: ValueObjects must be sealed

4.3.3

17 Aug 18:36
Compare
Choose a tag to compare

Workaround for Rider until SharedAttribute + CodeAnalysis 4.2.0 are supported.

4.3.2

15 Jun 10:40
Compare
Choose a tag to compare
  • Updated to Microsoft.CodeAnalysis to 4.2.0 (requires SDK 6.0.300 or higher)

4.3.1

17 May 17:12
Compare
Choose a tag to compare
  • Reverted Microsoft.CodeAnalysis back to 4.1.0 because JetBrains Rider does not support 4.2.0 yet.

4.3.0

16 May 19:57
Compare
Choose a tag to compare
  • Updated for SDK 6.0.300

4.2.0

16 May 19:55
Compare
Choose a tag to compare
  • Requires SDK: 6.0.202
  • Combined all 4 source gens into 1 project

4.1.1

06 Feb 23:28
Compare
Choose a tag to compare
  • Fixed "missing namespace"

4.1.0

05 Feb 08:48
Compare
Choose a tag to compare

Features

  • EF ValueConverters can be applied on DbContextOptionsBuilder via method UseValueObjectValueConverter

Changes

  • Analyzer: smart enums and value object must not be generic.
  • Value object source gen should always generate a private ctor, i.e. even if the value object has no assignable members.
  • Both AddEnumAndValueObjectConverters and UseValueObjectValueConverter handle struct enums/value objects
  • Source gen: the types are fully qualified
  • Adjusted newtonsoft and messagepack serializer/formatter so the (de)serialization of null is consistent.