From e5902451efa69f3370e0f4101fd8f99f910e0421 Mon Sep 17 00:00:00 2001 From: Elivo Date: Tue, 28 Oct 2025 10:17:19 +0800 Subject: [PATCH] Apewer-6.8.6 --- Apewer.Source/Apewer.Source.csproj | 5 +++++ Apewer.Source/Source/Sqlite.cs | 1 - Apewer.Web/Apewer.Web.csproj | 5 +++++ Apewer.Windows/Apewer.Windows.csproj | 25 +++++-------------------- Apewer/Apewer.csproj | 1 + Apewer/Apewer.props | 9 +++++---- ChangeLog.md | 15 +++++++++++++++ License.txt | 22 ++++++++++++++++++++++ 8 files changed, 58 insertions(+), 25 deletions(-) create mode 100644 License.txt diff --git a/Apewer.Source/Apewer.Source.csproj b/Apewer.Source/Apewer.Source.csproj index ff47626..87daffc 100644 --- a/Apewer.Source/Apewer.Source.csproj +++ b/Apewer.Source/Apewer.Source.csproj @@ -10,6 +10,11 @@ netstandard2.0;net40;net20 + + + 实现数据库连接功能。 + + diff --git a/Apewer.Source/Source/Sqlite.cs b/Apewer.Source/Source/Sqlite.cs index 989f02b..beb2a65 100644 --- a/Apewer.Source/Source/Sqlite.cs +++ b/Apewer.Source/Source/Sqlite.cs @@ -12,7 +12,6 @@ namespace Apewer.Source { /// 连接 SQLite 数据库的客户端。 - /// Require System.Data.SQLite.Core v1.0.110 public class Sqlite : DbClient { diff --git a/Apewer.Web/Apewer.Web.csproj b/Apewer.Web/Apewer.Web.csproj index f7f4a18..3842e13 100644 --- a/Apewer.Web/Apewer.Web.csproj +++ b/Apewer.Web/Apewer.Web.csproj @@ -7,6 +7,11 @@ netcoreapp3.1;net40;net20 + + + 实现 Web 服务器功能。 + + diff --git a/Apewer.Windows/Apewer.Windows.csproj b/Apewer.Windows/Apewer.Windows.csproj index 9b74ca8..02d7562 100644 --- a/Apewer.Windows/Apewer.Windows.csproj +++ b/Apewer.Windows/Apewer.Windows.csproj @@ -7,6 +7,11 @@ net461;net40;net20;netcoreapp3.1 + + + 实现 Windows 程序功能。 + + @@ -26,19 +31,11 @@ - - - - - - - - @@ -46,19 +43,11 @@ - - - - - - - - @@ -67,12 +56,8 @@ - - - - diff --git a/Apewer/Apewer.csproj b/Apewer/Apewer.csproj index 9c13265..8f32c8d 100644 --- a/Apewer/Apewer.csproj +++ b/Apewer/Apewer.csproj @@ -4,6 +4,7 @@ true + 实现通用的实用功能。 netstandard2.0;netcoreapp3.1;net461;net40;net20 diff --git a/Apewer/Apewer.props b/Apewer/Apewer.props index 35d1b2b..1bfa97c 100644 --- a/Apewer/Apewer.props +++ b/Apewer/Apewer.props @@ -4,13 +4,10 @@ - Elivo - Apewer Lab - Copyright Apewer Lab. All rights reserved. Apewer Apewer Libraries - 6.8.5 + 6.8.6 @@ -22,10 +19,14 @@ + Elivo + Apewer Lab + Copyright Apewer Lab. All rights reserved. none bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml true true + MIT ..\ diff --git a/ChangeLog.md b/ChangeLog.md index b9f9c42..7e4ddfd 100644 --- a/ChangeLog.md +++ b/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 相同的功能; diff --git a/License.txt b/License.txt new file mode 100644 index 0000000..eb6dcfd --- /dev/null +++ b/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.