Commit Graph
1044 Commits
Author SHA1 Message Date
PIG AI f7edba9801 feat(deps): 升级pigx-common-idempotent模块的redisson版本至3.50.0 2025-06-25 11:35:56 +08:00
PIG AI de7e1fb4df feat(pom): 升级项目版本及依赖版本
- 将项目版本从5.8.0升级至5.9.0
- 升级spring-boot版本至3.5.3
- 升级spring-boot-admin版本至3.5.0
- 更新所有子模块的parent版本号
2025-06-24 09:00:07 +08:00
PIG AI 78874c1646 refactor(pom): 适配 springboot 3.5 & spring cloud 2025 2025-06-23 16:19:50 +08:00
PIG AI 9601609eb2 feat(sse): 优化SSE模块配置与文档
- 重命名messageDistributor为sseMessageDistributor以明确功能定位
- 为SseEmitterEndpoint添加详细方法注释说明
- 优化RedisMessageDistributorConfiguration类结构与文档
- 更新SseEmitterMessageSender类文档与日期信息
- 为MessageDistributorTypeConstants添加类说明文档
2025-06-23 16:18:14 +08:00
PIG AI 718a587c19 feat(tenant): 增强租户状态检查逻辑
- 新增对租户有效期的检查,包括startTime和endTime验证
- 优化无效租户的响应方式,返回401状态码和JSON格式错误信息
- 使用JSONUtil和ContentType处理错误响应输出
- 添加@SneakyThrows注解处理潜在异常
2025-06-23 16:18:09 +08:00
PIG AI 8d0eb9c8fb feat(mybatis): 修改匿名用户处理逻辑以返回用户名
- 移除未使用的SecurityUtils import
- 当用户为AnonymousAuthenticationToken时返回authentication.getName()
- 保持原有非匿名用户处理逻辑不变
2025-06-23 16:16:39 +08:00
PIG AI 2ad48fb751 fix(pom): 回退druid版本至1.2.23
- 将druid依赖版本从1.2.24降级至1.2.23
- 解决与当前系统其他组件的兼容性问题https://github.com/alibaba/druid/issues/6263
2025-06-23 16:15:20 +08:00
PIG AI 560129fc06 feat(security): 优化oauth2.0 的自省端点
- 在PigxRemoteRegisteredClientRepository中实现findById方法
- 优化PigxRedisOAuth2AuthorizationService的token处理逻辑
- 修复findByToken方法中tokenType为null时的默认值处理
- 添加根据username清理token的功能扩展
2025-06-23 16:15:17 +08:00
冷冷 f3738c4e11 docs(pom): 更新Hutool依赖版本至5.8.38 2025-06-23 16:14:28 +08:00
冷冷 19a223695f refactor(core): 重构WebPriorityHeader相关配置类并优化结构
- 将PriorityHeaderConfiguration重命名为PriorityHeaderInitBinder以明确用途
- 合并RestTemplate配置至新创建的WebCommonConfiguration类
- 在WebCommonConfiguration中统一管理Web相关Bean配置
- 添加ConditionalOnWebApplication条件注解确保Servlet环境
2025-06-23 16:06:54 +08:00
冷冷 37035cbf27 refactor(core): 重构WebPriorityHeader相关配置类并优化结构
- 将PriorityHeaderConfiguration重命名为PriorityHeaderInitBinder以明确用途
- 合并RestTemplate配置至新创建的WebCommonConfiguration类
- 在WebCommonConfiguration中统一管理Web相关Bean配置
- 添加ConditionalOnWebApplication条件注解确保Servlet环境
2025-06-23 16:06:54 +08:00
冷冷 bf8b8805c8 feat(pigx-common-bom): 升级MyBatis-Plus相关依赖版本
feat(pigx-codegen): 修改GenTableColumnEntity字段更新策略

