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: Hical61/Hical
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.4.0
Choose a base ref
...
head repository: Hical61/Hical
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.5.0
Choose a head ref
  • 5 commits
  • 81 files changed
  • 1 contributor

Commits on May 1, 2026

  1. [chore] 更新 clang-tidy 命名规范,移除类型前缀;gitignore 添加 .clangd

    clang-tidy: 移除 Class/Struct/Enum/AbstractClass 的 C/S/E/I 前缀要求,
    与项目实际命名规范(纯 CamelCase)保持一致,更新注释示例。
    gitignore: 忽略 clangd 索引缓存目录。
    Hical61 committed May 1, 2026
    Configuration menu
    Copy the full SHA
    9cf6ffc View commit details
    Browse the repository at this point in the history
  2. [docs] 更新 CONTRIBUTING 命名规范,CODE_OF_CONDUCT 补充中文翻译

    CONTRIBUTING.md: 命名规范表与 .clang-tidy 同步,移除 C/S/E/I 类型前缀,
    新增静态变量、指针参数、模板参数条目。
    CODE_OF_CONDUCT.md: 追加 Contributor Covenant v2.1 中文翻译版本。
    Hical61 committed May 1, 2026
    Configuration menu
    Copy the full SHA
    91f05f5 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2026

  1. [feat] v2.5.0 日志系统 + OpenAPI 3.0 自动生成模块

    日志系统(零开销设计):
    - Logger 单例 + 6 级 LogLevel,std::format / 流式 / 条件宏 API
    - LogRecord 结构化日志 + LogFormatter(Text/JSON)+ LogSink(Stderr/File/OStream)
    - LogFile 按大小轮转 + AsyncFileSink 异步双缓冲写盘
    - FixedBuffer 栈缓冲替代 ostringstream
    - LogChannel 命名通道 + LogMiddleware trace-id 中间件 + LogAdmin 动态级别端点
    - 9 个测试文件 97 个用例
    
    OpenAPI 3.0 自动生成(HICAL_WITH_OPENAPI=ON,零新依赖):
    - OpenApiSchema 从 HICAL_JSON 宏自动生成 JSON Schema
    - OpenApiRegistry 路由元数据注册表 + HICAL_API() 标注宏
    - OpenApiDocument 惰性缓存文档组装 + OpenApiEndpoint 一键暴露
    - 1 个测试文件 35 个用例 + openapi_server 示例
    Hical61 committed May 4, 2026
    Configuration menu
    Copy the full SHA
    f75a5bc View commit details
    Browse the repository at this point in the history
  2. [docs] 文章内容更新

    Hical61 committed May 4, 2026
    Configuration menu
    Copy the full SHA
    94db70d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51357d7 View commit details
    Browse the repository at this point in the history
Loading