Skip to content

Commit 9ff8b4a

Browse files
committed
release v5.2.0
1 parent 7a2e8a2 commit 9ff8b4a

File tree

8 files changed

+59
-9
lines changed

8 files changed

+59
-9
lines changed

BuildScripts/MakeInternal.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
$inputFiles = @(
22
".\src\FastExpressionCompiler\FastExpressionCompiler.cs",
33
".\src\FastExpressionCompiler\ImTools.cs",
4+
".\src\FastExpressionCompiler\ILReader.cs",
5+
".\src\FastExpressionCompiler\TestTools.cs",
46
".\src\FastExpressionCompiler.LightExpression\Expression.cs",
57
".\src\FastExpressionCompiler.LightExpression\ExpressionVisitor.cs"
68
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[Apex.Serialization]: https://github.com/dbolin/Apex.Serialization
1717
[MapsterMapper]: https://github.com/MapsterMapper/Mapster
1818

19-
[![Latest Release Notes](https://img.shields.io/badge/latest%20release%20notes-v5.1.1-blue)](https://github.com/dadhi/FastExpressionCompiler/releases/tag/v5.1.1)[![License](https://img.shields.io/github/license/dadhi/FastExpressionCompiler.svg)](http://opensource.org/licenses/MIT)[![Build Windows,Ubuntu](https://github.com/dadhi/FastExpressionCompiler/actions/workflows/build.yml/badge.svg)](https://github.com/dadhi/FastExpressionCompiler/actions/workflows/build.yml)
19+
[![Latest Release Notes](https://img.shields.io/badge/latest%20release%20notes-v5.2.0-blue)](https://github.com/dadhi/FastExpressionCompiler/releases/tag/v5.2.0)[![License](https://img.shields.io/github/license/dadhi/FastExpressionCompiler.svg)](http://opensource.org/licenses/MIT)[![Build Windows,Ubuntu](https://github.com/dadhi/FastExpressionCompiler/actions/workflows/build.yml/badge.svg)](https://github.com/dadhi/FastExpressionCompiler/actions/workflows/build.yml)
2020

2121
Targets .NET 6+, .NET 4.7.2+, .NET Standard 2.0+
2222

nuspecs/FastExpressionCompiler.Internal.src.nuspec

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="3.3.0">
44
<id>FastExpressionCompiler.Internal.src</id>
5-
<version>5.1.1</version>
5+
<version>5.2.0</version>
66
<authors>Maksim Volkau</authors>
77
<copyright>Copyright © 2016-2025 Maksim Volkau</copyright>
88
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
@@ -12,6 +12,13 @@
1212
<description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</description>
1313
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
1414
<releaseNotes><![CDATA[
15+
## v5.2.0 Feature release
16+
17+
- feat: #466 Simplify creation of the updateable value that can be put into Closure with the Expression.ConstantRef
18+
- feat: #472 Interpreter to reduce the IL emitted by the Logical, Comparison, Arithmetics expressions, by calculating them during compile time and using the calculation result in IL
19+
- feat: Expose TestTools and FastExpressionCompiler.ILDecoder to enable testing and diagnostic in the consumer code
20+
21+
1522
## v5.1.1. Bug-fix release
1623
1724
- fix: #461 InvalidProgramException when null checking type by ref

nuspecs/FastExpressionCompiler.LightExpression.Internal.src.nuspec

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="3.3.0">
44
<id>FastExpressionCompiler.LightExpression.Internal.src</id>
5-
<version>5.1.1</version>
5+
<version>5.2.0</version>
66
<authors>Maksim Volkau</authors>
77
<copyright>Copyright © 2016-2025 Maksim Volkau</copyright>
88
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
@@ -12,6 +12,13 @@
1212
<description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</description>
1313
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
1414
<releaseNotes><![CDATA[
15+
## v5.2.0 Feature release
16+
17+
- feat: #466 Simplify creation of the updateable value that can be put into Closure with the Expression.ConstantRef
18+
- feat: #472 Interpreter to reduce the IL emitted by the Logical, Comparison, Arithmetics expressions, by calculating them during compile time and using the calculation result in IL
19+
- feat: Expose TestTools and FastExpressionCompiler.ILDecoder to enable testing and diagnostic in the consumer code
20+
21+
1522
## v5.1.1. Bug-fix release
1623
1724
- fix: #461 InvalidProgramException when null checking type by ref
@@ -92,16 +99,22 @@
9299

93100
<file src="..\src\FastExpressionCompiler.Internal\FastExpressionCompiler.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
94101
<file src="..\src\FastExpressionCompiler.Internal\ImTools.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
102+
<file src="..\src\FastExpressionCompiler.Internal\ILReader.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
103+
<file src="..\src\FastExpressionCompiler.Internal\TestTools.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
95104
<file src="..\src\FastExpressionCompiler.Internal\Expression.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
96105
<file src="..\src\FastExpressionCompiler.Internal\ExpressionVisitor.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
97106

98107
<file src="..\src\FastExpressionCompiler.Internal\FastExpressionCompiler.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
99108
<file src="..\src\FastExpressionCompiler.Internal\ImTools.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
109+
<file src="..\src\FastExpressionCompiler.Internal\ILReader.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
110+
<file src="..\src\FastExpressionCompiler.Internal\TestTools.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
100111
<file src="..\src\FastExpressionCompiler.Internal\Expression.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
101112
<file src="..\src\FastExpressionCompiler.Internal\ExpressionVisitor.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
102113

103114
<file src="..\src\FastExpressionCompiler.Internal\FastExpressionCompiler.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
104115
<file src="..\src\FastExpressionCompiler.Internal\ImTools.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
116+
<file src="..\src\FastExpressionCompiler.Internal\ILReader.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
117+
<file src="..\src\FastExpressionCompiler.Internal\TestTools.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
105118
<file src="..\src\FastExpressionCompiler.Internal\Expression.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
106119
<file src="..\src\FastExpressionCompiler.Internal\ExpressionVisitor.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
107120

nuspecs/FastExpressionCompiler.LightExpression.src.nuspec

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="3.3.0">
44
<id>FastExpressionCompiler.LightExpression.src</id>
5-
<version>5.1.1</version>
5+
<version>5.2.0</version>
66
<authors>Maksim Volkau</authors>
77
<copyright>Copyright © 2016-2025 Maksim Volkau</copyright>
88
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
@@ -12,6 +12,13 @@
1212
<description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</description>
1313
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
1414
<releaseNotes><![CDATA[
15+
## v5.2.0 Feature release
16+
17+
- feat: #466 Simplify creation of the updateable value that can be put into Closure with the Expression.ConstantRef
18+
- feat: #472 Interpreter to reduce the IL emitted by the Logical, Comparison, Arithmetics expressions, by calculating them during compile time and using the calculation result in IL
19+
- feat: Expose TestTools and FastExpressionCompiler.ILDecoder to enable testing and diagnostic in the consumer code
20+
21+
1522
## v5.1.1. Bug-fix release
1623
1724
- fix: #461 InvalidProgramException when null checking type by ref
@@ -92,16 +99,22 @@
9299

93100
<file src="..\src\FastExpressionCompiler\FastExpressionCompiler.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
94101
<file src="..\src\FastExpressionCompiler\ImTools.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
102+
<file src="..\src\FastExpressionCompiler\ILReader.cs" target="contentFiles\cs\net472\FastExpressionCompiler" />
103+
<file src="..\src\FastExpressionCompiler\TestTools.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
95104
<file src="..\src\FastExpressionCompiler.LightExpression\Expression.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
96105
<file src="..\src\FastExpressionCompiler.LightExpression\ExpressionVisitor.cs" target="contentFiles\cs\net472\FastExpressionCompiler.LightExpression" />
97106

98107
<file src="..\src\FastExpressionCompiler\FastExpressionCompiler.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
99108
<file src="..\src\FastExpressionCompiler\ImTools.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
109+
<file src="..\src\FastExpressionCompiler\ILReader.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
110+
<file src="..\src\FastExpressionCompiler\TestTools.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
100111
<file src="..\src\FastExpressionCompiler.LightExpression\Expression.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
101112
<file src="..\src\FastExpressionCompiler.LightExpression\ExpressionVisitor.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler.LightExpression" />
102113

103114
<file src="..\src\FastExpressionCompiler\FastExpressionCompiler.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
104115
<file src="..\src\FastExpressionCompiler\ImTools.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
116+
<file src="..\src\FastExpressionCompiler\ILReader.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
117+
<file src="..\src\FastExpressionCompiler\TestTools.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
105118
<file src="..\src\FastExpressionCompiler.LightExpression\Expression.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
106119
<file src="..\src\FastExpressionCompiler.LightExpression\ExpressionVisitor.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler.LightExpression" />
107120

nuspecs/FastExpressionCompiler.src.nuspec

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="3.3.0">
44
<id>FastExpressionCompiler.src</id>
5-
<version>5.1.1</version>
5+
<version>5.2.0</version>
66
<authors>Maksim Volkau</authors>
77
<copyright>Copyright © 2016-2025 Maksim Volkau</copyright>
88
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
@@ -12,6 +12,13 @@
1212
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
1313
<icon>logo.png</icon>
1414
<releaseNotes><![CDATA[
15+
## v5.2.0 Feature release
16+
17+
- feat: #466 Simplify creation of the updateable value that can be put into Closure with the Expression.ConstantRef
18+
- feat: #472 Interpreter to reduce the IL emitted by the Logical, Comparison, Arithmetics expressions, by calculating them during compile time and using the calculation result in IL
19+
- feat: Expose TestTools and FastExpressionCompiler.ILDecoder to enable testing and diagnostic in the consumer code
20+
21+
1522
## v5.1.1. Bug-fix release
1623
1724
- fix: #461 InvalidProgramException when null checking type by ref
@@ -92,12 +99,18 @@
9299

93100
<file src="..\src\FastExpressionCompiler\FastExpressionCompiler.cs" target="contentFiles\cs\net472\FastExpressionCompiler" />
94101
<file src="..\src\FastExpressionCompiler\ImTools.cs" target="contentFiles\cs\net472\FastExpressionCompiler" />
102+
<file src="..\src\FastExpressionCompiler\ILReader.cs" target="contentFiles\cs\net472\FastExpressionCompiler" />
103+
<file src="..\src\FastExpressionCompiler\TestTools.cs" target="contentFiles\cs\net472\FastExpressionCompiler" />
95104

96105
<file src="..\src\FastExpressionCompiler\FastExpressionCompiler.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler" />
97106
<file src="..\src\FastExpressionCompiler\ImTools.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler" />
107+
<file src="..\src\FastExpressionCompiler\ILReader.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler" />
108+
<file src="..\src\FastExpressionCompiler\TestTools.cs" target="contentFiles\cs\netstandard2.0\FastExpressionCompiler" />
98109

99110
<file src="..\src\FastExpressionCompiler\FastExpressionCompiler.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler" />
100111
<file src="..\src\FastExpressionCompiler\ImTools.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler" />
112+
<file src="..\src\FastExpressionCompiler\ILReader.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler" />
113+
<file src="..\src\FastExpressionCompiler\TestTools.cs" target="contentFiles\cs\net8.0\FastExpressionCompiler" />
101114

102115
</files>
103116
</package>

src/FastExpressionCompiler.LightExpression/FastExpressionCompiler.LightExpression.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFrameworks Condition="'$(DevMode)' == 'true'">net472;net9.0</TargetFrameworks>
55

66
<VersionPrefix>5.2.0</VersionPrefix>
7-
<VersionSuffix>preview-03</VersionSuffix>
7+
<VersionSuffix></VersionSuffix>
88

99
<Product>FastExpressionCompiler.LightExpression</Product>
1010

@@ -13,8 +13,9 @@
1313
<Description>FastExpressionCompiler for LightExpression is 10-40x times faster than Expression.Compile()</Description>
1414
<PackageTags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</PackageTags>
1515
<PackageReleaseNotes><![CDATA[
16-
## v5.2.0
16+
## v5.2.0 Feature release
1717
18+
- feat: #466 Simplify creation of the updateable value that can be put into Closure with the Expression.ConstantRef
1819
- feat: #472 Interpreter to reduce the IL emitted by the Logical, Comparison, Arithmetics expressions, by calculating them during compile time and using the calculation result in IL
1920
- feat: Expose TestTools and FastExpressionCompiler.ILDecoder to enable testing and diagnostic in the consumer code
2021

src/FastExpressionCompiler/FastExpressionCompiler.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44
<TargetFrameworks Condition="'$(DevMode)' == 'true'">net472;net9.0</TargetFrameworks>
55

66
<VersionPrefix>5.2.0</VersionPrefix>
7-
<VersionSuffix>preview-03</VersionSuffix>
7+
<VersionSuffix></VersionSuffix>
88

99
<Product>FastExpressionCompiler</Product>
1010
<PackageId>$(Product)</PackageId>
1111
<Title>$(Product)</Title>
1212
<Description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</Description>
1313
<PackageTags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</PackageTags>
1414
<PackageReleaseNotes><![CDATA[
15-
## v5.2.0
15+
## v5.2.0 Feature release
1616
17+
- feat: #466 Simplify creation of the updateable value that can be put into Closure with the Expression.ConstantRef
1718
- feat: #472 Interpreter to reduce the IL emitted by the Logical, Comparison, Arithmetics expressions, by calculating them during compile time and using the calculation result in IL
1819
- feat: Expose TestTools and FastExpressionCompiler.ILDecoder to enable testing and diagnostic in the consumer code
1920

0 commit comments

Comments
 (0)