- 升级MyBatis-Plus版本至3.5.12
- 升级MyBatis-Plus-Join版本至1.5.3
- 修改fieldDict字段的更新策略为ALWAYS
2025-06-23 16:06:21 +08:00
冷冷 b3834e3215 feat(common-sensitive): 新增URL参数脱敏功能及枚举类型(ai-dev)
1. 在DesensitizedUtils工具类中新增url()方法,实现URL参数脱敏功能
2. 在SensitiveTypeEnum枚举中新增QUERY_PARAM类型,关联新增的脱敏方法
3. 方法会将URL参数值统一替换为***以保护敏感信息
2025-06-23 16:06:08 +08:00
冷冷 dc37974c72 chore(deps): 更新Spring Boot版本至3.4.5并移除废弃依赖项
- 升级Spring Boot版本从3.4.3到3.4.5
- 移除不再使用的spring-authorization.version属性
- 清理pigx-common-security模块中冗余的版本号配置
2025-06-23 16:06:08 +08:00
冷冷 f1231ec841 chore(deps): 更新 deepseek 依赖版本至 1.4.7 2025-06-23 16:05:35 +08:00
冷冷 7f9e6105f8 feat(core): 添加PriorityHeaderConfiguration解决请求头冲突问题 2025-06-23 16:05:22 +08:00
冷冷 a5abaa4d2c chore(deps): 更新 deepseek 依赖版本至 1.4.6 2025-06-23 16:04:46 +08:00
冷冷 8edb1458a0 feat(mybatis): 支持Oracle和PostgreSQL数据库的SQL表名提取功能 2025-06-23 16:04:25 +08:00
冷冷 7db8f47e39 fix(persistence): update SQL Server version and simplify order by clause in SysUserMapper 2025-06-23 16:04:06 +08:00
冷冷 5b5aac37d0 feat(core): 在 WebUtils 中添加 isMicro 方法用于检测微服务环境
新增 `isMicro` 方法,通过 `SpringContextHolder` 获取应用上下文并检查 `security.micro` 属性,默认返回 `true`。
2025-03-10 23:40:00 +08:00
冷冷 186505deac chore(deps): 更新 pigx-common-bom 中的 javers 版本至 7.8.0
此次提交将 `javers` 依赖版本从 `7.3.3` 升级至 `7.8.0`,以保持依赖的最新状态并可能修复已知问题或引入新功能。
2025-03-10 14:59:21 +08:00
冷冷 9f7f4c4564 feat(oss): 添加 skipMd5Check 配置项以支持跳过 MD5 检查
#6272 使用腾讯云存储COS ,图片不能正常下载的问题, Invalid base 16 character: '"'
2025-03-10 14:12:29 +08:00
冷冷 aef21008d9 chore(deps): 更新 pigx-common-bom/pom.xml 添加 swagger-annotations 依赖
此次提交在 `pigx-common-bom/pom.xml` 中添加了 `swagger-annotations` 依赖,版本号为 `${swagger.core.version}`。该变更属于项目配置维护的一部分,旨在确保项目的依赖完整性。
2025-03-10 10:46:31 +08:00
冷冷 675d068018 chore(deps): 更新 sms4j 依赖的 groupId 为 org.dromara.sms4j
将 `sms4j` 相关的依赖从 `io.github.pig-mesh.sms4j` 更新为 `org.dromara.sms4j`,确保依赖的准确性和一致性。
2025-03-09 20:53:49 +08:00
冷冷 3a8116b5ea chore(pom): update version from 5.7.0 to 5.8.0 across multiple modules 2025-03-09 20:47:25 +08:00
冷冷 a328d1c90e feat(sensitive): 新增 JSON 格式数据脱敏功能
在 `DesensitizedUtils` 类中新增 `json` 方法,支持对 JSON 数据进行脱敏处理。该方法允许根据指定的字段进行模糊或精确匹配,并对匹配的字段值进行脱敏处理。
2025-03-08 17:12:46 +08:00
冷冷 d474799fa7 feat(encrypt-api): 支持全局请求报文加密
BREAKING CHANGE: 文档和用法完全和之前不一样,不需要耦合代码
2025-03-07 18:18:02 +08:00
冷冷 3e016ecc4f Revert "refactor(common-oss): S3文件上传简化去掉byteinputstream"
This reverts commit a7f85b5824de208f5b692cf62a8f7caa16fea4ea.
2025-03-07 18:12:36 +08:00
冷冷 7a97f94557 chore(deps): 添加 deepseek-spring-boot-starter 依赖并更新 pigx-common-bom/pom.xml
在 `pigx-common-bom/pom.xml` 中添加了 `deepseek-spring-boot-starter` 依赖,版本为 `1.4.5`,并新增了 `pigx-common-milvus` 依赖。这些变更为项目引入了新的功能模块,支持 AI 相关的功能扩展。
2025-03-07 18:12:32 +08:00
冷冷 518720d325 refactor(sse): 优化 SseEmitterEndpoint 确保在 onCompletion、onTimeout 和 onError 时清理 SseEmitter。
同时,将 `SecurityUtils.getUser().getId()` 提取为局部变量 `userId`,减少重复代码。

