Skip to content

Commit

Permalink
release v4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dadhi committed Oct 13, 2024
1 parent 1d97907 commit 4505ffd
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 28 deletions.
2 changes: 1 addition & 1 deletion BuildScripts/NuGetPublish.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set PACKAGES=..\.dist
set SOURCE=https://api.nuget.org/v3/index.json
set /p APIKEY=<"..\..\ApiKey.txt"

set PKGVER=4.2.1
set PKGVER=4.2.2

dotnet nuget push "%PACKAGES%\FastExpressionCompiler.%PKGVER%.nupkg" -k %APIKEY% -s %SOURCE% --skip-duplicate
dotnet nuget push "%PACKAGES%\FastExpressionCompiler.src.%PKGVER%.nupkg" -k %APIKEY% -s %SOURCE% --skip-duplicate
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
[Apex.Serialization]: https://github.com/dbolin/Apex.Serialization
[MapsterMapper]: https://github.com/MapsterMapper/Mapster

[![latest release notes](https://img.shields.io/badge/latest%20release%20notes-v4.2.0-blue)](https://github.com/dadhi/FastExpressionCompiler/releases/tag/v4.2.1)
[![latest release notes](https://img.shields.io/badge/latest%20release%20notes-v4.2.0-blue)](https://github.com/dadhi/FastExpressionCompiler/releases/tag/v4.2.2)
[![Windows build](https://ci.appveyor.com/api/projects/status/4iyhed69l3k0k37o/branch/master?svg=true)](https://ci.appveyor.com/project/MaksimVolkau/fastexpressioncompiler/branch/master)[![license](https://img.shields.io/github/license/dadhi/FastExpressionCompiler.svg)](http://opensource.org/licenses/MIT)

Targets .NET 6+, .NET 4.7.2+, .NET Standard 2.0+
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ image:
- Ubuntu
- macOS

version: 5.0.0-b{build}
version: 4.3.0-b{build}

test: off

Expand Down
12 changes: 11 additions & 1 deletion nuspecs/FastExpressionCompiler.Internal.src.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="3.3.0">
<id>FastExpressionCompiler.Internal.src</id>
<version>4.2.1</version>
<version>4.2.2</version>
<authors>Maksim Volkau</authors>
<copyright>Copyright © 2016-2023 Maksim Volkau</copyright>
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
Expand All @@ -12,6 +12,16 @@
<description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</description>
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
<releaseNotes><![CDATA[
## v4.2.2 Bug-fix release
- fix: #418 Wrong output when comparing NaN value
- fix: #419 System.InvalidProgramException : The JIT compiler encountered invalid IL code or an internal limitation
- fix: #420 Nullable<DateTime> comparison differs from Expression.Compile
- fix: #421 Date difference is giving wrong negative value
- fix: #422 [bug] InvalidProgramException when having TryCatch + Default in Catch
- fix: #423 Converting a uint to a float gives the wrong result
## v4.2.1 Feature and bug-fix release
- fix: ImTools should disable the nullable context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="3.3.0">
<id>FastExpressionCompiler.LightExpression.Internal.src</id>
<version>4.2.1</version>
<version>4.2.2</version>
<authors>Maksim Volkau</authors>
<copyright>Copyright © 2016-2023 Maksim Volkau</copyright>
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
Expand All @@ -12,6 +12,16 @@
<description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</description>
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
<releaseNotes><![CDATA[
## v4.2.2 Bug-fix release
- fix: #418 Wrong output when comparing NaN value
- fix: #419 System.InvalidProgramException : The JIT compiler encountered invalid IL code or an internal limitation
- fix: #420 Nullable<DateTime> comparison differs from Expression.Compile
- fix: #421 Date difference is giving wrong negative value
- fix: #422 [bug] InvalidProgramException when having TryCatch + Default in Catch
- fix: #423 Converting a uint to a float gives the wrong result
## v4.2.1 Feature and bug-fix release
- fix: ImTools should disable the nullable context
Expand Down
12 changes: 11 additions & 1 deletion nuspecs/FastExpressionCompiler.LightExpression.src.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="3.3.0">
<id>FastExpressionCompiler.LightExpression.src</id>
<version>4.2.1</version>
<version>4.2.2</version>
<authors>Maksim Volkau</authors>
<copyright>Copyright © 2016-2023 Maksim Volkau</copyright>
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
Expand All @@ -12,6 +12,16 @@
<description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</description>
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
<releaseNotes><![CDATA[
## v4.2.2 Bug-fix release
- fix: #418 Wrong output when comparing NaN value
- fix: #419 System.InvalidProgramException : The JIT compiler encountered invalid IL code or an internal limitation
- fix: #420 Nullable<DateTime> comparison differs from Expression.Compile
- fix: #421 Date difference is giving wrong negative value
- fix: #422 [bug] InvalidProgramException when having TryCatch + Default in Catch
- fix: #423 Converting a uint to a float gives the wrong result
## v4.2.1 Feature and bug-fix release
- fix: ImTools should disable the nullable context
Expand Down
12 changes: 11 additions & 1 deletion nuspecs/FastExpressionCompiler.src.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="3.3.0">
<id>FastExpressionCompiler.src</id>
<version>4.2.1</version>
<version>4.2.2</version>
<authors>Maksim Volkau</authors>
<copyright>Copyright © 2016-2023 Maksim Volkau</copyright>
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
Expand All @@ -12,6 +12,16 @@
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
<icon>logo.png</icon>
<releaseNotes><![CDATA[
## v4.2.2 Bug-fix release
- fix: #418 Wrong output when comparing NaN value
- fix: #419 System.InvalidProgramException : The JIT compiler encountered invalid IL code or an internal limitation
- fix: #420 Nullable<DateTime> comparison differs from Expression.Compile
- fix: #421 Date difference is giving wrong negative value
- fix: #422 [bug] InvalidProgramException when having TryCatch + Default in Catch
- fix: #423 Converting a uint to a float gives the wrong result
## v4.2.1 Feature and bug-fix release
- fix: ImTools should disable the nullable context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFrameworks Condition="'$(DevMode)' == 'true'">net472;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(DevMode)' != 'true'">net472;netstandard2.0;netstandard2.1;net6.0;net7.0</TargetFrameworks>

<VersionPrefix>4.2.1</VersionPrefix>
<VersionPrefix>4.2.2</VersionPrefix>
<VersionSuffix></VersionSuffix>

<Product>FastExpressionCompiler.LightExpression</Product>
Expand All @@ -13,6 +13,16 @@
<Description>FastExpressionCompiler for LightExpression is 10-40x times faster than Expression.Compile()</Description>
<PackageTags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</PackageTags>
<PackageReleaseNotes><![CDATA[
## v4.2.2 Bug-fix release
- fix: #418 Wrong output when comparing NaN value
- fix: #419 System.InvalidProgramException : The JIT compiler encountered invalid IL code or an internal limitation
- fix: #420 Nullable<DateTime> comparison differs from Expression.Compile
- fix: #421 Date difference is giving wrong negative value
- fix: #422 [bug] InvalidProgramException when having TryCatch + Default in Catch
- fix: #423 Converting a uint to a float gives the wrong result
## v4.2.1 Feature and bug-fix release
- fix: ImTools should disable the nullable context
Expand Down Expand Up @@ -82,21 +92,21 @@ https://github.com/dadhi/FastExpressionCompiler/compare/v4.2.0...v4.2.1
- added: #372 Support LightExpression.Expression.TryConvertDelegateIntrinsic for converting one type of delegate to another
- added: #373 Support custom C# printing for the LightExpression.Expression
]]></PackageReleaseNotes>

<AssemblyName>$(Product)</AssemblyName>
<AssemblyTitle>$(Product) $(TargetFramework)</AssemblyTitle>
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
<IsTrimmable>true</IsTrimmable>

<DefineConstants>LIGHT_EXPRESSION</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\FastExpressionCompiler\FastExpressionCompiler.cs"/>
<Compile Include="..\FastExpressionCompiler\ImTools.cs"/>
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.7.0"/>
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0"/>
</ItemGroup>
</Project>
]]> </PackageReleaseNotes>

<AssemblyName>$(Product)</AssemblyName>
<AssemblyTitle>$(Product) $(TargetFramework)</AssemblyTitle>
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
<IsTrimmable>true</IsTrimmable>

<DefineConstants>LIGHT_EXPRESSION</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\FastExpressionCompiler\FastExpressionCompiler.cs"/>
<Compile Include="..\FastExpressionCompiler\ImTools.cs"/>
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.7.0"/>
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0"/>
</ItemGroup>
</Project>
14 changes: 12 additions & 2 deletions src/FastExpressionCompiler/FastExpressionCompiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,24 @@
<PropertyGroup>
<TargetFrameworks Condition="'$(DevMode)' == 'true'">net472;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(DevMode)' != 'true'">net472;netstandard2.0;netstandard2.1;net6.0;net7.0</TargetFrameworks>
<VersionPrefix>4.2.1</VersionPrefix>
<VersionPrefix>4.2.2</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Product>FastExpressionCompiler</Product>
<PackageId>$(Product)</PackageId>
<Title>$(Product)</Title>
<Description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</Description>
<PackageTags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</PackageTags>
<PackageReleaseNotes><![CDATA[
## v4.2.2 Bug-fix release
- fix: #418 Wrong output when comparing NaN value
- fix: #419 System.InvalidProgramException : The JIT compiler encountered invalid IL code or an internal limitation
- fix: #420 Nullable<DateTime> comparison differs from Expression.Compile
- fix: #421 Date difference is giving wrong negative value
- fix: #422 [bug] InvalidProgramException when having TryCatch + Default in Catch
- fix: #423 Converting a uint to a float gives the wrong result
## v4.2.1 Feature and bug-fix release
- fix: ImTools should disable the nullable context
Expand Down Expand Up @@ -80,7 +90,7 @@ https://github.com/dadhi/FastExpressionCompiler/compare/v4.2.0...v4.2.1
- added: #372 Support LightExpression.Expression.TryConvertDelegateIntrinsic for converting one type of delegate to another
- added: #373 Support custom C# printing for the LightExpression.Expression
]]></PackageReleaseNotes>
]]> </PackageReleaseNotes>
<AssemblyName>$(Product)</AssemblyName>
<AssemblyTitle>$(Product) $(TargetFramework)</AssemblyTitle>
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
Expand Down

0 comments on commit 4505ffd

Please sign in to comment.