🎉 Ant Design Pro v6.0.0-beta.2
这是一个重要的预发布版本,带来了众多令人兴奋的新特性和改进!
⚡ 核心升级
🚀 构建工具全面升级
- Utoo 构建:从 Mako 迁移到 Utoo 构建工具,更稳定的构建体验
📦 框架升级
- Ant Design v6:升级到最新的 Ant Design 6.x 版本
- React 19:支持 React 19,享受最新的并发特性
- CSS 变量模式:启用 Ant Design CSS 变量,支持动态主题切换
- Tailwind CSS:新增 Tailwind CSS 支持,原子化 CSS 开箱即用
🎨 样式架构升级
- 移除所有 Less 文件,全面拥抱 CSS-in-JS 方案
- 默认使用 AlibabaSans 字体,视觉体验更加一致优雅
- 优化全局样式和组件样式,界面更加精致
🆕 新特性
- Loading 组件:新增带骨架屏动画的 Loading 组件
- 页面加载状态:添加
loading.tsx支持页面级加载状态 - 静态导出:配置
exportStatic选项,支持静态站点部署 - 错误页面优化:错误页面添加卡片包裹,视觉体验更好
🐛 问题修复
- 修复首次加载白屏问题
- 修复刷新时标题不显示的问题
- 修复无法登录问题
- 修复 Hash 路由在
getInitialState()中被忽略的问题 - 修复 404 页面路由匹配问题
- 修复 SearchList 标签页路由异常
- 修复登录页面
title={false}不生效问题 - 修复时间选择器中文语言包缺失问题
- 修复 HeaderDropdown 响应式样式问题
- 修复 Loading 页面超出问题
- 修复
headScripts链接与publicPath不匹配问题 - 修复下拉菜单标签显示异常
- 修复消息提示不自动关闭问题
📝 文档与国际化
- 新增西班牙语文档
- 新增土耳其语翻译
- 新增 404 页面多语言支持
- 优化使用文档
- 修复文档链接和翻译错误
🔧 工程化改进
- 引入 Biome 进行代码格式化和检查
- 升级所有依赖到最新版本
- 移除 Jest,使用更轻量的测试方案
- 移除未使用的依赖,减少包体积
- 添加 CodeQL 安全扫描
🙏 致谢
感谢所有为此版本做出贡献的开发者!特别感谢以下首次贡献者:
@heng1025, @whitedive, @lzskyline, @iainlau, @wzhone, @MX8CLUB, @thjxs, @minisola, @codebdy, @neveler, @UniKylin, @shensven, @stormslowly, @li-jia-nan, @Hexi1997, @csic21, @yotcap, @hyzx86, @dashaomai, @zlsdzh001, @MarushiruDonato, @dqrjz, @zhangrenyang, @httpcheck, @Wxh16144, @kiner-tang, @hms181231, @Zian502, @xieww, @NachoVBordera, @lxfu1, @luketzh, @kerwin612, @zhangwudi886, @printfCYQ, @PeachScript, @klxf, @fankaiLiu, @Dieken, @sy296565890, @selicens, @wsafight, @zzjiaxiang, @WuChenDi, @jessicaliu2009, @wanpan11, @GeoDaoyu, @kinglinglive, @coding-ice, @Eliot00, @f7deat, @Jerry-CodeHub, @elrrrrrrr
完整变更日志: v6.0.0-beta.1...v6.0.0-beta.2
English Version
🎉 Ant Design Pro v6.0.0-beta.2
This is an important pre-release version with many exciting new features and improvements!
⚡ Core Upgrades
🚀 Build Tool Upgrades
- Utoo Build: Migrated from Mako to Utoo build tool for a more stable build experience
📦 Framework Upgrades
- Ant Design v6: Upgraded to the latest Ant Design 6.x version
- React 19: Support for React 19 with the latest concurrent features
- CSS Variable Mode: Enabled Ant Design CSS variables for dynamic theme switching
- Tailwind CSS: Added Tailwind CSS support with atomic CSS out of the box
🎨 Style Architecture Upgrade
- Removed all Less files, fully embracing CSS-in-JS solution
- Default to AlibabaSans font for a more consistent and elegant visual experience
- Optimized global and component styles for a more refined interface
🆕 New Features
- Loading Component: Added Loading component with skeleton animation
- Page Loading State: Added
loading.tsxsupport for page-level loading states - Static Export: Configured
exportStaticoption to support static site deployment - Error Page Optimization: Error pages now wrapped with cards for better visual experience
🐛 Bug Fixes
- Fixed white screen on initial load
- Fixed title not displaying on refresh
- Fixed login failure issue
- Fixed Hash router being ignored in
getInitialState() - Fixed 404 page route matching issue
- Fixed SearchList tab routing anomaly
- Fixed
title={false}not working on login page - Fixed missing Chinese language pack for time picker
- Fixed HeaderDropdown responsive style issue
- Fixed Loading page overflow issue
- Fixed mismatch between
headScriptslinks andpublicPath - Fixed dropdown menu label display anomaly
- Fixed message notification not auto-closing
📝 Documentation & i18n
- Added Spanish documentation
- Added Turkish translation
- Added multi-language support for 404 page
- Optimized usage documentation
- Fixed documentation links and translation errors
🔧 Engineering Improvements
- Introduced Biome for code formatting and linting
- Upgraded all dependencies to latest versions
- Removed Jest, using a lighter testing solution
- Removed unused dependencies to reduce package size
- Added CodeQL security scanning
🙏 Acknowledgments
Thanks to all developers who contributed to this version! Special thanks to the following first-time contributors:
@heng1025, @whitedive, @lzskyline, @iainlau, @wzhone, @MX8CLUB, @thjxs, @minisola, @codebdy, @neveler, @UniKylin, @shensven, @stormslowly, @li-jia-nan, @Hexi1997, @csic21, @yotcap, @hyzx86, @dashaomai, @zlsdzh001, @MarushiruDonato, @dqrjz, @zhangrenyang, @httpcheck, @Wxh16144, @kiner-tang, @hms181231, @Zian502, @xieww, @NachoVBordera, @lxfu1, @luketzh, @kerwin612, @zhangwudi886, @printfCYQ, @PeachScript, @klxf, @fankaiLiu, @Dieken, @sy296565890, @selicens, @wsafight, @zzjiaxiang, @WuChenDi, @jessicaliu2009, @wanpan11, @GeoDaoyu, @kinglinglive, @coding-ice, @Eliot00, @f7deat, @Jerry-CodeHub, @elrrrrrrr
Full Changelog: v6.0.0-beta.1...v6.0.0-beta.2