16 KiB
@refinedev/medusa
3.0.6
Patch Changes
-
6bd14228760d3e1e205ea9248e427f9afa2ec046Thanks @BatuhanW! - chore: addedtypequalifier to imports used as type only.- import { A } from "./example.ts"; + import type { A } from "./example.ts";
3.0.5
Patch Changes
-
#5945
90930b381d8d369c63bc59beedf69c391875166dThanks @aliemir! - chore: addedtypequalifier to imports used as type only.- import { A } from "./example.ts"; + import type { A } from "./example.ts";
3.0.4
Patch Changes
-
#5928
db9756e7908Thanks @aliemir! - fix: type errors on typescript <5Due to the changes in #5881, typescript users below version 5 are facing type errors. This PR fixes the type errors by updating the file extensions required by the
d.mtsdeclaration files to provide a compatible declarations for both typescript 4 and 5 users.
3.0.3
Patch Changes
- #5881
ba719f6ea26Thanks @aliemir! - fix: declaration files in node10, node16 and nodenext module resolutions
3.0.2
Patch Changes
-
#5765
0c197d82393Thanks @aliemir! - refactor: package bundles and package.json configuration for exportsPreviously, Refine packages had exported ESM and CJS bundles with same
.jsextension and same types for both with.d.tsextensions. This was causing issues with bundlers and compilers to pick up the wrong files for the wrong environment. Now we're outputting ESM bundles with.mjsextension and CJS bundles with.cjsextension. Also types are now exported with both.d.mtsand.d.ctsextensions.In older versions ESM and CJS outputs of some packages were using wrong imports/requires to dependencies causing errors in some environments. This will be fixed since now we're also enforcing the module type with extensions.
Above mentioned changes also supported with changes in
package.jsonfiles of the packages to support the new extensions and types. All Refine packages now includeexportsfields in their configuration to make sure the correct bundle is picked up by the bundlers and compilers. -
#5754
56ed144a0f5Thanks @alicanerdurmaz! - chore: TypeScript upgraded to v5.x.x. #5752
3.0.1
Patch Changes
- #5425
190af9fce2Thanks @aliemir! - Updated@refinedev/corepeer dependencies to latest (^4.46.1)
3.0.0
Major Changes
- #5330
7c8827b43dThanks @BatuhanW! - feat: upgrade axios dependency to ^1.6.2
2.4.7
Patch Changes
- #5054
6ab41f88343Thanks @MahirMahdi! - NowuseCustomMutationcan 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
6ab41f88343Thanks @MahirMahdi! - NowuseCustomMutationcan 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
6ab41f88343Thanks @MahirMahdi! - NowuseCustomMutationcan 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
80513a4e42fThanks @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
80513a4e42fThanks @BatuhanW! - chore: update README.md- fix grammar errors.
- make all README.md files consistent.
- add code example code snippets.
2.4.2
Patch Changes
- #4285
b5cd3328504Thanks @alicanerdurmaz! - fixed: A bug that prevented data providers from being swizzled.
2.4.1
Patch Changes
- #4285
b5cd3328504Thanks @alicanerdurmaz! - fixed: A bug that prevented data providers from being swizzled.
2.4.0
Minor Changes
- #4281
ebfb075f07eThanks @alicanerdurmaz! - feat: added swizzle to medusa
2.3.0
Minor Changes
- #4281
ebfb075f07eThanks @alicanerdurmaz! - feat: added swizzle to medusa
2.2.0
Minor Changes
- #4281
ebfb075f07eThanks @alicanerdurmaz! - feat: added swizzle to medusa
2.1.0
Minor Changes
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
AuthProvideris renamed toLegacyAuthProviderwith refine@4. Components and functions are updated to supportLegacyAuthProvider. -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
-
metaDataprop is now deprecated for all data provider methods. Usemetaprop instead.For backward compatibility, we still support
metaDataprop with refine v4.create: async ({ - metaData + meta }) => { ... }, -
sort,hasPagination, andmetaDataparameters ofgetListmethod are now deprecated. Usesorters,pagination, andmetaparameters instead.For backward compatibility, we still support
sort,hasPaginationandmetaDataprops 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
@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
1.9.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
1.8.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
1.7.2
Patch Changes
- Fixed adding
/storesuffix to the end of Medusa API URL
1.7.1
Patch Changes
- #2824
51b01f3891Thanks @omeraplak! - Fixed adding/storesuffix to the end of Medusa API URL
1.7.0
Minor Changes
-
Only
orwas supported as a conditional filter. Nowandandorcan 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
datainaxios'deletefunction
1.6.0
Minor Changes
-
#2751
addff64c77Thanks @yildirayunlu! - Onlyorwas supported as a conditional filter. Nowandandorcan 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
- #2790
8144e10156Thanks @omeraplak! - Fixed usingdatainaxios'deletefunction
1.5.0
Minor Changes
- Updated
dataProvidertypes withRequiredutility to markgetMany,createMany,updateManyanddeleteManyas implemented.
1.4.0
Minor Changes
- #2688
508045ac30Thanks @aliemir! - UpdateddataProvidertypes withRequiredutility to markgetMany,createMany,updateManyanddeleteManyas implemented.
1.3.0
Minor Changes
- Fixed payload data in delete on nestjsx data provider custom method.
1.2.0
Minor Changes
- #2465
4d07f33993Thanks @yildirayunlu! - Fixed payload data in delete on nestjsx data provider custom method.
1.1.0
Minor Changes
- Updated
checkErrormethods ofauthProvider
Patch Changes
- Removed api url
/storesuffix fromauthProvider.
- Fix Medusa data provider return type
1.0.0
Major Changes
- #2142
dd00de215aThanks @ozkalai! - UpdatedcheckErrormethods ofauthProvider
Patch Changes
- #2142
dd00de215aThanks @ozkalai! - Removed api url/storesuffix fromauthProvider.
- #2142
dd00de215aThanks @ozkalai! - Fix Medusa data provider return type
0.5.0
Minor Changes
- Update type declaration generation with
tscinstead oftsupfor better navigation throughout projects source code.
0.4.0
Minor Changes
- #2440
0150dcd070Thanks @aliemir! - Update type declaration generation withtscinstead oftsupfor better navigation throughout projects source code.
0.3.2
Patch Changes
- Fixed mismatch in
authProvider.loginfor email and username
0.3.1
Patch Changes
- #2242
7ed5b7b05dThanks @ozkalai! - Fixed mismatch inauthProvider.loginfor email and username
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
488259bd38Thanks @ozkalai! - Initialized Medusa data provider for Refine. Currently we're supporting Medusa's StoreFront API as a data provider and also auth provider.