Skip to content

Commit 010f896

Browse files
committed
feat: SDK update for version 1.9.x
1 parent f5a1985 commit 010f896

454 files changed

Lines changed: 28647 additions & 24860 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug.yaml

Lines changed: 0 additions & 82 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/documentation.yaml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/autoclose.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Change Log
22

3+
## 23.0.0
4+
5+
* [BREAKING] Renamed Webhook model fields: `security``tls`, `httpUser``authUsername`, `httpPass``authPassword`, `signatureKey``secret`
6+
* [BREAKING] Renamed Webhook service parameters to match: `security``tls`, `httpUser``authUsername`, `httpPass``authPassword`
7+
* Added `secret` parameter to Webhook create and update methods
8+
* Added `x` OAuth provider to `OAuthProvider` enum
9+
* Added `userType` field to `Log` model
10+
* Added `purge` parameter to `updateCollection` and `updateTable` for cache invalidation
11+
* Added Project service: platform CRUD, key CRUD, protocol/service status management
12+
* Added new models: `Key`, `KeyList`, `PlatformAndroid`, `PlatformApple`, `PlatformLinux`, `PlatformList`, and others
13+
* Added new enums: `PlatformType`, `ProtocolId`, `ServiceId`
14+
* Updated `BuildRuntime`, `Runtime`, `Scopes` enums with new values
15+
* Updated `X-Appwrite-Response-Format` header to `1.9.1`
16+
* Updated TTL description for list caching in Databases and TablesDB
17+
318
## 22.0.0
419

520
* [BREAKING] Changed `$sequence` type from `int` to `String` for `Row` and `Document` models

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
2121

2222
```yml
2323
dependencies:
24-
dart_appwrite: ^22.0.0
24+
dart_appwrite: ^23.0.0
2525
```
2626
2727
You can install packages from the command line:

docs/examples/databases/create-datetime-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ AttributeDatetime result = await databases.createDatetimeAttribute(
1313
collectionId: '<COLLECTION_ID>',
1414
key: '',
1515
xrequired: false,
16-
xdefault: '', // (optional)
16+
xdefault: '2020-10-15T06:38:00.000+00:00', // (optional)
1717
array: false, // (optional)
1818
);
1919
```

docs/examples/databases/get-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Client client = Client()
88
99
Databases databases = Databases(client);
1010
11-
AttributeBoolean result = await databases.getAttribute(
11+
dynamic result = await databases.getAttribute(
1212
databaseId: '<DATABASE_ID>',
1313
collectionId: '<COLLECTION_ID>',
1414
key: '',

docs/examples/databases/update-collection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ Collection result = await databases.updateCollection(
1717
permissions: [Permission.read(Role.any())], // (optional)
1818
documentSecurity: false, // (optional)
1919
enabled: false, // (optional)
20+
purge: false, // (optional)
2021
);
2122
```

docs/examples/databases/update-datetime-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ AttributeDatetime result = await databases.updateDatetimeAttribute(
1313
collectionId: '<COLLECTION_ID>',
1414
key: '',
1515
xrequired: false,
16-
xdefault: '',
16+
xdefault: '2020-10-15T06:38:00.000+00:00',
1717
newKey: '', // (optional)
1818
);
1919
```

0 commit comments

Comments
 (0)