Ant Design Pro v6.0.1
v6.0.0 发布后的首个补丁版本,修复了多个影响使用体验的问题,并新增了离线容错和语言切换增强。
🆕 新功能
- 离线友好的错误处理:chunk 加载失败时自动重试,网络断开时显示状态提示横幅,弱网环境下体验更可靠 (#11756)
- Header 语言切换增强:操作项从头像下拉菜单提取为顶部栏独立组件,语言切换扩展支持全部 8 种语言 (#11733)
- Welcome 页 V6 庆祝标题:新增渐变庆祝标题,突出 v6 大版本发布 (#11731)
- Google Analytics (GA4) 集成:新增 GA4 配置支持 (#11739)
🐛 Bug 修复
- 修复 404 页面无法渲染(路由路径和组件引用错误)(#11729, #11730)
- 修复执行
npm run simple后 404 页面丢失导致应用无法启动 (#11754) - 修复 Cloudflare Worker 中
Date.now()在模块级别返回 0 的问题 (#11738) - 修复使用 pnpm 安装时 swagger-ui 依赖缺失 (#11748)
- 修复内网环境下因远程 OpenAPI schema 请求导致项目无法启动 (#11750)
- 修复生产构建
@ant-design/plots渲染错误 (#11736) - 替换已损坏的 max i18n-remove 插件为自包含脚本,支持
getIntl()用法 (#11761, #11767)
💅 改进
- Footer 布局重构,分组展示版本号与构建信息 (#11758)
- Demo 组件重构,使用 antd v6 新 API (#11746)
- 改进测试中 localStorage、Worker 和 matchMedia 的 mock (#11682)
📦 依赖更新
- @umijs/max → 4.6.51
- @utoo/pack → 1.4.3
- swagger-ui-dist → 5.32.5
📝 文档
v6.0.1 is the first patch release after v6.0.0, fixing several usability issues and adding offline resilience and expanded language support.
🆕 New Features
- Offline-friendly error handling: auto chunk retry and network status banner for a more reliable experience on unstable connections (#11756)
- Header language switcher enhancement: actions extracted from avatar dropdown to standalone top bar components, language switcher expanded to all 8 locales (#11733)
- Welcome page V6 celebration title: gradient celebration title highlighting the v6 major release (#11731)
- Google Analytics (GA4) integration: added GA4 configuration support (#11739)
🐛 Bug Fixes
- Fixed 404 page not rendering (route path and component reference errors) (#11729, #11730)
- Fixed 404 page missing after
npm run simple, causing app to fail to start (#11754) - Fixed Cloudflare Worker
Date.now()returning 0 at module level (#11738) - Fixed missing swagger-ui package when using pnpm (#11748)
- Fixed remote OpenAPI schema blocking intranet development (#11750)
- Fixed production build
@ant-design/plotsrender error (#11736) - Replaced broken
max i18n-removeplugin with self-contained script, addedgetIntl()support (#11761, #11767)
💅 Improvements
- Footer layout redesign with grouped version info (#11758)
- Demo components refactored to antd v6 new APIs (#11746)
- Improved test mocks for localStorage, Worker, and matchMedia (#11682)
📦 Dependency Updates
- @umijs/max → 4.6.51
- @utoo/pack → 1.4.3
- swagger-ui-dist → 5.32.5
📝 Documentation
- Updated README and Cheatsheet links (#11740)
- Added
npx antd lintto CI, improved CLAUDE.md and Cheatsheet (#11766)
Full Changelog: v6.0.0...v6.0.1