12 KiB
@refinedev/codemod
4.2.0
Minor Changes
-
#6161
ff975374efcc05220be4411218c2daf7c19b8995Thanks @ritute! - feat(react-hook-form): update version constraint from^7.30.0to^7.43.5Update react-hook-form version to address runtime subscribe error
-
#6214
77f2ee8c09f45b4b1d7a6305cb256a6a08a1fb61Thanks @alicanerdurmaz! - feat: addednpx @refinedev/codemod@latest rename-query-and-mutation-resultto automatically refactor all deprecated values to their new values on the august release #6154Following exameples are the changes that will be made:
- const { tableQueryResult } = useTable(); // or useDataGrid + const { tableQuery } = useTable();- const { queryResult } = useSimpleList(); + const { query } = useSimpleList()- const { queryResult, mutationResult } = useForm(); + const { query, mutation } = useForm();- const { queryResult } = useShow(); + const { query } = useShow();- const { queryResult, defaultValueQueryResult } = useSelect(); // or useAutocomplete, useCheckboxGroup, useRadioGroup + const { query, defaultValueQuery } = useSelect();
4.1.10
Patch Changes
-
6bd14228760d3e1e205ea9248e427f9afa2ec046Thanks @BatuhanW! - chore: addedtypequalifier to imports used as type only.- import { A } from "./example.ts"; + import type { A } from "./example.ts";
4.1.9
Patch Changes
-
#5945
90930b381d8d369c63bc59beedf69c391875166dThanks @aliemir! - chore: addedtypequalifier to imports used as type only.- import { A } from "./example.ts"; + import type { A } from "./example.ts";
4.1.8
Patch Changes
-
#5807
b20a18e4dfcThanks @BatuhanW! - chore: update jscodeshift version to 0.15.2 -
#5799
33a8a80d80fThanks @BatuhanW! - chore: update semver package version to 7.5.2. -
#5754
56ed144a0f5Thanks @alicanerdurmaz! - chore: TypeScript upgraded to v5.x.x. #5752
4.1.7
Patch Changes
- #5695
79865affa1cThanks @BatuhanW! - chore: apply biome format and fix lint errors.
4.1.6
Patch Changes
- #4454
4bae8add99fThanks @aliemir! - The latest major update in@refinedev/muito support@mui/x-data-grid@6has been released. This update introduces some changes to the existing codebases thatrefine-v3-to-v4codemod cannot cover or has no relation to. We've updated the codemod to install thev4version of@refinedev/muito avoid any issues.
4.1.5
Patch Changes
- #4454
4bae8add99fThanks @aliemir! - The latest major update in@refinedev/muito support@mui/x-data-grid@6has been released. This update introduces some changes to the existing codebases thatrefine-v3-to-v4codemod cannot cover or has no relation to. We've updated the codemod to install thev4version of@refinedev/muito avoid any issues.
4.1.4
Patch Changes
- #4423
c3b00b20e84Thanks @BatuhanW! - fix: babel transformation error
4.1.3
Patch Changes
- #4423
c3b00b20e84Thanks @BatuhanW! - fix: babel transformation error
4.1.2
Patch Changes
- #3929
c682cfe5cf8Thanks @BatuhanW! - fix: LoadingButton is still imported from @refinedev/mui
4.1.1
Patch Changes
- #3929
c682cfe5cf8Thanks @BatuhanW! - fix: LoadingButton is still imported from @refinedev/mui
4.1.0
Minor Changes
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Added transform function to change
metaDatatometa. -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Added
move-to-new-orgtransform to move refine packages to their new scope@refinedev. -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
Antdcomponents exported by@refinedev/antdhave been removed. This codemode will help you move these components intoantd. -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Added transform function to change
useMenuimports to"@refinedev/core". -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Added transform function to change
resourceNameOrRouteNameprop toresourcein buttons. -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
-
Added transformation function to renamed
AuthProvidertoLegacyAuthProvider. -
Added transformation function to add
v3LegacyAuthProviderCompatible: trueto all auth hooks.
-
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Moving to the
@refinedevscope 🎉🎉Moved to the
@refinedevscope and updated our packages to use the new scope. From now on, all packages will be published under the@refinedevscope with their new names.Now, we're also removing the
refineprefix from all packages. So, the@pankod/refine-corepackage is now@refinedev/core,@pankod/refine-antdis now@refinedev/antd, and so on.
Patch Changes
- Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! fix: semver dependency
3.31.0
Minor Changes
- #3822
0baa99ba787Thanks @BatuhanW! - - refine v4 release announcement added to "postinstall". - refine v4 is released 🎉 The new version is 100% backward compatible. You can upgrade to v4 with a single command! See the migration guide here: https://refine.dev/docs/migration-guide/3x-to-4x
3.30.0
Minor Changes
- #3822
0baa99ba787Thanks @BatuhanW! - - refine v4 release announcement added to "postinstall". - refine v4 is released 🎉 The new version is 100% backward compatible. You can upgrade to v4 with a single command! See the migration guide here: https://refine.dev/docs/migration-guide/3x-to-4x
3.29.0
Minor Changes
- #3169
76b0e932a60Thanks @yildirayunlu! - Added Ant design v4 to v5 codemod support.
3.28.0
Minor Changes
- #3169
76b0e932a60Thanks @yildirayunlu! - Added Ant design v4 to v5 codemod support.
3.27.2
Patch Changes
- Fixed
@pankod/refine-codemodbuild issue
3.27.1
Patch Changes
031e15e797Thanks @omeraplak! - Fixed@pankod/refine-codemodbuild issue
3.27.0
Minor Changes
-
Add Codemod support for changed
columnsusage ofuseDataGridhook. #2072.export const PostsList: React.FC = () => { - const { dataGridProps } = useDataGrid<IPost>({ - columns, - }); + const { dataGridProps } = useDataGrid<IPost>(); return ( <List> - <DataGrid {...dataGridProps} autoHeight /> + <DataGrid {...dataGridProps} columns={columns} autoHeight /> </List> ); };
3.26.0
Minor Changes
-
#2072
bbca622edeThanks @salihozdemir! - Add Codemod support for changedcolumnsusage ofuseDataGridhook. #2072.export const PostsList: React.FC = () => { - const { dataGridProps } = useDataGrid<IPost>({ - columns, - }); + const { dataGridProps } = useDataGrid<IPost>(); return ( <List> - <DataGrid {...dataGridProps} autoHeight /> + <DataGrid {...dataGridProps} columns={columns} autoHeight /> </List> ); };