sunny-green
sunny-green16mo ago

refine recent update changes

please share me the recent updated from 4.1 to 4.20
25 Replies
kapa.ai
kapa.ai16mo 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.ai16mo 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.ai16mo ago
<@763439201353596968> kapa.ai is still learning and improving, please let us how it did by reacting below
sunny-green
sunny-green16mo ago
@kapa.ai const {page} = dataGridProps this no longer available can you tell me the alternative
kapa.ai
kapa.ai16mo 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.ai16mo ago
<@763439201353596968> kapa.ai is still learning and improving, please let us how it did by reacting below
sunny-green
sunny-green16mo ago
@kapa.ai pagination also does not exist
kapa.ai
kapa.ai16mo ago
Let me check the knowledge base for you. One moment! :books:
sunny-green
sunny-green16mo ago
you can read all changelogs here https://github.com/refinedev/refine/releases
kapa.ai
kapa.ai16mo 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.ai16mo ago
<@763439201353596968> kapa.ai is still learning and improving, please let us how it did by reacting below
sunny-green
sunny-green16mo ago
thank you
sunny-green
sunny-green16mo 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/
sunny-green
sunny-green16mo 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
sunny-green
sunny-green16mo ago
i believe its releated to @refinedev/mui