absent-sapphire
absent-sapphire17mo ago

Can I still use v3?

Hello, I'm trying to follow a tutorial from Javascript Mastery and I think he used the v3 of refine. Would I still be able to use that version to create my application and then just migrate it to 4 once done?
7 Replies
kapa.ai
kapa.ai17mo ago
Hey @jim_m! I'm the kapa.ai support bot. I've searched through the docs to try to answer your question. :wave:
kapa.ai
kapa.ai17mo ago
---------------------- Yes, you can still use refine v3 to create your application and then migrate it to v4 once you're done. Refine v4 provides backward compatibility for some features like authProvider and routerProvider by using legacyAuthProvider and legacyRouterProvider respectively. However, it's recommended to eventually migrate to the new features and interfaces provided in v4. When you're ready to migrate, you can follow the migration guide from 3.x.x to 4.x.x (https://refine.dev/docs/migration-guide/3x-to-4x) to update your project accordingly. This guide covers changes in package names, updates to dataProvider, authProvider, routerProvider, and other necessary steps for a smooth migration. ----------------------
Migrating from 3.x.x to 4.x.x | refine
Motivation behind the release
kapa.ai
kapa.ai17mo ago
<@247833093271060482> kapa.ai is still learning and improving, please let us how it did by reacting below
absent-sapphire
absent-sapphire17mo ago
Because I'm trying to customize the sider but the file structure is different from v3 :/ I'm trying to edit the Sider in Material UI but I can't find it sadly
optimistic-gold
optimistic-gold17mo ago
you can use this command to create v3 reifne app npm create refine-app@latest -- --branch v3 tutorial
absent-sapphire
absent-sapphire17mo ago
Thank you!
fair-rose
fair-rose17mo ago
ty for asking this OP