在 `SseEmitterHolder` 中,修改了 `removeSseEmitter` 方法的参数类型和实现,使其直接通过 `SseEmitter` 对象进行删除,提升代码可读性和维护性。

此外,移除了 `SseEmitterMessageSender` 中未使用的 `ReflectUtil` 导入,保持代码简洁。
2025-03-07 18:12:23 +08:00
冷冷 4ed963af5d chore(bom): update springdoc and swagger.core versions 2025-03-07 18:11:29 +08:00
冷冷 ecad480ec7 chore(deps): 更新 sms4j 依赖的 groupId 和版本号
将 `sms4j` 依赖的 `groupId` 从 `org.dromara.sms4j` 更新为 `io.github.pig-mesh.sms4j`,并将版本号从 `3.3.3` 升级到 `3.3.4`。
2025-02-25 18:10:29 +08:00
冷冷 a285a86571 chore(deps): 更新 mybatis-plus 依赖版本至 3.5.10.1 2025-02-23 22:18:45 +08:00
冷冷 c485de19f2 chore(deps): 更新 hutool 和 spring-authorization 依赖版本
将 `hutool` 从 `5.8.34` 升级到 `5.8.36`,并将 `spring-authorization` 从 `1.4.1` 升级到 `1.4.2`,以获取最新的功能和修复。
2025-02-19 11:57:08 +08:00
冷冷 7f8626e04f feat: 更新 PigxTokenEndpoint 和相关模板,优化授权流程和界面 2025-02-18 22:17:42 +08:00
冷冷 a00f4f81a4 chore(deps): 更新 Spring Security 配置并引入 Lazy 注解 (jdk17-dev)
在 `AuthorizationServerConfiguration` 中移除 `DelegatingAuthenticationConverter` 的重复导入,并调整其位置。在 `PigxResourceServerConfiguration` 中引入 `@Lazy` 注解优化依赖注入,同时将 `PrePostTemplateDefaults` 替换为 `AnnotationTemplateExpressionDefaults`。
2025-02-18 19:41:57 +08:00
冷冷 3e7df4cc61 feat(core): Add utility method to convert boolean to YesNoEnum code 2025-02-17 15:35:50 +08:00
冷冷 5332ee8ce3 refactor(common-datasource): 重构动态数据源,同支持 YAML + JDBC ,兼容Druid 标准配置 2025-02-04 10:12:34 +08:00
冷冷 08f9b493e0 refactor(common-oss): S3文件上传简化去掉byteinputstream 2025-02-04 10:11:56 +08:00
冷冷 17a081edb8 upgrade(codegen): anyline 20250109 版本
fix Oracle 读取表的问题
2025-01-13 15:50:48 +08:00
冷冷 cc0f1cda67 feat(data): 支持通过参数跳过数据权限
用法:
DataScope dataScope = new DataScope();
dataScope.setSkip(true);
baseMapper.selectPageByScope(page, wrapper, dataScope);
2024-12-25 09:36:18 +08:00
冷冷 d249355f05 refactor(sentinel): 避免 sentinel 健康检查 强制检测 server 2024-12-16 14:19:56 +08:00
冷冷 9415d82c28 🔖 V5.7.0 2024-12-05 12:23:43 +08:00
冷冷 a55f6d0bfb refactor(idempotent): 重构幂等切面,用原子性操作替换双检锁 2024-12-04 14:22:26 +08:00
冷冷 a013b5196a refactor(security): 异常信息使用 messages_zh_CN.properties 国际化文件处理 2024-12-01 15:04:50 +08:00
冷冷 4f8a78661b upgrade(spring cloud): 2023.0.4 2024-11-29 09:37:03 +08:00
冷冷 8baef653f1 upgrade(all): 5.7.0-SNAPSHOT 2024-11-27 22:04:25 +08:00
冷冷 e77e2c5a4a refactor(security): 增加 satoken 通用配置属性 2024-11-27 20:11:57 +08:00
冷冷 536be6fb15 refactor(data): 数据权限查询角色优化 2024-11-26 14:14:27 +08:00
冷冷 0d798c328f refactor(data): 数据权限查询角色优化 2024-11-26 14:06:11 +08:00