Skip to content

v6.4.4

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Jun 11:26
· 1 commit to main since this release

Features

  • New antd design.md command — outputs antd's design language specification (colors, typography, spacing, radius, and design principles) in design.md format, ready for AI design tools like Figma Make and Stitch. Also available as antd_design_md MCP tool (#147, ant-design#57701)
  • New antd upgrade command — update the CLI to the latest version without leaving your terminal (#123)
  • All commands now support --format markdown output and --lang zh for Chinese labels (#146)
  • antd info now shows a note about common props (className / style / rootClassName) shared by all components (#139)

Bug Fixes

  • Fix version auto-detection defaulting to v5 instead of v6 when antd is not installed locally (#150)
  • antd mcp now shows a helpful message when run directly in a terminal instead of silently hanging (#154)
  • Fix some components (e.g. those with only sub-component props) failing to display in antd info (#152)
  • Fix missing or malformed prop metadata and token data for some components across v5/v6 (#138, #132, #122, #125)
  • Fix markdown table output with special characters being incorrectly escaped (#136)
  • Fix invalid --format or --lang values being silently ignored instead of showing an error (#141)
  • Fix version parsing, antd upgrade comparison, and antd semantic --lang zh crash (#127)

Security

Other Changes

  • Reduce npm package size by excluding skills node_modules (#144)
  • Add Codex and OpenAI Agents support (#151)
  • Improve sync workflow reliability (#155, #156, #135, #133)
  • Bump dependencies (#149, #148, #130, #119, #117)
  • Update antd metadata to v6.4.4 (diff)

新功能

  • 新增 antd design.md 命令,输出 antd 设计语言规范(颜色、字体、间距、圆角及设计原则),兼容 design.md 格式,可被 Figma Make、Stitch 等 AI 设计工具直接使用,同时提供 antd_design_md MCP tool (#147, ant-design#57701)
  • 新增 antd upgrade 命令,在终端内一键升级 CLI 到最新版本 (#123)
  • 所有命令新增 --format markdown 输出格式和 --lang zh 中文显示支持 (#146)
  • antd info 输出中新增所有组件通用属性(className / style / rootClassName)的说明 (#139)

Bug 修复

  • 修复未安装 antd 时版本自动检测错误回退到 v5 而非最新 v6 的问题 (#150)
  • antd mcp 在终端中直接运行时现在会显示友好提示,不再静默挂起 (#154)
  • 修复部分组件(仅有子组件属性的组件)在 antd info 中无法正常显示的问题 (#152)
  • 修复 v5/v6 中部分组件的属性元数据和 Token 数据缺失或格式错误的问题 (#138, #132, #122, #125)
  • 修复 Markdown 表格输出中特殊字符转义不正确的问题 (#136)
  • 修复传入无效的 --format--lang 值时被静默忽略而未报错的问题 (#141)
  • 修复版本解析、antd upgrade 版本比较和 antd semantic --lang zh 崩溃等问题 (#127)

安全

  • 修复构建脚本中潜在的命令注入风险 (#137, #134)
  • 升级 qs 至 6.15.2,修复 CVE-2026-8723 安全漏洞 (#121)

其他变更

  • 排除 skills 的 node_modules,减小包体积 (#144)
  • 新增 Codex 及 OpenAI Agents 支持 (#151)
  • 提升数据同步流程的稳定性 (#155, #156, #135, #133)
  • 升级依赖 (#149, #148, #130, #119, #117)
  • 同步 antd 元数据至 v6.4.4 (diff)