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