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

13 KiB

@refinedev/medusa

3.0.1

Patch Changes

3.0.0

Major Changes

2.4.7

Patch Changes

  • #5054 6ab41f88343 Thanks @MahirMahdi! - Now useCustomMutation can modify headers for each individual call, without setting the default headers. Previously the default headers was included in all subsequent API calls.

2.4.6

Patch Changes

  • #5054 6ab41f88343 Thanks @MahirMahdi! - Now useCustomMutation can modify headers for each individual call, without setting the default headers. Previously the default headers was included in all subsequent API calls.

2.4.5

Patch Changes

  • #5054 6ab41f88343 Thanks @MahirMahdi! - Now useCustomMutation can modify headers for each individual call, without setting the default headers. Previously the default headers was included in all subsequent API calls.

2.4.4

Patch Changes

  • #5022 80513a4e42f Thanks @BatuhanW! - chore: update README.md

    • fix grammar errors.
    • make all README.md files consistent.
    • add code example code snippets.

2.4.3

Patch Changes

  • #5022 80513a4e42f Thanks @BatuhanW! - chore: update README.md

    • fix grammar errors.
    • make all README.md files consistent.
    • add code example code snippets.

2.4.2

Patch Changes

2.4.1

Patch Changes

2.4.0

Minor Changes

2.3.0

Minor Changes

2.2.0

Minor Changes

2.1.0

Minor Changes

  • Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! AuthProvider is renamed to LegacyAuthProvider with refine@4. Components and functions are updated to support LegacyAuthProvider.

  • Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!

    • metaData prop is now deprecated for all data provider methods. Use meta prop instead.

      For backward compatibility, we still support metaData prop with refine v4.

      create: async ({
      -    metaData
      +    meta
      }) => {
          ...
      },
      
    • sort, hasPagination, and metaData parameters of getList method are now deprecated. Use sorters, pagination, and meta parameters instead.

      For backward compatibility, we still support sort, hasPagination and metaData props with refine v4.

      getList: async ({
      -    sort
      +    sorters
      -    hasPagination
      +    pagination: { mode: "off" | "server | "client" }
      -    metaData
      +    meta
      }) => {
          ...
      },
      
  • Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Moving to the @refinedev scope 🎉🎉

    Moved to the @refinedev scope and updated our packages to use the new scope. From now on, all packages will be published under the @refinedev scope with their new names.

    Now, we're also removing the refine prefix from all packages. So, the @pankod/refine-core package is now @refinedev/core, @pankod/refine-antd is now @refinedev/antd, and so on.

Patch Changes

1.9.0

Minor Changes

1.8.0

Minor Changes

1.7.2

Patch Changes

  • Fixed adding /store suffix to the end of Medusa API URL

1.7.1

Patch Changes

1.7.0

Minor Changes

  • Only or was supported as a conditional filter. Now and and or can be used together and nested. 🚀

    {
      operator: "or",
      value: [
        {
          operator: "and",
          value: [
            {
              field: "name",
              operator: "eq",
              value: "John Doe",
            },
            {
              field: "age",
              operator: "eq",
              value: 30,
            },
          ],
        },
        {
          operator: "and",
          value: [
            {
              field: "name",
              operator: "eq",
              value: "JR Doe",
            },
            {
              field: "age",
              operator: "eq",
              value: 1,
            },
          ],
        },
      ],
    }
    

Patch Changes

  • Fixed using data in axios' delete function

1.6.0

Minor Changes

  • #2751 addff64c77 Thanks @yildirayunlu! - Only or was supported as a conditional filter. Now and and or can be used together and nested. 🚀

    {
      operator: "or",
      value: [
        {
          operator: "and",
          value: [
            {
              field: "name",
              operator: "eq",
              value: "John Doe",
            },
            {
              field: "age",
              operator: "eq",
              value: 30,
            },
          ],
        },
        {
          operator: "and",
          value: [
            {
              field: "name",
              operator: "eq",
              value: "JR Doe",
            },
            {
              field: "age",
              operator: "eq",
              value: 1,
            },
          ],
        },
      ],
    }
    

Patch Changes

1.5.0

Minor Changes

  • Updated dataProvider types with Required utility to mark getMany, createMany, updateMany and deleteMany as implemented.

1.4.0

Minor Changes

  • #2688 508045ac30 Thanks @aliemir! - Updated dataProvider types with Required utility to mark getMany, createMany, updateMany and deleteMany as implemented.

1.3.0

Minor Changes

  • Fixed payload data in delete on nestjsx data provider custom method.

1.2.0

Minor Changes

1.1.0

Minor Changes

  • Updated checkError methods of authProvider

Patch Changes

  • Removed api url /store suffix from authProvider.
  • Fix Medusa data provider return type

1.0.0

Major Changes

Patch Changes

0.5.0

Minor Changes

  • Update type declaration generation with tsc instead of tsup for better navigation throughout projects source code.

0.4.0

Minor Changes

  • #2440 0150dcd070 Thanks @aliemir! - Update type declaration generation with tsc instead of tsup for better navigation throughout projects source code.

0.3.2

Patch Changes

  • Fixed mismatch in authProvider.login for email and username

0.3.1

Patch Changes

0.3.0

Minor Changes

  • Initialized Medusa data provider for Refine. Currently we're supporting Medusa's StoreFront API as a data provider and also auth provider.

0.2.0

Minor Changes

  • #2235 488259bd38 Thanks @ozkalai! - Initialized Medusa data provider for Refine. Currently we're supporting Medusa's StoreFront API as a data provider and also auth provider.