Skip to content

[ORM] 文档、示例与发布门禁 #94

Done

Description

@Antruly

父任务:#88

目标

把 ORM 作为 1.12.0 的公开能力交付:文档、示例、构建选项、安装头文件、版本与发布门禁全部到位。

交付物

  • doc/orm-guide.md
    • 模型声明(traits + 宏)
    • CRUD、查询构造、事务、异步
    • 方言与占位符
    • NULL、类型、日期时间、DECIMAL 的已知限制
    • 明确“不做什么”:无迁移、无关联、无复合主键、无代码生成
  • doc/db-guide.md / README.md / README.zh.md 增加 ORM 指针
  • examples/orm_crud/:SQLite 可运行示例,含 CMake
  • 构建与安装
    • CMake 选项:UVCPP_BUILD_ORM(依赖 UVCPP_ENABLE_DB)
    • 公开头安装到 include/orm/;uvcpp.pc / CMake config 能定位
    • DB OFF 时 ORM 不构建;不新增 C ABI 符号
  • 版本与发布材料
    • CHANGELOG.md、RELEASE.md 增加 1.12.0 ORM 小节
    • src/uvcpp/uvcpp_version.h 版本串由发布流程处理
    • Release 正文写清 1.12.0 的 ORM 限制和验证矩阵
  • 发布门禁
    • 所有 ORM 子 issue 关闭
    • 1.12.0-rc 全量回归通过
    • 打包产物检查:ORM 头文件、示例、CMake config、pkg-config
    • 1.11.x 只保留紧急缺陷修复分支,不混入 ORM

验收标准

  • 文档中的每个 API 片段能编译(至少示例工程能编)
  • 示例在 SQLite 上真跑 CRUD,不是伪代码
  • find_package(uvcpp) 后 #include <orm/...> 可用
  • DB OFF 构建不出现 ORM 头/符号
  • 1.12.0 Release 正文准确列出支持矩阵与未验证项
  • 发布检查表有原始命令输出,不用“应该可以”

依赖

明确不做

  • 用发布文档掩盖未验证的后端
  • 在 1.12.0 里加入代码生成/迁移/关联
  • 未经 RC 直接打正式 tag

PR 要求

  • 分支:docs/orm-1.12
  • 标题:docs(orm): document the 1.12.0 single-table ORM
  • 发布 PR 单独一个,附 RC 证据和包内文件清单
  • 至少一位维护者 review;CI 全绿后合并

Activity

  1. added this to the 1.12.0 milestone on Nov 27, 2026
  2. added
    enhancement
    on Nov 27, 2026
  3. Antruly commented on Nov 27, 2026

    @Antruly
    OwnerAuthor

    PR #102 merged the guide, example, changelog/release draft and packaging hooks. The actual v1.12.0 release is not cut: #93 cross-backend ORM coverage and #95 fixed-runner performance gate remain open, and the local package staging lacks libuv headers. Keep this open until the release checklist is satisfied.

  4. Antruly commented on Nov 27, 2026

    @Antruly
    OwnerAuthor

    Local package staging now succeeds: libuvcpp-1.12.0-linux-x64.zip, 193 files, 1,755.6 KiB, 7 include/orm headers, pkg-config uvcpp.pc; sha256 95cb3e71...a8948c7. A pkg-config consumer including ORM headers compiled and ran (status=ok). This used system libuv headers for local staging; six-platform packaging, full CI and the tag are still open.

  5. Antruly commented on Nov 27, 2026

    @Antruly
    OwnerAuthor

    Prepared PR #113 (release/1.12.0-final): version header 1.12.0, README badges/lines aligned, docs gates pass. It is intentionally unmerged and untagged pending the remaining gates. Local package staging: 193 files, 7 ORM headers, pkg-config consumer ran; full six-platform packaging still not produced.

  6. Antruly commented on Nov 27, 2026

    @Antruly
    OwnerAuthor

    PR #113 was rebased onto current master (5e29711) and still only prepares the 1.12.0 version header; it is open and intentionally not merged. The Linux package evidence formerly cited (193 files, 7 ORM headers, pkg-config consumer) remains valid. Six-platform packages and full CI are still not available.

  7. Antruly commented on Nov 27, 2026

    @Antruly
    OwnerAuthor

    v1.12.0 published: tag v1.12.0, Release with 16 assets (six platform zips, MSVC installers, deb/rpm), ORM headers/config/pkg-config consumer verified, docs gates green. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions