EamonNerbonne / ExpressionToCode

Generates valid, readable C# from an Expression Tree.
Apache License 2.0
160 stars 29 forks source link

Bump FastExpressionCompiler from 4.1.0 to 4.2.0 #316

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps FastExpressionCompiler from 4.1.0 to 4.2.0.

Release notes

Sourced from FastExpressionCompiler's releases.

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

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)