refine recent update changes

please share me the recent updated from 4.1 to 4.20
25 Replies
kapa.ai
kapa.ai2y ago
Hi @alfaz_muhammed. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai
kapa.ai2y ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the refine documentation and blogs for more information: - Documentation: https://refine.dev/docs - Blogs: https://refine.dev/blog ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Overview | refine
What is refine?
Blog | refine
A Docusaurus powered blog!
kapa.ai
kapa.ai2y ago
<@763439201353596968> kapa.ai is still learning and improving, please let us how it did by reacting below
fascinating-indigo
fascinating-indigoOP2y ago
@kapa.ai const {page} = dataGridProps this no longer available can you tell me the alternative
kapa.ai
kapa.ai2y ago
Let me check the knowledge base for you. One moment! :books: ---------------------- Yes, in the recent updates, the page property is no longer directly available from dataGridProps. Instead, you can use the pagination prop with the useDataGrid hook. Here's an example of how to access the page property:
const { dataGridProps } = useDataGrid();

const {
pagination: { current: page },
...restDataGridProps
} = dataGridProps;
const { dataGridProps } = useDataGrid();

const {
pagination: { current: page },
...restDataGridProps
} = dataGridProps;
For more information, refer to the migration guide from 3.x.x to 4.x.x (https://refine.dev/docs/migration-guide/3x-to-4x). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2y ago
<@763439201353596968> kapa.ai is still learning and improving, please let us how it did by reacting below
fascinating-indigo
fascinating-indigoOP2y ago
@kapa.ai pagination also does not exist
kapa.ai
kapa.ai2y ago
Let me check the knowledge base for you. One moment! :books:
relaxed-coral
relaxed-coral2y ago
you can read all changelogs here https://github.com/refinedev/refine/releases
kapa.ai
kapa.ai2y ago
---------------------- I apologize for the confusion. Based on the provided extracts, I don't have enough information to give you a confident answer about the specific changes in the pagination property. However, you can refer to the refine documentation for more information: - Documentation: https://refine.dev/docs ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Overview | refine
What is refine?
kapa.ai
kapa.ai2y ago
<@763439201353596968> kapa.ai is still learning and improving, please let us how it did by reacting below
fascinating-indigo
fascinating-indigoOP2y ago
thank you
relaxed-coral
relaxed-coral2y ago
we are not removing any props in minor releases. are you sure did you updated 4.1 to 4.20 lots of prop changed in here https://github.com/refinedev/refine/releases/tag/%40refinedev%2Fmui%405.1.0 https://refine.dev/docs/api-reference/mui/migration-guide/v4-to-v5/
fascinating-indigo
fascinating-indigoOP2y ago
since package.json shows version as "latest" looked in to nodemodules > refine core> version is 4.20 now build is failing, when I was checking i see Page, PageSize, onPageChange does not exist on dataGridProps
relaxed-coral
relaxed-coral2y ago
i believe its releated to @refinedev/mui
fascinating-indigo
fascinating-indigoOP2y ago
yes it is
relaxed-coral
relaxed-coral2y ago
you can read to migration guide. mui changed return values. if you are upgrading @refinedev/mui 4 to 5. you need to migrate
fascinating-indigo
fascinating-indigoOP2y ago
now the version is 5.1.0 ok @alicanerdurmaz is there any way to go back to previous version
relaxed-coral
relaxed-coral2y ago
yes you can use @refinedev/mui@4 npm uninstall @refinedev/mui npm install @refinedev/mui@4
fascinating-indigo
fascinating-indigoOP2y ago
should I worry that any other packages might affect
relaxed-coral
relaxed-coral2y ago
Migration Guide from v4 to v5 | refine
Material UI released a new major version for @mui/x-data-grid package as v6. This document will guide you through the migration process for the refine related parts. While this document won't cover all the changes, it will help you get started with the migration process.
relaxed-coral
relaxed-coral2y ago
if @refinedev/mui is 5, @refinedev/inferencer should 4 anything else is not problem
fascinating-indigo
fascinating-indigoOP2y ago
I mean I moving mui from 5 to 4 so should I also need to change inferencer
relaxed-coral
relaxed-coral2y ago
yes inferencer should 3 if mui 4
fascinating-indigo
fascinating-indigoOP2y ago
ok thankyou

Did you find this page helpful?