Skip to content

Releases: zzzprojects/Eval-Expression.NET

v4.0.64

24 Nov 17:10
3addeba
Compare
Choose a tag to compare

Download the library here

  • FIXED: Eval.Tokenize throws NullReferenceException if a variable starts with _ and the next character is a number #118
  • FIXED: Exception when initializing Dictionary<string, object> #119

Trial unlocked until the end of December

v4.0.63

18 Nov 18:58
3addeba
Compare
Choose a tag to compare

Download the library here

  • UPDATED: Monthly Trial Release
  • FIXED: The Enumerable.Intersect seems doesn't work for IEnumberable #117
  • FIXED: Issue with short circuit operator when using implicit operator with class for || and &&
  • FIXED: AddMethod when creating dynamically an extension methods without additional parameters
  • ADDED: RegisterKeyword to let people add their own custom keyword such as:
public class Program
{
	public static void Main()
	{
		EvalManager.DefaultContext.RegisterExtensionMethod(typeof(CustomExtensions));
		EvalManager.DefaultContext.RegisterKeyword("isin", "IsIn");
		
		var list = new List<int>() { 1, 2, 3 };
		
		Console.WriteLine(Eval.Execute("2 isin list", new { list }));
		Console.WriteLine(Eval.Execute("4 isin list", new { list }));
	} 
}

public static class CustomExtensions
{
	public static bool IsIn<T>(this T x, List<T> list)
	{
		return list.Contains(x);
	}
}

Fiddle: https://dotnetfiddle.net/2tu9ae

Trial unlocked until the end of December

v4.0.62

09 Nov 14:05
3addeba
Compare
Choose a tag to compare

Download the library here

  • ADDED: new version with dependencies to .NET6 (No change since v4.0.61)

Trial unlocked until the end of November

v4.0.61

04 Nov 15:12
6c074c6
Compare
Choose a tag to compare

Download the library here

  • ADDED: new version with dependencies to .NET6

Trial unlocked until the end of November

v4.0.60

27 Oct 16:18
6c074c6
Compare
Choose a tag to compare

Download the library here

  • ADDED: Option DisableAutoReplaceDictionaryKey to fix an issue when dictionary value uses the key and part of a string is replaced by error. See Strange return value with "_context" #115

Trial unlocked until the end of November

v4.0.58

14 Oct 17:57
6c074c6
Compare
Choose a tag to compare

Download the library here

  • UPDATED: Monthly Trial Release
  • ADDED: Option UseSmartExecuteParameterResolution to improve some parameter resolution when more then one parameter is passed

Trial unlocked until the end of November

v4.0.57

12 Oct 15:12
6c074c6
Compare
Choose a tag to compare

Download the library here

  • UPDATED: Monthly Trial Release

Trial unlocked until the end of November

v4.0.56

06 Oct 15:47
6c074c6
Compare
Choose a tag to compare

Download the library here

  • FIXED: Issue added in v4.0.55 when trying to fix a FIPS license issue.

Trial unlocked until the end of September

v4.0.55

29 Sep 13:58
6c074c6
Compare
Choose a tag to compare

Download the library here

  • FIXED: Issue for FIPS license if MD5 validation is disabled and throw an error

Trial unlocked until the end of September

v4.0.54

16 Sep 14:59
6c074c6
Compare
Choose a tag to compare

Download the library here

  • IMPROVED: When a license is added, we now always validate it even if you only use evaluation under 50 characters.

Trial unlocked until the end of September