登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
开源项目
>
WEB应用开发
>
Web开发框架
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
9.9K
Star
14.5K
Fork
4.2K
GVP
dotNET China
/
Furion
代码
Issues
0
Pull Requests
0
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
📝 发布 Furion v4.8.5 版本
已完成
#I6BC6J
百小僧
拥有者
创建于
2023-01-28 14:39
### 功能描述 发布 `Furion` 和 `Furion.Tools` 和 `Furion.Xunit` `v4.8.5` 版本 包含以下功能更新: ### 功能清单 - [x] [新增] 远程请求配置 `SetHttpVersion(version)` 配置,可配置 `HTTP` 请求版本,默认为 `1.1` <sup>4.8.5.8</sup> <sup>⏱️2023.02.06</sup> [#I6D64H](https://gitee.com/dotnetchina/Furion/issues/I6D64H) - [x] [新增] **动态 `WebAPI` 支持更加强大的路由组合功能** <sup>4.8.5.7</sup> <sup>⏱️2023.02.03</sup> [#I6CLPT](https://gitee.com/dotnetchina/Furion/issues/I6CLPT) - [x] [新增] 定时任务 `Dashboard` 可自定义入口地址 `/schedule` <sup>4.8.5.6</sup> <sup>⏱️2023.02.02</sup> [c5639f5](https://gitee.com/dotnetchina/Furion/commit/c5639f5b8d1ae5164bf812540aeb98f90487e855) - [x] [新增] `App.GetServiceLifetime(type)` 获取服务注册生命周期类型 <sup>4.8.5.3</sup> <sup>⏱️2023.01.31</sup> [4a573a8](https://gitee.com/dotnetchina/Furion/commit/4a573a8934784b1d7e11f7d1fa3cfa65b5ec2b3a) - [x] [新增] 审计日志 `LoggingMonitor` 记录 `HTTP` 响应状态码 <sup>4.8.5.2</sup> <sup>⏱️2023.01.30</sup> [abb4cbd](https://gitee.com/dotnetchina/Furion/commit/abb4cbdab9f45f53cad8468352d1c14ac8c54b42) - [x] [新增] 定时任务执行上下文 `RunId` 属性,用于标识单次作业触发器执行 <sup>4.8.5.1</sup> <sup>⏱️2023.01.30</sup> [1aac470](https://gitee.com/dotnetchina/Furion/commit/1aac4707d270cb0fe66eab67490d946029a9e41d) - [x] [修复] 优化远程请求 `ReadAsStringAsync` 底层方法,尝试修复 `Error while copying content to a stream.` 错误 <sup>4.8.5.8</sup> <sup>⏱️2023.02.06</sup> [#I6D64H](https://gitee.com/dotnetchina/Furion/issues/I6D64H) - [x] [修复] **规范化结果不支持 `OData` 协议控制器** <sup>4.8.5.5</sup> <sup>⏱️2023.02.01</sup> [!571](https://gitee.com/dotnetchina/Furion/pulls/571) - [x] [修复] 启用 `Swagger` 登录功能之后不能触发响应拦截器 <sup>4.8.5.5</sup> <sup>⏱️2023.02.01</sup> [#I6C9A2](https://gitee.com/dotnetchina/Furion/issues/I6C9A2) [!702](https://gitee.com/dotnetchina/Furion/pulls/702) [!703](https://gitee.com/dotnetchina/Furion/pulls/703) - [x] [修复] 在数据库日志的 `IDatabaseLoggingWriter` 实现类中依赖注入 `ILogger<>` 导致死循环 <sup>4.8.5.4</sup> <sup>⏱️2023.02.01</sup> [#I6C6QU](https://gitee.com/dotnetchina/Furion/issues/I6C6QU) - [x] [修复] `Furion.Xunit` 单元测试依赖注入单例服务时不是同一实例问题 <sup>4.8.5.3</sup> <sup>⏱️2023.01.31</sup> [305511e](https://gitee.com/dotnetchina/Furion/commit/305511ec6322019622c392a23957042d2dcae7fb) - [x] [修复] 数据库日志提供程序在应用程序终止时出现空异常问题 <sup>4.8.5</sup> <sup>⏱️2023.01.28</sup> [#I6AZ8Y](https://gitee.com/dotnetchina/Furion/issues/I6AZ8Y) - [x] [修复] 实体拓展方式操作数据库出现空异常问题 <sup>4.8.5</sup> <sup>⏱️2023.01.28</sup> [#I6AXU6](https://gitee.com/dotnetchina/Furion/issues/I6AXU6) - [x] [升级] `SqlSugarCore` 拓展包及脚手架至 `v5.1.3.46` 版本 - [x] [发布] `v4.8.5` 版本文档 - [x] [更新] 示例项目 `samples` 依赖至 `v4.8.5` 版本 - [x] [同步] [Replit](https://replit.com/@MonkSoul/HelloFurion) 网站 `Furion` 示例至 `v4.8.5` 版本 - [x] [发布] `Gitee` 和 `Github` `Release-v4.8.5` 版本 - [x] [同步] 更新日志 ### 代码实现 https://gitee.com/dotnetchina/Furion/commit/936b09e64ee80367887c5ec241728c3fd2d12448 https://gitee.com/dotnetchina/Furion/commit/1aac4707d270cb0fe66eab67490d946029a9e41d https://gitee.com/dotnetchina/Furion/commit/abb4cbdab9f45f53cad8468352d1c14ac8c54b42 https://gitee.com/dotnetchina/Furion/commit/1189a16133191e85bfe171e241f836e43f634e77 https://gitee.com/dotnetchina/Furion/commit/31d3a1cb5b64fd9088af37ae9cd89faf7ac81d6e https://gitee.com/dotnetchina/Furion/commit/73e5fca2ed55d3925e5e9751be2e99f51c997094 ### 功能亮点 **1. `LoggingMonitor` 支持记录 `HTTP` 响应状态码**  ---- **2. 在 `DatabaseLoggingWriter` 注入 `ILogger<>` 不会导致死循环** ```cs public class DatabaseLoggingWriter : IDatabaseLoggingWriter { private readonly ILogger<DatabaseLoggingWriter> _logger; public DatabaseLoggingWriter(ILogger<DatabaseLoggingWriter> logger) // 不会报错 { _logger = logger; } public void Write(LogMessage logMsg, bool flush) { } } ``` ---- **3. 定时任务 `Dashboard` 看板支持配置 `UI` 入口** ```cs app.UseScheduleUI(options => { // 此操作暂提供 URL 重写功能,也就是会自动跳转 options.RequestPath = "/custom-job"; // Furion 4.8.5.6+ 版本支持,必须以 / 开头且不以 / 结尾 }); ``` ----- **4. 动态 `WebAPI` 支持更强大的路由组合** ```cs using Furion.DynamicApiController; using Microsoft.AspNetCore.Mvc; namespace WebApplication38; [Route("api/[controller]")] [Route("api2/[controller]")] public class Test1Service : IDynamicApiController { [HttpGet("test")] [HttpPost] [AcceptVerbs("PUT", "PATCH")] public async Task GetTestName() { await Task.CompletedTask; } } public class Test2Service : IDynamicApiController { [HttpGet("/root/test")] [HttpGet("test")] [HttpGet(Name = "other-test")] [HttpGet("template-test", Name = "other-test")] [HttpPost] [AcceptVerbs("PUT", "PATCH")] public async Task GetTestName() { await Task.CompletedTask; } } [Route("api/[controller]")] [Route("api2/[controller]/second")] [Route("api3/[controller]/three")] public class Test3Service : IDynamicApiController { [HttpGet] [HttpGet("get/[action]")] [HttpPost] [HttpPost("post/cus-version")] public string GetVersion() { return "1.0.0"; } } ``` 
### 功能描述 发布 `Furion` 和 `Furion.Tools` 和 `Furion.Xunit` `v4.8.5` 版本 包含以下功能更新: ### 功能清单 - [x] [新增] 远程请求配置 `SetHttpVersion(version)` 配置,可配置 `HTTP` 请求版本,默认为 `1.1` <sup>4.8.5.8</sup> <sup>⏱️2023.02.06</sup> [#I6D64H](https://gitee.com/dotnetchina/Furion/issues/I6D64H) - [x] [新增] **动态 `WebAPI` 支持更加强大的路由组合功能** <sup>4.8.5.7</sup> <sup>⏱️2023.02.03</sup> [#I6CLPT](https://gitee.com/dotnetchina/Furion/issues/I6CLPT) - [x] [新增] 定时任务 `Dashboard` 可自定义入口地址 `/schedule` <sup>4.8.5.6</sup> <sup>⏱️2023.02.02</sup> [c5639f5](https://gitee.com/dotnetchina/Furion/commit/c5639f5b8d1ae5164bf812540aeb98f90487e855) - [x] [新增] `App.GetServiceLifetime(type)` 获取服务注册生命周期类型 <sup>4.8.5.3</sup> <sup>⏱️2023.01.31</sup> [4a573a8](https://gitee.com/dotnetchina/Furion/commit/4a573a8934784b1d7e11f7d1fa3cfa65b5ec2b3a) - [x] [新增] 审计日志 `LoggingMonitor` 记录 `HTTP` 响应状态码 <sup>4.8.5.2</sup> <sup>⏱️2023.01.30</sup> [abb4cbd](https://gitee.com/dotnetchina/Furion/commit/abb4cbdab9f45f53cad8468352d1c14ac8c54b42) - [x] [新增] 定时任务执行上下文 `RunId` 属性,用于标识单次作业触发器执行 <sup>4.8.5.1</sup> <sup>⏱️2023.01.30</sup> [1aac470](https://gitee.com/dotnetchina/Furion/commit/1aac4707d270cb0fe66eab67490d946029a9e41d) - [x] [修复] 优化远程请求 `ReadAsStringAsync` 底层方法,尝试修复 `Error while copying content to a stream.` 错误 <sup>4.8.5.8</sup> <sup>⏱️2023.02.06</sup> [#I6D64H](https://gitee.com/dotnetchina/Furion/issues/I6D64H) - [x] [修复] **规范化结果不支持 `OData` 协议控制器** <sup>4.8.5.5</sup> <sup>⏱️2023.02.01</sup> [!571](https://gitee.com/dotnetchina/Furion/pulls/571) - [x] [修复] 启用 `Swagger` 登录功能之后不能触发响应拦截器 <sup>4.8.5.5</sup> <sup>⏱️2023.02.01</sup> [#I6C9A2](https://gitee.com/dotnetchina/Furion/issues/I6C9A2) [!702](https://gitee.com/dotnetchina/Furion/pulls/702) [!703](https://gitee.com/dotnetchina/Furion/pulls/703) - [x] [修复] 在数据库日志的 `IDatabaseLoggingWriter` 实现类中依赖注入 `ILogger<>` 导致死循环 <sup>4.8.5.4</sup> <sup>⏱️2023.02.01</sup> [#I6C6QU](https://gitee.com/dotnetchina/Furion/issues/I6C6QU) - [x] [修复] `Furion.Xunit` 单元测试依赖注入单例服务时不是同一实例问题 <sup>4.8.5.3</sup> <sup>⏱️2023.01.31</sup> [305511e](https://gitee.com/dotnetchina/Furion/commit/305511ec6322019622c392a23957042d2dcae7fb) - [x] [修复] 数据库日志提供程序在应用程序终止时出现空异常问题 <sup>4.8.5</sup> <sup>⏱️2023.01.28</sup> [#I6AZ8Y](https://gitee.com/dotnetchina/Furion/issues/I6AZ8Y) - [x] [修复] 实体拓展方式操作数据库出现空异常问题 <sup>4.8.5</sup> <sup>⏱️2023.01.28</sup> [#I6AXU6](https://gitee.com/dotnetchina/Furion/issues/I6AXU6) - [x] [升级] `SqlSugarCore` 拓展包及脚手架至 `v5.1.3.46` 版本 - [x] [发布] `v4.8.5` 版本文档 - [x] [更新] 示例项目 `samples` 依赖至 `v4.8.5` 版本 - [x] [同步] [Replit](https://replit.com/@MonkSoul/HelloFurion) 网站 `Furion` 示例至 `v4.8.5` 版本 - [x] [发布] `Gitee` 和 `Github` `Release-v4.8.5` 版本 - [x] [同步] 更新日志 ### 代码实现 https://gitee.com/dotnetchina/Furion/commit/936b09e64ee80367887c5ec241728c3fd2d12448 https://gitee.com/dotnetchina/Furion/commit/1aac4707d270cb0fe66eab67490d946029a9e41d https://gitee.com/dotnetchina/Furion/commit/abb4cbdab9f45f53cad8468352d1c14ac8c54b42 https://gitee.com/dotnetchina/Furion/commit/1189a16133191e85bfe171e241f836e43f634e77 https://gitee.com/dotnetchina/Furion/commit/31d3a1cb5b64fd9088af37ae9cd89faf7ac81d6e https://gitee.com/dotnetchina/Furion/commit/73e5fca2ed55d3925e5e9751be2e99f51c997094 ### 功能亮点 **1. `LoggingMonitor` 支持记录 `HTTP` 响应状态码**  ---- **2. 在 `DatabaseLoggingWriter` 注入 `ILogger<>` 不会导致死循环** ```cs public class DatabaseLoggingWriter : IDatabaseLoggingWriter { private readonly ILogger<DatabaseLoggingWriter> _logger; public DatabaseLoggingWriter(ILogger<DatabaseLoggingWriter> logger) // 不会报错 { _logger = logger; } public void Write(LogMessage logMsg, bool flush) { } } ``` ---- **3. 定时任务 `Dashboard` 看板支持配置 `UI` 入口** ```cs app.UseScheduleUI(options => { // 此操作暂提供 URL 重写功能,也就是会自动跳转 options.RequestPath = "/custom-job"; // Furion 4.8.5.6+ 版本支持,必须以 / 开头且不以 / 结尾 }); ``` ----- **4. 动态 `WebAPI` 支持更强大的路由组合** ```cs using Furion.DynamicApiController; using Microsoft.AspNetCore.Mvc; namespace WebApplication38; [Route("api/[controller]")] [Route("api2/[controller]")] public class Test1Service : IDynamicApiController { [HttpGet("test")] [HttpPost] [AcceptVerbs("PUT", "PATCH")] public async Task GetTestName() { await Task.CompletedTask; } } public class Test2Service : IDynamicApiController { [HttpGet("/root/test")] [HttpGet("test")] [HttpGet(Name = "other-test")] [HttpGet("template-test", Name = "other-test")] [HttpPost] [AcceptVerbs("PUT", "PATCH")] public async Task GetTestName() { await Task.CompletedTask; } } [Route("api/[controller]")] [Route("api2/[controller]/second")] [Route("api3/[controller]/three")] public class Test3Service : IDynamicApiController { [HttpGet] [HttpGet("get/[action]")] [HttpPost] [HttpPost("post/cus-version")] public string GetVersion() { return "1.0.0"; } } ``` 
评论 (
20
)
登录
后才可以发表评论
状态
已完成
待办的
进行中
已完成
已关闭
负责人
未设置
百小僧
monksoul
负责人
协作者
+负责人
+协作者
标签
漏洞
优先
优化
未设置
标签管理
里程碑
v4.8.5
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(8)
C#
1
https://gitee.com/dotnetchina/Furion.git
git@gitee.com:dotnetchina/Furion.git
dotnetchina
Furion
Furion
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册