Releases: PawelGerr/Thinktecture.Runtime.Extensions
Releases · PawelGerr/Thinktecture.Runtime.Extensions
5.1.0
- Keyed value objects: Handling for empty strings: EmptyStringInFactoryMethodsYieldsNull
- Smart enums Switch-case replacement
5.0.1
5.0.0
- 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
4.3.2
4.3.1
4.3.0
4.2.0
4.1.1
4.1.0
Features
- EF ValueConverters can be applied on
DbContextOptionsBuilder
via methodUseValueObjectValueConverter
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
andUseValueObjectValueConverter
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.