Browse Source

Apewer-6.8.6

master
王厅 1 week ago
parent
commit
e5902451ef
  1. 5
      Apewer.Source/Apewer.Source.csproj
  2. 1
      Apewer.Source/Source/Sqlite.cs
  3. 5
      Apewer.Web/Apewer.Web.csproj
  4. 25
      Apewer.Windows/Apewer.Windows.csproj
  5. 1
      Apewer/Apewer.csproj
  6. 9
      Apewer/Apewer.props
  7. 15
      ChangeLog.md
  8. 22
      License.txt

5
Apewer.Source/Apewer.Source.csproj

@ -10,6 +10,11 @@
<TargetFrameworks>netstandard2.0;net40;net20</TargetFrameworks>
</PropertyGroup>
<!-- 打包 -->
<PropertyGroup>
<Description>实现数据库连接功能。</Description>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Apewer\Apewer.csproj" />
<!--<PackageReference Include="System.Data.SQLite.Core" Version="1.0.110" PrivateAssets="all" />-->

1
Apewer.Source/Source/Sqlite.cs

@ -12,7 +12,6 @@ namespace Apewer.Source
{
/// <summary>连接 SQLite 数据库的客户端。</summary>
/// <remarks>Require System.Data.SQLite.Core v1.0.110</remarks>
public class Sqlite : DbClient
{

5
Apewer.Web/Apewer.Web.csproj

@ -7,6 +7,11 @@
<TargetFrameworks>netcoreapp3.1;net40;net20</TargetFrameworks>
</PropertyGroup>
<!-- 打包 -->
<PropertyGroup>
<Description>实现 Web 服务器功能。</Description>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="FavIcon.ico" />
<EmbeddedResource Include="WebConfig40.xml" />

25
Apewer.Windows/Apewer.Windows.csproj

@ -7,6 +7,11 @@
<TargetFrameworks>net461;net40;net20;netcoreapp3.1</TargetFrameworks>
</PropertyGroup>
<!-- 打包 -->
<PropertyGroup>
<Description>实现 Windows 程序功能。</Description>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Apewer\Apewer.csproj" />
</ItemGroup>
@ -26,19 +31,11 @@
<!-- .NET Framework 4.6.1 -->
<ItemGroup Condition="'$(TargetFramework)'=='net461'">
<Reference Include="CustomMarshalers" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="PresentationCore" />
<Reference Include="System.Core" />
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Runtime.Caching" />
<Reference Include="System.Security" />
<Reference Include="System.ServiceProcess " />
<Reference Include="System.Speech" />
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsBase" />
</ItemGroup>
@ -46,19 +43,11 @@
<!-- .NET Framework 4.0 -->
<ItemGroup Condition="'$(TargetFramework)'=='net40'">
<Reference Include="CustomMarshalers" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="PresentationCore" />
<Reference Include="System.Core" />
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Runtime.Caching" />
<Reference Include="System.Security" />
<Reference Include="System.ServiceProcess " />
<Reference Include="System.Speech" />
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsBase" />
</ItemGroup>
@ -67,12 +56,8 @@
<ItemGroup Condition="'$(TargetFramework)'=='net20'">
<Reference Include="CustomMarshalers" />
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.Management" />
<Reference Include="System.Security" />
<Reference Include="System.ServiceProcess " />
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
</ItemGroup>

1
Apewer/Apewer.csproj

@ -4,6 +4,7 @@
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<Description>实现通用的实用功能。</Description>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net461;net40;net20</TargetFrameworks>
</PropertyGroup>

9
Apewer/Apewer.props

@ -4,13 +4,10 @@
<!-- 程序集信息 -->
<PropertyGroup>
<Authors>Elivo</Authors>
<Company>Apewer Lab</Company>
<Copyright>Copyright Apewer Lab. All rights reserved.</Copyright>
<Description></Description>
<RootNamespace>Apewer</RootNamespace>
<Product>Apewer Libraries</Product>
<Version>6.8.5</Version>
<Version>6.8.6</Version>
</PropertyGroup>
<!-- 生成 -->
@ -22,10 +19,14 @@
<!-- 打包 -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Authors>Elivo</Authors>
<Company>Apewer Lab</Company>
<Copyright>Copyright Apewer Lab. All rights reserved.</Copyright>
<DebugType>none</DebugType>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IsPackable>true</IsPackable>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageOutputPath>..\</PackageOutputPath>
</PropertyGroup>

15
ChangeLog.md

@ -1,4 +1,19 @@

### 6.8.6
- 新特性
- Logger.Default 默认启用日志文件,保留 30 天;
- NumberUtility 增加 Sum 方法,用于线程锁;
- NumberUtility 增加 Lock 方法,用于线程锁;
- DbClient 增加 SetTransaction 方法,支持设置事务实例;
- TableStructure 在解析数据模型时,将基类的字段放置在靠前的位置;
- 增加 IndexAttribute 特性,用于标记索引;
- SqlClient 增加 Initialize 方法,支持创建索引;
- SqlClient 创建表时,支持多个主键。
- 问题修正
- 修正 ReadFile 无法读取日志文件的问题;
- 修正 TextUtility.Lock 方法抛出异常的问题;
- 修正 Tray.Form 不是顶层窗口的问题。
### 6.8.5
- 新特性
- 新增 T[].With 方法,实现与 JS 相同的功能;

22
License.txt

@ -0,0 +1,22 @@
MIT License
Copyright (c) Apewer
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading…
Cancel
Save