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: v3.4.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: v17.3.0
Choose a head ref
  • 13 commits
  • 488 files changed
  • 2 contributors

Commits on Aug 18, 2026

  1. refactor: 移除流程引擎模块、前端合并为 pnpm workspace、版本机制改为 CI-Friendly

    1. 移除流程引擎:删除 springboot-starter-flow 模块及全部关联内容
       (example-infra-flow、Flow/请假示例、entrust 委托链路、文档、前端页面),
       流程引擎已重构为独立仓库:https://github.com/codingapi/flow-engine,
       README 增加迁移说明
    2. 前端 monorepo:admin-ui/mobile-ui 合并至 frontend/(pnpm workspace),
       apps/pc、apps/mobile 仅保留 pc/mobile 两组指令,公共代码抽至
       packages/shared(@springboot-framework/shared),结构参考 flow-frontend
    3. 版本管理:采用 ${revision} + flatten-maven-plugin(resolveCiFriendliesOnly),
       开发版本锁定 17.3.0-SNAPSHOT(17=JDK 版本,3=Spring Boot 大版本),
       发版通过 -Drevision=x.y.z 指定正式版本
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    4de1bf4 View commit details
    Browse the repository at this point in the history
  2. ci: CI 迁移至 GitHub Actions,接入 Codecov 覆盖率上传

    - 新增 .github/workflows/ci.yml:JDK 17 编译 + travis profile 单元测试
      + jacoco 覆盖率上传 Codecov(CODECOV_TOKEN 使用仓库密钥),
      写法参考 https://github.com/codingapi/flow-engine/blob/main/.github/workflows/ci.yml
    - 移除 .travis.yml(含明文 CODECOV_TOKEN,已轮换至 GitHub 仓库密钥)
    - README 徽章:Travis CI 徽章替换为 GitHub Actions Build 徽章,
      Codecov 徽章指向 17.3.x 分支
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    17539c0 View commit details
    Browse the repository at this point in the history
  3. 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
    81dce95 View commit details
    Browse the repository at this point in the history
  4. 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
    c32873f View commit details
    Browse the repository at this point in the history
  5. docs: README 改为双版本线简介,文档全面对齐实际代码

    - README 仅保留 17.3.x(JDK 17/Spring Boot 3)与 8.2.x(JDK 8/Spring Boot 2)两条版本线简介,
      移除前端框架版本章节,example/frontend 标注为示例工程
    - 新增 docs/example-guide.md 示例工程运行手册(启动、登录、API、可选配置、前端)
    - 修正文档与代码不符的内容:Relation 枚举名系统性错误、FieldChangeEvent→DomainChangeEvent、
      SecurityLoginHandler 签名、Token.parseExtra、JoinConditionSQL 构造器、JdbcQuery 方法名、
      findAll Example/HQL 行为描述等(含 docs/agents 镜像同步)
    - 新增 docs/wiki/springboot-starter-script.md,home.md 补齐 script 依赖与链接
    - CONTRIBUTING 更新 JDK 要求(17)、分支模型与构建指引
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    99d5fbb View commit details
    Browse the repository at this point in the history
  6. fix: 修复数据查询与请求解析的 6 个框架缺陷

    - 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 未指定下划线分隔符导致驼峰转换失效
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    ddc15f1 View commit details
    Browse the repository at this point in the history
  7. test: 大幅提升单元测试覆盖率(行覆盖 45% → 90%)

    - 新增/补全五个模块单元测试共约 300 个用例,均以 Java 8 兼容语法编写便于双分支同步:
      starter(DTO/事件/事务/加密/本地 HttpServer REST 测试)、script(运行时/缓存/控制器)、
      security(JWT/Redis 网关/过滤器/加解密)、data-fast(JDBC/动态 SQL/Map 视图)、
      data-authorization(JDBC 代理链/列脱敏/SQL 分析)
    - 覆盖率:starter 51.8%→78.5%、script 64.5%→98.3%、security 68.8%→94.7%、
      data-fast 32.9%→89.3%、data-authorization 28.5%→97.1%
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    3a85b11 View commit details
    Browse the repository at this point in the history
  8. 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
    c175840 View commit details
    Browse the repository at this point in the history
  9. 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
    0b5b177 View commit details
    Browse the repository at this point in the history
  10. docs: 调整 README 结构,DDD 观点分享移至版本说明之前

    Co-Authored-By: Claude <noreply@anthropic.com>
    xlorne and claude committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    a383924 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #210 from codingapi/17.3.x

    17.3.x
    xlorne authored Aug 18, 2026
    Configuration menu
    Copy the full SHA
    b0133c2 View commit details
    Browse the repository at this point in the history
  12. update deploy remark

    xlorne committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    9f49a29 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #211 from codingapi/17.3.x

    update deploy remark
    xlorne authored Aug 18, 2026
    Configuration menu
    Copy the full SHA
    e81db41 View commit details
    Browse the repository at this point in the history
Loading