Skip to content

Releases: PawelGerr/Thinktecture.Runtime.Extensions

6.5.0

13 Nov 07:23
fd838b2
Compare
Choose a tag to compare
  • Added ValueObjectFactoryAttribute to create another factory method
    • ValueObjectFactoryAttribute can alter the serialization
    • Added new interface IValueObjectFactory with method Validate having parameter of type IFormatProvider
    • Added new interface IValueObjectConverter with method ToValue
  • ValueObjectModelBinderProvider looks for a string-based IValueObjectFactory before falling back to the type of the key-property
  • Added combination out of AllowNull and NotNull to not-nullable reference parameters of ValidateFactoryArguments to ensures that the value is validated/handled by the developer

6.4.1

09 Nov 12:20
70a32fa
Compare
Choose a tag to compare
  • Bugfix: Source gen should regenerate the code if SkipToString, SkipSwitchMethods or SkipMapMethods change their values.

7.0.0-beta04

07 Nov 22:48
fa7ce89
Compare
Choose a tag to compare
7.0.0-beta04 Pre-release
Pre-release
  • Added ValueObjectFactoryAttribute to create another factory method, which can alter the serialization as well
  • Moved method Validate to a new interface IValueObjectFactory and added a new parameter of type IFormatProvider
  • ValueObjectModelBinderProvider looks for a string-based IValueObjectFactory before falling back to the type of the key-property
  • ValueObjectFactoryAttribute can alter the serialization
  • Moved the method GetKey from IKeyedValueObject to IValueObjectConverter and renamed it to ToValue

7.0.0-beta03

19 Oct 17:41
cc10b75
Compare
Choose a tag to compare
7.0.0-beta03 Pre-release
Pre-release
  • Smart Enums: Switched to FrozenDictionary when running in .NET 8

7.0.0-beta02

19 Oct 17:39
d5a1ebe
Compare
Choose a tag to compare
7.0.0-beta02 Pre-release
Pre-release
  • EF Core 8 RC2

7.0.0-beta01

08 Oct 12:49
69477c1
Compare
Choose a tag to compare
7.0.0-beta01 Pre-release
Pre-release
  • BREAKING: Use SmartEnumAttribute<T> instead of IEnum<T>/IValidatableEnum<T>
  • Added support for EF Core 8

6.4.0

03 Sep 15:48
1c9a687
Compare
Choose a tag to compare
  • Implemented new method Map on smart enums that returns the provided instances for a specific item.

6.3.0

31 Aug 11:24
Compare
Choose a tag to compare
  • Added new enum-gen parameter SkipSwitchMethods
  • SourceGen Logging: file name uniqueness can be disabled with ThinktectureRuntimeExtensions_SourceGenerator_LogFilePathMustBeUnique

6.2.0

02 Apr 09:29
Compare
Choose a tag to compare
  • Added support for properties with init-accessors
  • Source Generator is not just looking for implemented operator-interfaces but checks for user-defined operators as well (useful for DateOnly)
  • The generation of the equality operators can be controlled via EqualityComparisonOperators

6.1.0

22 Mar 21:40
8936366
Compare
Choose a tag to compare
  • Added logging to source generators which is disabled by default