OpenPanel/packages/codemod/CHANGELOG.md
Stefan Pejcic 8595a9f4e5 back
2024-05-08 19:58:53 +02:00

8.9 KiB

@refinedev/codemod

4.1.6

Patch Changes

  • #4454 4bae8add99f Thanks @aliemir! - The latest major update in @refinedev/mui to support @mui/x-data-grid@6 has been released. This update introduces some changes to the existing codebases that refine-v3-to-v4 codemod cannot cover or has no relation to. We've updated the codemod to install the v4 version of @refinedev/mui to avoid any issues.

4.1.5

Patch Changes

  • #4454 4bae8add99f Thanks @aliemir! - The latest major update in @refinedev/mui to support @mui/x-data-grid@6 has been released. This update introduces some changes to the existing codebases that refine-v3-to-v4 codemod cannot cover or has no relation to. We've updated the codemod to install the v4 version of @refinedev/mui to avoid any issues.

4.1.4

Patch Changes

4.1.3

Patch Changes

4.1.2

Patch Changes

4.1.1

Patch Changes

4.1.0

Minor Changes

Patch Changes

3.31.0

Minor Changes

3.30.0

Minor Changes

3.29.0

Minor Changes

3.28.0

Minor Changes

3.27.2

Patch Changes

  • Fixed @pankod/refine-codemod build issue

3.27.1

Patch Changes

3.27.0

Minor Changes

  • Add Codemod support for changed columns usage of useDataGrid hook. #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 bbca622ede Thanks @salihozdemir! - Add Codemod support for changed columns usage of useDataGrid hook. #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>
        );
    };