-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Is your feature request related to a problem? Please describe.
I'm experiencing a conflict when trying to upgrade Ant Design to v6 in my project. The current version of @refinedev/antd is locked to Ant Design v5, which prevents me from using the latest features and improvements in Ant Design v6.
When I attempt to upgrade antd to v6, I get peer dependency conflicts with @refinedev/antd, forcing me to either:
- Stay on the older Ant Design v5
- Use workarounds like npm overrides which may cause runtime errors
This blocks my project from adopting Ant Design v6's new features, performance improvements, and bug fixes.
Describe alternatives you've considered
- Fork @refinedev/antd and manually update the Ant Design dependency - This requires maintaining a custom fork which is not sustainable
- Remove @refinedev/antd and build custom integrations - This defeats the purpose of using Refine and requires significant development effort
- Stay on Ant Design v5 - This means missing out on v6's improvements and eventually falling behind on security updates
Additional context
Ant Design v6 has been released with significant improvements including:
- Better performance
- Enhanced TypeScript support
- New components and features
- Bug fixes and security updates
Supporting Ant Design v6 would allow Refine users to take advantage of these improvements while maintaining compatibility with the Refine ecosystem.
Describe the thing to improve
Update @refinedev/antd to support Ant Design v6 as a peer dependency. This would involve:
- Updating the peer dependency requirements to support antd ^6.0.0
- Testing and updating any breaking changes from Ant Design v5 to v6
- Ensuring all @refinedev/antd components work correctly with the new version
- Updating documentation and examples to reflect Ant Design v6 usage
This would allow projects to upgrade to Ant Design v6 without conflicts and take advantage of the latest features.