Minor Changes
-
#3249
fd2e1882e06
Thanks @rajaomariajaona! - Add ability to pass pagination values inuseTable
hook. (Resolves #3246)current
setCurrent
pageSize
setPageSize
pageCount
-
#3121
214ea79c81c
Thanks @yildirayunlu! - We've released Ant Design v5 support 🎉Upgrade
⚡️ You can easily update refine packages with refine CLI
update
command.npm run refine update
🪄 Migrating your project automatically with Codemod ✨
@pankod/refine-codemod
package handles the breaking changes for your project automatically, without any manual steps. It migrates your@pankod/refine-antd
version from 3.x.x to 4.x.x.Just
cd
into root folder of your project (wherepackage.json
is contained) and run this command:npx @pankod/refine-codemod antd4-to-antd5
And it's done. Now your project uses
@pankod/refine-antd@4.x.x
.Changes
<PageHeader>
component moved into@ant-design/pro-components
. refine is using<PageHeader>
in<List>
,<Create>
,<Edit>
,<Show>
components and added as a dependency. You don't need to install@ant-design/pro-components
package manually.<Comment>
component moved into@ant-design/compatible
.moment.js
is replaced withday.js
.less
is removed fromantd
package.
Please refer to Ant Design Migration Guide for detailed information.
🚨 Next.js 13 Not Supported Now
Currently
ant-design/pro-components
does not compatible with Next.js 13.
refine is usingant-design/pro-components
as a dependency for<PageHeader/>
component.Refer to a related issue on ant-design/pro-components repository