Skip to content

Commit

Permalink
发布2.3.7版本;
Browse files Browse the repository at this point in the history
  • Loading branch information
zqlovejyc committed May 14, 2022
1 parent 3ea023c commit 6a13075
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 26 deletions.
2 changes: 1 addition & 1 deletion SQLBuilder.Core.Console/SQLBuilder.Core.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="3.1.24" />
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="3.1.25" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
<PackageReleaseNotes>1.升级SQLBuilder引用版本;</PackageReleaseNotes>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageId>Zq.SQLBuilder.Core.Diagnostics</PackageId>
<Version>2.3.6</Version>
<FileVersion>2.3.6.0</FileVersion>
<AssemblyVersion>2.3.6.0</AssemblyVersion>
<Version>2.3.7</Version>
<FileVersion>2.3.7.0</FileVersion>
<AssemblyVersion>2.3.7.0</AssemblyVersion>
<LangVersion>latest</LangVersion>
</PropertyGroup>

Expand All @@ -45,7 +45,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="3.1.24" />
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="3.1.25" />
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
Expand Down
10 changes: 5 additions & 5 deletions SQLBuilder.Core.ElasticApm/SQLBuilder.Core.ElasticApm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<PackageTags>sqlbuilder;elastic;apm</PackageTags>
<PackageReleaseNotes>1.升级SQLBuilder引用版本;</PackageReleaseNotes>
<PackageId>Zq.SQLBuilder.Core.ElasticApm</PackageId>
<Version>2.3.6</Version>
<FileVersion>2.3.6.0</FileVersion>
<AssemblyVersion>2.3.6.0</AssemblyVersion>
<Version>2.3.7</Version>
<FileVersion>2.3.7.0</FileVersion>
<AssemblyVersion>2.3.7.0</AssemblyVersion>
<LangVersion>latest</LangVersion>
</PropertyGroup>

Expand All @@ -33,8 +33,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Elastic.Apm.AspNetCore" Version="1.14.1" />
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="3.1.24" />
<PackageReference Include="Elastic.Apm.AspNetCore" Version="1.15.0" />
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="3.1.25" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
10 changes: 7 additions & 3 deletions SQLBuilder.Core.SkyWalking/SQLBuilder.Core.SkyWalking.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
<PackageReleaseNotes>1.升级SQLBuilder引用版本;</PackageReleaseNotes>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageId>Zq.SQLBuilder.Core.SkyWalking</PackageId>
<Version>2.3.6</Version>
<FileVersion>2.3.6.0</FileVersion>
<AssemblyVersion>2.3.6.0</AssemblyVersion>
<Version>2.3.7</Version>
<FileVersion>2.3.7.0</FileVersion>
<AssemblyVersion>2.3.7.0</AssemblyVersion>
<LangVersion>latest</LangVersion>
</PropertyGroup>

Expand Down Expand Up @@ -52,4 +52,8 @@
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'netstandard2.1'">
<PackageReference Include="SkyAPM.Utilities.DependencyInjection" Version="2.0.0" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion SQLBuilder.Core.UnitTest/SQLBuilder.Core.UnitTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
8 changes: 4 additions & 4 deletions SQLBuilder.Core/Expressions/MemberExpressionResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ public override SqlWrapper Where(MemberExpression expression, SqlWrapper sqlWrap
{
if (new HashSet<DatabaseType>
{
DatabaseType.PostgreSql,
DatabaseType.MySql
DatabaseType.MySql,
DatabaseType.PostgreSql
}.Contains(sqlWrapper.DatabaseType))
sqlWrapper += " IS TRUE";
else
Expand Down Expand Up @@ -519,8 +519,8 @@ public override SqlWrapper Having(MemberExpression expression, SqlWrapper sqlWra
{
if (new HashSet<DatabaseType>
{
DatabaseType.PostgreSql,
DatabaseType.MySql
DatabaseType.MySql,
DatabaseType.PostgreSql
}.Contains(sqlWrapper.DatabaseType))
sqlWrapper += " IS TRUE";
else
Expand Down
15 changes: 7 additions & 8 deletions SQLBuilder.Core/SQLBuilder.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<Authors>张强</Authors>
<Version>2.3.6</Version>
<FileVersion>2.3.6.0</FileVersion>
<AssemblyVersion>2.3.6.0</AssemblyVersion>
<Version>2.3.7</Version>
<FileVersion>2.3.7.0</FileVersion>
<AssemblyVersion>2.3.7.0</AssemblyVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>Expression表达式转换为SQL语句,支持SqlServer、MySql、Oracle、Sqlite、PostgreSql;基于Dapper实现了不同数据库对应的数据仓储Repository;</Description>
<Copyright>Copyright © 2018-2025 , 张强 943620963@qq.com</Copyright>
<PackageId>Zq.SQLBuilder.Core</PackageId>
<PackageReleaseNotes>1.优化Substring扩展,添加comparisonType参数;
2.重载Contains、ContainsIgnoreCase扩展方法,添加MatchType匹配类型参数;
3.重载ToLambda扩展方法,优化ToObject扩展方法,修复Guid类型数据解析异常bug;
4.升级nuget包;</PackageReleaseNotes>
<PackageReleaseNotes>1.修复数据库类型为PostgreSql时,解析bool类型条件时,解析为1的bug;
2.优化Mysql数据库bool类型sql解析;
3.升级nuget包;</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/zqlovejyc/SQLBuilder.Core</PackageProjectUrl>
<PackageLicenseUrl></PackageLicenseUrl>
<PackageIcon>sql.png</PackageIcon>
Expand Down Expand Up @@ -48,7 +47,7 @@
<ItemGroup>
<PackageReference Include="Dapper" Version="2.0.123" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="4.1.0" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.4" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.5" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" />
Expand Down

0 comments on commit 6a13075

Please sign in to comment.