Skip to content

feat(antd): upgrade antd to v6#7392

Open
arndom wants to merge 8 commits intorefinedev:mainfrom
arndom:feat/antd/upgrade-v6
Open

feat(antd): upgrade antd to v6#7392
arndom wants to merge 8 commits intorefinedev:mainfrom
arndom:feat/antd/upgrade-v6

Conversation

@arndom
Copy link
Copy Markdown
Contributor

@arndom arndom commented Apr 10, 2026

  • change deprecated ppts

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

What is the current behavior?

antd v6 wasn't supported

What is the new behavior?

antd v6 is now supported

resolves #7140

Notes for reviewers

I made a separate PR since #7177 wasn't updated

Regarding the only failing test case, should edit a record in cypress/e2e/form-antd-use-modal-form/all.cy.ts, from my tests it appears flaky:

  • When running in headed mode, the test passes
image
  • It is similar to the passing should edit a record seen in cypress/e2e/form-antd-use-drawer-form/all.cy.ts, yet it fails in headless mode
  • The failure seems to be caused by a timing issue, because with a cy.wait(1000) before the check, it occasionally passes
  • Both inputs are strangely unpopulated in headless mode, and adding an arbitrary wait time would be a bad pattern.
image

- change deprecated ppts
@arndom arndom requested a review from a team as a code owner April 10, 2026 17:23
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 10, 2026

🦋 Changeset detected

Latest commit: 8e23efd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@refinedev/live-previews Patch
@refinedev/inferencer Patch
@refinedev/antd Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@arndom
Copy link
Copy Markdown
Contributor Author

arndom commented Apr 10, 2026

will fix build errors

  • fix examples - v6 introduces prop changes
  • fix e2e tests - v6 introduces DOM changes
  • update tests snapshots in inferencer

arndom added 7 commits April 10, 2026 19:32
- v6 has a different DOM struct
- changes to select, drawer, modal DOM struct. in v6
- update custom component styles for these changes
- add arbitrary timeout for test case
- update useForm to ensure fields are updated on data arrival
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Support Ant Design v6

1 participant