Commit Graph

65 Commits

Author SHA1 Message Date
ae7a267c1d style: 调整代码风格 null != xx => xx != null(更符合大众风格) 2025-05-17 13:50:59 +08:00
35e2cdc3bf fix(web): 修复 /file/ 注册资源映射时被解析为 /file//** 的问题 2025-05-15 19:47:13 +08:00
3bbd04add2 fix(web): 修复默认 Response 类 msg 传递污染的问题
Closes #14
2025-05-14 20:07:27 +08:00
7d97026480 refactor(license): 优化 License 模块部分代码 2025-04-29 14:33:11 +00:00
司马琦昂
4e7cd51868 perf(web): 优化文件工具类下载文件逻辑,减少堆内存占用 (#12) 2025-04-16 16:50:54 +08:00
efaef9d7e6 refactor: 统一配置启用属性描述 2025-04-04 17:34:18 +08:00
08068cb9f7 refactor(web): 优化部分代码 2025-04-02 20:11:34 +08:00
jasmine
49b1b6a690 feat(web): 添加 Undertow 自定义配置和默认配置,默认禁止三个不安全的 HTTP 方法(如 CONNECT、TRACE、TRACK) 2025-04-02 08:39:30 +00:00
f2ba10beae refactor: 优化部分代码及方法命名,移除 SpringWebUtils 部分重复方法 2025-04-01 22:08:54 +08:00
吴泽威
7e8a15ae8a perf: 删除多余依赖,格式化代码
删除幂等模块的 springboot-aop 依赖
删除 web 模块的 springboot-Validation 依赖
2025-04-01 16:48:16 +08:00
吴泽威
199a83fbea fix(log/core): 修复访问日志json数组打印
对于请求参数的 json 数组打印和处理的问题修复
适配 json 数组打印处理,json 模块增加 JSONUtil 和
JsonBuilder
2025-04-01 16:44:50 +08:00
吴泽威
ca2c88651f refactor(log/core): 重构请求和响应信息获取
web 模块 ServletUtils整理
log/core 模块 删除 RecordableHttpRequest和
RecordableHttpResponse
2025-04-01 15:58:02 +08:00
liquor
1613374fcc fix(log): 修复构建请求可重复读流后过滤文件流导致的错误问题 2025-03-26 14:41:36 +00:00
21262701dc refactor(web): 请求响应可重复读流处理由 core 调整到 web 模块 2025-03-26 20:43:16 +08:00
85285e56a8 feat(trace): 新增链路追踪模块(原 web 模块内组件) 2025-03-26 20:41:46 +08:00
b5bfe5c681 feat(security/xss): 新增 XSS 过滤模块(原 web 模块内组件) 2025-03-26 20:41:20 +08:00
d9ac2764aa feat(web): 新增日期类型转换器 2025-03-20 20:30:23 +08:00
974efa368a build(dependencies): 更新项目依赖版本
- 项目版本号 2.9.0 => 2.10.0-SNAPSHOT
- Spring Boot 3.2.12 => 3.3.9
- 新增 Spring Cloud 2023.0.5
- Redisson 3.41.0 => 3.45.0
- CosId 2.10.1 => 2.11.0
- sa-token 1.39.0 => 1.40.0
- snail-job 1.2.0 => 1.3.0
- sms4j 3.3.3 => 3.3.4
- nashorn 15.5 => 15.6
- s3 2.29.23 => 2.30.35
- s3-crt 0.33.5 => 0.36.1
- ip2region 3.2.12 => 3.3.6
- hutool 5.8.34 => 5.8.36
- mybatis-flex 1.10.3 => 1.10.8
- snakeyaml 2.3 => 2.4
- flatten 1.6.0 => 1.7.0
- spotless 2.43.0 => 2.44.3
2025-03-16 21:29:10 +08:00
licoocn
e7d99e65aa fix(web): 优化默认全局响应实体 R ,为 status 字段添加默认值 DefaultResponseStatus 2025-03-06 09:58:35 +00:00
0d7f777fd5 fix(web): 修复开启 i18n 后访问接口报错的问题 2025-02-20 20:36:55 +08:00
80c0700934 refactor: 解决 Sonar 问题,替换部分过期 API 2025-01-04 19:42:03 +08:00
5ff9391485 chore: 升级依赖
Spring Boot 3.2.10 => 3.2.12
SnailJob 1.1.2 => 1.2.0
JustAuth 1.16.6 => 1.16.7
MyBatis Flex 1.9.7 => 1.10.3
JetCache 2.7.6 => 2.7.7
Redisson 3.36.0 => 3.41.0
CosID 2.9.9 => 2.10.1
nashorn-core 15.4 => 15.5
aws-s3 1.12.771 => 1.12.780
graceful-response 5.0.0-boot3 => 5.0.4-boot3
ip2region 3.2.6 => 3.2.12
Hutool 5.8.32 => 5.8.34
2024-12-23 22:05:58 +08:00
b11013ee80 fix(json/jackson): 修复 BaseEnum 反序列化数据类型仅支持数值的问题 2024-11-16 21:29:09 +08:00
cd69b2adb6 chore: 优化部分依赖传递范围 2024-09-28 21:32:31 +08:00
46773df9dd chore: 优化代码格式 2024-09-11 22:24:46 +08:00
2208dbd028 chore: 升级依赖 graceful-response 4.0.1-boot3 => 5.0.0-boot3 2024-09-05 19:54:19 +08:00
260f484af9 chore(web): 链路追踪配置属性响应头名称 => 链路 ID 名称 2024-09-04 20:12:44 +08:00
784a56fd4f refactor(web): 提升接口文档响应类型优化扩展性 2024-08-29 19:42:44 +08:00
e55eb17d64 feat(web): 新增 isMatch 路径是否匹配方法
match => isMatch
2024-08-19 22:40:53 +08:00
4c4f98a86e chore(api-doc): 优化部分代码 2024-08-14 22:14:02 +08:00
吴泽威
bf51837991 refactor(api-doc/web): 重构doc文档枚举展示处理,处理doc 文档全局响应格式 2024-08-14 21:12:23 +08:00
be3a121c09 feat(web): FileUploadUtils 新增下载重载方法 2024-08-07 19:53:07 +08:00
0b41f2d10c refactor(web): 重构全局响应处理方案
引入 Graceful Response(一个Spring Boot技术栈下的优雅响应处理组件,可以帮助开发者完成响应数据封装、异常处理、错误码填充等过程,提高开发效率,提高代码质量)
2024-08-06 23:54:06 +08:00
9ec2e6b981 chore(web): BaseEnumConverterAutoConfiguration => WebMvcAutoConfiguration 2024-08-01 22:21:46 +08:00
702dcca701 feat(web): SpringWebUtils 新增 match 方法
ServletUtils 部分方法调整到 SpringWebUtils
2024-07-31 21:10:06 +08:00
bed954ca94 feat(web): 新增 BaseEnum 枚举接口参数转换器 2024-07-31 20:43:04 +08:00
e7566d284b fix(web): 修复文件上传异常单位显示错误 2024-07-18 23:27:59 +08:00
6809600858 feat(core): 新增 JSR 303 校验器自动配置(从 web 模块迁移)
1.从 web 模块移动 JSR 303 校验器自动配置到 core 模块
2.从 web 模块移动 MessageSourceUtils 到 core 模块
2024-07-03 23:22:07 +08:00
6b90880c21 chore: 优化属性前缀命名 2024-06-28 21:42:53 +08:00
491721e887 chore: 优化部分文件格式 2024-06-25 21:32:15 +08:00
KAI
a89765f49e feat(security/limiter): 新增限流器 2024-06-25 01:01:43 +00:00
jasmine
ce08f28a61 feat: 新增国际化及全局异常码配置 2024-06-24 13:44:03 +00:00
6c10e80d71 refactor(messaging/websocket): 优化 WebSocket 相关配置及命名 2024-06-23 11:30:03 +08:00
Yoofff
1bc4ba76b2 perf: 优化全局文件上传异常-超过上传大小限制的异常判断 2024-06-21 01:18:02 +00:00
cc079e8bf4 feat(messaging/websocket): 新增消息模块 - WebSocket 2024-06-04 22:43:27 +08:00
57eef274a3 refactor(web): 优化部分方法使用 2024-05-13 22:07:18 +08:00
f757438d1b refactor(web/xss): 优化 XSS 过滤部分代码 2024-04-16 22:39:34 +08:00
dbb7a6319e chore: top.charles7c.continew => top.continew 2024-04-09 22:33:19 +08:00
whhya
2573fb04f0 feat(web/xss): XSS 增加过滤模式字段,提供清空、转义 2 种方式,默认使用清空模式
* update:完善XssProperties.mode属性为枚举类型
* feat(web/xss): xss增加过滤模式(mode)字段,提供清空(clean)/转义(escape)2种方式,默认使用clean模式
2024-04-09 02:15:31 +00:00
8c91d4a26c refactor(web): 优化 XSS 过滤部分代码 2024-03-30 21:42:51 +08:00