github ant-design/ant-design-pro v6.0.3

7 hours ago

中文 | English

Ant Design Pro v6.0.3

本次更新聚焦基础设施现代化、稳定性与依赖安全:迁移至 Vitest,接入 Umi 的 Tailwind CSS v4 插件,将最低 Node.js 版本提升至 22,并升级 antd、Umi、TypeScript 等核心依赖。


🆕 新功能

  • 测试框架从 Jest 迁移至 Vitest,并补充核心页面测试覆盖 (#11841, #11847)
  • 使用 @umijs/max 的 Tailwind CSS v4 插件 (#11870)

🐛 Bug 修复

  • 移除请求拦截器中的硬编码演示 Token (#11833)
  • 修复侧边栏折叠时仍显示链接文字的问题 (#11834)
  • 尊重 layout.locale 配置隐藏语言切换入口 (#11836)
  • 修复 Windows 下 Tailwind CSS 导入失败的问题 (#11879)
  • 修复账户设置中的地区级联选择 (#11882)
  • 修复 versionItems 地址解析问题 (#11905)

💅 改进

  • 最低 Node.js 版本提升至 22,并优化 CI 缓存、并行任务及 Ant Design CLI 检查 (#11840, #11850, #11898)
  • 升级 antd 至 6.6.0、Umi 至 4.7.3、TypeScript 至 7.0.2,并更新相关工具链依赖 (#11848, #11883, #11885, #11902, #11930)
  • 更新 DOMPurify、Mermaid、fast-uri 等安全相关依赖 (#11922, #11925, #11926)
  • 优化 OperationModal 性能 (#11911)

Ant Design Pro v6.0.3

This release focuses on infrastructure modernization, stability, and dependency security: migrating to Vitest, adopting Umi's Tailwind CSS v4 plugin, raising the minimum Node.js version to 22, and upgrading core dependencies including antd, Umi, and TypeScript.


🆕 New Features

  • Migrated the test framework from Jest to Vitest and added core page coverage (#11841, #11847)
  • Adopted the @umijs/max Tailwind CSS v4 plugin (#11870)

🐛 Bug Fixes

  • Removed the hardcoded demo token from the request interceptor (#11833)
  • Fixed sidebar link text remaining visible when collapsed (#11834)
  • Respected layout.locale when hiding the language switcher (#11836)
  • Fixed Tailwind CSS imports on Windows (#11879)
  • Repaired geographic cascade selects in account settings (#11882)
  • Fixed versionItems URL parsing (#11905)

💅 Improvements

  • Raised the minimum Node.js version to 22 and improved CI caching, parallel jobs, and Ant Design CLI checks (#11840, #11850, #11898)
  • Upgraded antd to 6.6.0, Umi to 4.7.3, TypeScript to 7.0.2, and related tooling dependencies (#11848, #11883, #11885, #11902, #11930)
  • Updated security-related dependencies including DOMPurify, Mermaid, and fast-uri (#11922, #11925, #11926)
  • Improved OperationModal performance (#11911)

Full Changelog: v6.0.2...v6.0.3

Don't miss a new ant-design-pro release

NewReleases is sending notifications on new releases.