Commit Graph
1025 Commits
Author SHA1 Message Date
冷冷 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
冷冷 9cf022c717 upgrade(all): core version upgrade 2024-11-25 09:59:14 +08:00
冷冷 d9ed794fc3 refactor(app): 优化APP 模块登录用户名不匹配的日志 2024-11-24 17:43:30 +08:00
冷冷 4ff88571c7 doc(sequence): 维护相关驱动包依赖说明注释 2024-11-24 17:42:24 +08:00
冷冷 fb10c25c6f refactor(core): 适配 mybatis-plus 3.5.9 2024-11-24 17:39:10 +08:00
冷冷 f2384b2b73 upgrade(core): mybatis-plus、druid、 mybatis-plus-join、hutool
- 升级 mybatis-plus 至 3.5.9(原版本为 3.5.8)
- 升级 mybatis-plus-join 至 1.5.2(原版本为 1.4.13)
- 升级 druid 至 1.2.23

BREAKING CHANGE: mybatos-plus 3.5.9 让人头疼,不如叫他 3.6.0 很多不兼容性的内容,注意注意!!!
2024-11-24 17:39:10 +08:00
冷冷 f763512a6c refactor(core): 优化默认查询SQL输出,quartz、工作流的SQL 不输出 2024-11-24 17:38:55 +08:00
冷冷 52827cdbf9 upgrade(xxl-job): 2.4.2 2024-11-24 17:38:39 +08:00
冷冷 61121eb507 refactor(core): 调整 request.getParameterMap()等使用,兼容东方通等容器 2024-11-24 17:38:31 +08:00
冷冷 0d9461d036 refactor(report): 适配达梦 hibernate 6.1 & mybatis-plus 3.5.9 2024-11-24 17:38:18 +08:00
冷冷 075cda636a refactor(data): 业务代码里的规则,覆盖计算规则 2024-11-22 10:38:15 +08:00
冷冷 02dea27959 refactor(data): 支持多角色数据权限计算 2024-11-21 23:10:28 +08:00
冷冷 fddf156651 refactor(data): 支持多角色数据权限计算 2024-11-21 23:10:13 +08:00
luolin 1e79c85b17 ♻️ Refactoring code.解决数据库存空串的情况 2024-09-10 23:00:13 +08:00
冷冷 0d8cde1e13 refactor(core): TenantContextHolderFilter 清空TTL 避免内存泄漏
Closes 5896
2024-09-03 16:23:50 +08:00
冷冷 fd6875763b refactor(websocket): 更换成ConcurrentWebSocketSessionDecorator非阻塞式的sendMessage发送 2024-09-03 11:31:17 +08:00
冷冷 2071195f7d fix(common-sensitive): 默认权限字符串修改为 no_mask 2024-09-01 14:13:43 +08:00
冷冷 17a7351e31 fix(app): 【紧急紧急】 APP登录序列化错误导致登录失败 2024-08-28 17:39:49 +08:00
冷冷 89dd047167 upgrade(version): 5.6.0 2024-08-26 23:45:03 +08:00
冷冷 f4e0455376 refactor(common-job): 执行器access-token 字段属性变更,保持和官方配置一致 2024-08-23 11:54:13 +08:00