Skip to content

v4.2.0 Feature and bug-fix release

Compare
Choose a tag to compare
@dadhi dadhi released this 29 Apr 20:03
· 41 commits to master since this release

v4.2.0 Feature and bug-fix release

  • feat: #133 Optimize Switch Expression

  • feat: #393 Support ToCSharpString of the block in the ternary expression

  • feat: #396 Optimize conditional expressions with the DefaultExpression left or right operand the same way as ConstantExpression

  • fix: #390 System.AccessViolationException when mapping using Mapster

  • fix: #391 ToCSharpString outputs ? for Nullable which does not produce the compile-able code

  • fix: #392 ToExpressionString wrongly declares Label instead of LabelTarget array

  • fix: #394 Calling a user defined == operator runs into a CLR invalid program exception

  • fix: #397 Fix and optimize the Switch support

  • fix: #399 Coalesce nullable with 0 is not working

  • fix: #400 Fix the direct assignment of Try to Member expression because indirect assignment through tmp var works

  • fix: #401 Invoke inlining is not working with collections in AutoMapper tests

  • fix: #404 An expression with a single parameter concatenated to a string causes 'Exception has been thrown by the target of an invocation' during delegate invocation

  • fix: #405 NullReferenceException with V4.X when using long?[]

  • fix: #406 NullReferenceException with V4.X

  • fix: #407 NullReferenceException when setting the Enum field

  • fix: #408 Dictionary mapping failing when the InvocationExpression inlining is involved