ratty-blush
ratty-blush14mo ago

refine recent update changes

please share me the recent updated from 4.1 to 4.20
25 Replies
kapa.ai
kapa.ai14mo 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.ai14mo 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.ai14mo ago
<@763439201353596968> kapa.ai is still learning and improving, please let us how it did by reacting below
ratty-blush
ratty-blush14mo ago
@kapa.ai const {page} = dataGridProps this no longer available can you tell me the alternative
kapa.ai
kapa.ai14mo 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.ai14mo ago
<@763439201353596968> kapa.ai is still learning and improving, please let us how it did by reacting below
ratty-blush
ratty-blush14mo ago
@kapa.ai pagination also does not exist
kapa.ai
kapa.ai14mo ago
Let me check the knowledge base for you. One moment! :books:
eager-peach
eager-peach14mo ago
you can read all changelogs here https://github.com/refinedev/refine/releases
kapa.ai
kapa.ai14mo 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.ai14mo ago
<@763439201353596968> kapa.ai is still learning and improving, please let us how it did by reacting below
ratty-blush
ratty-blush14mo ago
thank you
eager-peach
eager-peach14mo 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/
ratty-blush
ratty-blush14mo 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
eager-peach
eager-peach14mo ago
i believe its releated to @refinedev/mui
ratty-blush
ratty-blush14mo ago
yes it is
eager-peach
eager-peach14mo ago
you can read to migration guide. mui changed return values. if you are upgrading @refinedev/mui 4 to 5. you need to migrate
ratty-blush
ratty-blush14mo ago
now the version is 5.1.0 ok @alicanerdurmaz is there any way to go back to previous version
eager-peach
eager-peach14mo ago
yes you can use @refinedev/mui@4 npm uninstall @refinedev/mui npm install @refinedev/mui@4
ratty-blush
ratty-blush14mo ago
should I worry that any other packages might affect
eager-peach
eager-peach14mo 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.
eager-peach
eager-peach14mo ago
if @refinedev/mui is 5, @refinedev/inferencer should 4 anything else is not problem
ratty-blush
ratty-blush14mo ago
I mean I moving mui from 5 to 4 so should I also need to change inferencer
eager-peach
eager-peach14mo ago
yes inferencer should 3 if mui 4
ratty-blush
ratty-blush14mo ago
ok thankyou