15 KiB
@refinedev/appwrite
6.4.6
Patch Changes
- #5425
190af9fce2Thanks @aliemir! - Updated@refinedev/corepeer dependencies to latest (^4.46.1)
6.4.5
Patch Changes
- #5330
7c8827b43dThanks @BatuhanW! - chore: upgrade nock library version to ^13.4.0
6.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.
6.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.
6.4.2
Patch Changes
- #4285
b5cd3328504Thanks @alicanerdurmaz! - fixed: A bug that prevented data providers from being swizzled.
6.4.1
Patch Changes
- #4285
b5cd3328504Thanks @alicanerdurmaz! - fixed: A bug that prevented data providers from being swizzled.
6.4.0
Minor Changes
- #4269
396bf067e3cThanks @alicanerdurmaz! - feat: added swizzle to appwrite
6.3.0
Minor Changes
- #4269
396bf067e3cThanks @alicanerdurmaz! - feat: added swizzle to appwrite
6.2.0
Minor Changes
- #4269
396bf067e3cThanks @alicanerdurmaz! - feat: added swizzle to appwrite
6.1.0
Minor Changes
-
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
5.7.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
5.6.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
5.5.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, }, ], }, ], }
5.4.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, }, ], }, ], }
5.3.0
Minor Changes
- Updated
dataProvidertypes withRequiredutility to markgetMany,createMany,updateManyanddeleteManyas implemented.
5.2.0
Minor Changes
- #2688
508045ac30Thanks @aliemir! - UpdateddataProvidertypes withRequiredutility to markgetMany,createMany,updateManyanddeleteManyas implemented.
5.1.0
Minor Changes
- We've added Appwrite 1.0 support!
5.0.0
Major Changes
- #2528
97574b512eThanks @omeraplak! - We've added Appwrite 1.0 support!
4.3.0
Minor Changes
- Update type declaration generation with
tscinstead oftsupfor better navigation throughout projects source code.
4.2.0
Minor Changes
- #2440
0150dcd070Thanks @aliemir! - Update type declaration generation withtscinstead oftsupfor better navigation throughout projects source code.
4.1.0
Minor Changes
-
- Added
databaseIdsupport. The Default value isdefaultfor backward compability - Upgraded Appwrite SDK to version 9
Usage
import { Refine } from "@pankod/refine-core"; import { Account, Appwrite, Storage } from "@pankod/refine-appwrite"; const APPWRITE_URL = "https://YOUR_COOL_APPWRITE_URL"; const APPWRITE_PROJECT = "YOUR_PROJECT_ID"; const appwriteClient = new Appwrite(); appwriteClient.setEndpoint(APPWRITE_URL).setProject(APPWRITE_PROJECT); <Refine dataProvider={dataProvider(appwriteClient, { databaseId: "default", })} liveProvider={liveProvider(appwriteClient, { databaseId: "default", })} ... ... />Breaking changes of Appwrite SDK
Usage of Storage
//old way import { Appwrite } from "@pankod/refine-appwrite"; const appwriteClient = new Appwrite(); appwriteClient.storage.createFile("BUCKET_NAME", rcFile.name, rcFile); //new way const appwriteClient = new Appwrite(); const storage = new Storage(appwriteClient); const { $id } = await storage.createFile( "BUCKET_NAME", rcFile.name, rcFile, ); - Added
4.0.0
Major Changes
-
#2270
d05e4bdde7Thanks @omeraplak! - - AddeddatabaseIdsupport. The Default value isdefaultfor backward compability- Upgraded Appwrite SDK to version 9
Usage
import { Refine } from "@pankod/refine-core"; import { Account, Appwrite, Storage } from "@pankod/refine-appwrite"; const APPWRITE_URL = "https://YOUR_COOL_APPWRITE_URL"; const APPWRITE_PROJECT = "YOUR_PROJECT_ID"; const appwriteClient = new Appwrite(); appwriteClient.setEndpoint(APPWRITE_URL).setProject(APPWRITE_PROJECT); <Refine dataProvider={dataProvider(appwriteClient, { databaseId: "default", })} liveProvider={liveProvider(appwriteClient, { databaseId: "default", })} ... ... />Breaking changes of Appwrite SDK
Usage of Storage
//old way import { Appwrite } from "@pankod/refine-appwrite"; const appwriteClient = new Appwrite(); appwriteClient.storage.createFile("BUCKET_NAME", rcFile.name, rcFile); //new way const appwriteClient = new Appwrite(); const storage = new Storage(appwriteClient); const { $id } = await storage.createFile( "BUCKET_NAME", rcFile.name, rcFile, );
3.27.0
Minor Changes
-
All of the refine packages have dependencies on the
@pankod/refine-corepackage. So far we have managed these dependencies withpeerDependencies+dependenciesbut this causes issues like #2183. (having more than one @pankod/refine-core version in node_modules and creating different instances)Managing as
peerDependencies+devDependenciesseems like the best way for now to avoid such issues.
3.26.0
Minor Changes
-
#2217
b4aae00f77Thanks @omeraplak! - All of the refine packages have dependencies on the@pankod/refine-corepackage. So far we have managed these dependencies withpeerDependencies+dependenciesbut this causes issues like #2183. (having more than one @pankod/refine-core version in node_modules and creating different instances)Managing as
peerDependencies+devDependenciesseems like the best way for now to avoid such issues.
3.25.2
Patch Changes
-
Updated pagination parameters default values and added
hasPaginationproperty togetListmethod of the data providers.Implementation
Updated the
getListmethod accordingly to the changes in theuseTableanduseListof@pankod/refine-core.hasPaginationis used to disable pagination (defaults totrue)Use Cases
For some resources, there might be no support for pagination or users might want to see all of the data without any pagination, prior to these changes this was not supported in refine data providers.
-
Updated dependencies []:
3.25.1
Patch Changes
-
#2050
635cfe9fdbThanks @ozkalai! - Updated pagination parameters default values and addedhasPaginationproperty togetListmethod of the data providers.Implementation
Updated the
getListmethod accordingly to the changes in theuseTableanduseListof@pankod/refine-core.hasPaginationis used to disable pagination (defaults totrue)Use Cases
For some resources, there might be no support for pagination or users might want to see all of the data without any pagination, prior to these changes this was not supported in refine data providers.
-
Updated dependencies [
ecde34a9b3,635cfe9fdb]:
3.22.2
Patch Changes
- Updated dependencies [
2deb19babf]: