Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: codingapi/springboot-framework
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.10.55
Choose a base ref
...
head repository: codingapi/springboot-framework
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.2.0
Choose a head ref
  • 10 commits
  • 245 files changed
  • 2 contributors

Commits on Aug 18, 2026

  1. refactor: 移除流程引擎模块、版本机制改为 CI-Friendly、CI 迁移至 GitHub Actions

    1. 移除流程引擎:删除 springboot-starter-flow 模块及全部关联内容
       (根 pom 各 profile 条目、kryo 依赖、event.md、PKR 能力文档),
       流程引擎已重构为独立仓库:https://github.com/codingapi/flow-engine,
       README 增加迁移说明
    2. 版本管理:采用 ${revision} + flatten-maven-plugin(resolveCiFriendliesOnly),
       开发版本锁定 8.2.0-SNAPSHOT(8=JDK 版本,2=Spring Boot 大版本),
       发版通过 -Drevision=x.y.z 指定正式版本
    3. CI 迁移:新增 GitHub Actions(.github/workflows/ci.yml,JDK 11 编译测试
       + Codecov 覆盖率上传),移除 .travis.yml(含明文 CODECOV_TOKEN),
       README 徽章替换为 Actions/Codecov
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    61344fa View commit details
    Browse the repository at this point in the history
  2. fix: RestClientTest 外部网络依赖用例改为环境自适应,升级 Actions 至 v5

    - okxTest 依赖本地代理(127.0.0.1:7890)访问 OKX 外部接口,
      CI 环境无代理导致 NPE 使构建失败;改为代理缺失/网络受限/接口
      限流时通过 JUnit Assumption 跳过,不再作为 CI 强制断言
    - actions/checkout、actions/setup-java 升级至 v5(Node 24,
      消除 GitHub Actions 的 Node 20 弃用警告)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    2264954 View commit details
    Browse the repository at this point in the history
  3. fix: 修复 data-fast 测试跨类数据泄漏导致的 CI 外键约束失败

    UserRepositoryTest 保存 user→profile→demo 外键链数据后从不清理,
    当测试类执行顺序使 UserRepositoryTest 先于 DemoRepositoryTest/
    JdbcQueryTest 运行时(执行顺序随 JDK 构建不同而变化,本地与 CI
    不一致),后者的 deleteAll 会因 PROFILE 表残留行触发外键约束冲突,
    导致 CI 间歇性失败。为 UserRepositoryTest 增加 @BeforeEach/@AfterEach
    按外键顺序(user→profile→demo)清理,使其完全自包含。
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    4ed43a6 View commit details
    Browse the repository at this point in the history
  4. fix: 修复数据查询与请求解析的框架缺陷(对齐 17.3.x)

    - FastRepository.findAll 非等值条件被 Example 静默降级为等值匹配:
      新增 RequestFilter.isAllEqualFilter(),纯等值走 Example,复杂条件自动切换 HQL
    - ExampleBuilder 空 catch 吞异常导致过滤条件静默丢失,改为显式抛出 IllegalStateException
    - DynamicSQLBuilder 空 OR/AND 组合拼出非法 HQL(WHERE  AND),改为跳过空片段
    - SearchRequest.decode 对非法 Base64 抛 IllegalArgumentException 导致 500,改为按未消费参数处理
    - JdbcQuery.countQuery 参数数量相等时不拷贝导致 SQL 参数未绑定
    - JdbcQuery.CamelCaseRowMapper 未指定下划线分隔符导致驼峰转换失效
    - MyAuthenticationFilter token 解析异常/空结果统一返回 token.expire,与 17.3.x 行为一致
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    39a1f9d View commit details
    Browse the repository at this point in the history
  5. test: 大幅提升单元测试覆盖率(行覆盖约 45% → 89.7%)

    - 与 17.3.x 保持一致的单元测试集(约 430 个用例),适配 JDK 8/Spring Boot 2.7:
      javax 命名空间、antMatchers、真实 URL 替代 final 类 mock、启用 mockito-inline、
      移除 JDK 9+ JDBC 方法(beginRequest/setShardingKey)的委托验证
    - 覆盖率:starter 77.4%、script 99.4%、security 94.8%、data-fast 89.0%、
      data-authorization 96.7%
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    e95e2df View commit details
    Browse the repository at this point in the history
  6. docs: README 改为双版本线简介,文档全面对齐实际代码

    - README 仅保留 17.3.x(JDK 17/Spring Boot 3)与 8.2.x(JDK 8/Spring Boot 2)两条版本线简介;
      本分支无示例工程,不包含示例运行内容
    - 移植与代码对齐后的文档体系:wiki(含新增 script 页)、conventions、capabilities
      (含 docs/agents 镜像),版本号适配为 8.2.x,servlet 命名空间说明适配 javax
    - CLAUDE.md 重写:补充模块架构、核心模式、配置项,注明 javax 约束与无示例工程
    - CONTRIBUTING 更新 JDK 要求(8)、分支模型与构建指引
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    06f55a7 View commit details
    Browse the repository at this point in the history
  7. fix: 修复 Groovy 元数据策略跨测试类泄漏导致的 CI 失败

    GroovyStrategyTest 向全局 GroovyMetadataGenerateStrategyContext 注册的自定义策略
    未在结束后清理,测试类执行顺序变化时污染 GroovyScriptControllerTest 的元数据断言。
    为两个测试类补充清理逻辑,并将 test.db* 加入 .gitignore 避免 H2 文件库残留。
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    fb5f3fa View commit details
    Browse the repository at this point in the history
  8. docs: 新增 DDD 观点文章中英文版本并在 README 引用分享

    - 新增 DDD_CN.md(中文)/ DDD_EN.md(英文),互相提供语言切换链接
    - 核心观点:DDD 让业务决定模型,让模型组织软件,让数据与技术服务于业务;
      探讨 DDD 在可测试、可复用、可持续三个维度的价值及 Vibe Coding 时代的意义
    - README 新增「DDD 观点分享」章节引用全文
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    5269de1 View commit details
    Browse the repository at this point in the history
  9. docs: 调整 README 结构,DDD 观点分享移至版本说明之前

    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    4685c62 View commit details
    Browse the repository at this point in the history
  10. update deploy remark

    xlorne committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    75a0051 View commit details
    Browse the repository at this point in the history
Loading