Hello, I started my first small Refine

Hello, I started my first small Refine project ~5 months ago as a backend dev. Now I need to add some functionality, so I thought, let's first update all dependencies. I could update all minor versions without a problem using yarn upgrade, but when updating some major versions something broke regarding DataGrid. Now my question, what and when is the recommended way/time to upgrade? Should we just do it manually like I tried or is there some sort of common tool or combination of versions provided by Refine? When I create a new project using npm create refine-app@latest I see it does not contains the latest versions either. So should I wait then?
conscious-sapphire
conscious-sapphire17d ago
Hello @MajorD, I'm sorry for your trouble. We don't make breaking changes when releasing minor version, when releasing major version we support them with upgrade documentation and codemod. I can say with confidence that you can upgrade Refine at any time. npm create refine-app@latest can generate package.json may have older minor versions but it will always install the latest version because we used the caret prefix. you may have found a bug or a situation that we overlooked. - can you give us more detail please?
- what kind of error do you get? - what is your current version and the version you want to update?
grumpy-cyan
grumpy-cyan17d ago
My main question is how should I update dependencies in this project?
conscious-sapphire
conscious-sapphire17d ago
Of course, we always want users to use the latest version
grumpy-cyan
grumpy-cyan17d ago
To give some more info. I created a new refine-app and the package.json contains "@refinedev/core": "^4.47.1", while the newest version is 4.49.0
conscious-sapphire
conscious-sapphire17d ago
there should be no problem. we don't do breaking change in minor updates. please let us know if you encounter a problem
grumpy-cyan
grumpy-cyan17d ago
Ok, bear with me (backend dev here). So I should just use yarn upgrade then?
conscious-sapphire
conscious-sapphire17d ago
yarn upgrade is fine also you can use yarn run refine update because yarn upgrade update all dependencies in your project. but yarn run refine update updates only refine related packages
grumpy-cyan
grumpy-cyan17d ago
What is recommended? How do I know which version of DataGrid is compatible with Refine for example. Or should I just try to use the newest anyway
conscious-sapphire
conscious-sapphire17d ago
yarn run refine update is more safe in this case you can use @mui/x-data-grid@6.x.x with Refine we didn't tested @mui/x-data-grid@7.x.x yet. so stick to versiyon 6 is safe right now. but of course we will release version 7 support in near future
grumpy-cyan
grumpy-cyan17d ago
Alright, thanks for the info. I will keep that on 6.x for now 🙂
More Posts
useStateHow to setState of one route to be accessible in another route? Ex: <EditButton resource = useAutocomplete defaultValues won't workHi, I want to use autoComplete in edit page. I use it like below but it didn't call "many" request.Next.js 14 - Module '"next/navigation"' has no exported member 'usePathname'.https://github.com/vercel/next.js/issues/46360why does this error occur?``` Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/Users/developer/Desktop/ftp/smile-subscriError: Cannot find module 'next/navigation'This error indicates that the Refine instance cannot locate the next/navigation module, which is essSupabase- Filter useList by array with the "nin" operatorHi everyone, I have a useList where I want to filter out a few users with a passed array. If I add aWhat hook to use for simple array of stringsHi, I created a resource called "Media" (its ment to be a media library). Now on the list page I wanUsing Non Requirement VariablesI have this: query DriversList( $filter: DriverFilter $sorting: [DriverSort] $paWhen can we have the HR application released?Wanted to know if we can expect the release of HR applicationdevtools port settinghow can I change the port that devtools is running onHow to create dashboardHow do you create a dashboard in a next.js application that uses Refine? My app is using the 'pages'Error during buildUsing NX + Refine + Chakra, my app builds locally but not in CI (BitBucket). I get the following errqueryResult without valuesim using the useShow an follow the documentation i can do this: const { data, isLoading, isError } =Title: Ant Design Form Items Display Values Upon SubmissionI am using the listing methods from RefineDev, such as useList, along with the Ant Design template. How to draw an array list with 3rd depth?``` interface ISubscriptionDetail { id: number; member_name: string; member_id: string; subsI want to create a single custom POST route in my app!Currently using supabase as data source provider I'm unable to find documentation for it! I'm using Reuseing resources across different projects - microservice architectureHi there, I'm pretty excited about using refine. I have tinkered around with it in one of my projecPaginatonHow does the pagination work how should the backend api be createdHow can I use an actual <List> element instead of a <Table> in ant design list pageI would like to render data inside a list, instead of using a table, I want to do that in the list pusing multiple data providerimport { AreaChartOutlined } from "@ant-design/icons"; import { Card } from "antd"; import React, {