appwrite-cli 10.1.0 → 10.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.2.2
4
+
5
+ * Fix `logout` command showing duplicate sessions
6
+ * Fix `logout` command showing a blank email even when logged out
7
+ * Add syncing of `tablesDB` resource during `push tables` command
8
+
9
+ ## 10.2.1
10
+
11
+ * Add transaction support for Databases and TablesDB
12
+
3
13
  ## 10.1.0
4
14
 
5
15
  * Deprecate `createVerification` method in `Account` service
package/README.md CHANGED
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
29
29
 
30
30
  ```sh
31
31
  $ appwrite -v
32
- 10.1.0
32
+ 10.2.2
33
33
  ```
34
34
 
35
35
  ### Install using prebuilt binaries
@@ -60,7 +60,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
60
60
  Once the installation completes, you can verify your install using
61
61
  ```
62
62
  $ appwrite -v
63
- 10.1.0
63
+ 10.2.2
64
64
  ```
65
65
 
66
66
  ## Getting Started
@@ -0,0 +1,2 @@
1
+ appwrite databases create-operations \
2
+ --transaction-id <TRANSACTION_ID>
@@ -0,0 +1 @@
1
+ appwrite databases create-transaction
@@ -0,0 +1,2 @@
1
+ appwrite databases delete-transaction \
2
+ --transaction-id <TRANSACTION_ID>
@@ -0,0 +1,2 @@
1
+ appwrite databases get-transaction \
2
+ --transaction-id <TRANSACTION_ID>
@@ -0,0 +1 @@
1
+ appwrite databases list-transactions
@@ -0,0 +1,2 @@
1
+ appwrite databases update-transaction \
2
+ --transaction-id <TRANSACTION_ID>
@@ -1,4 +1,4 @@
1
1
  appwrite migrations create-csv-migration \
2
2
  --bucket-id <BUCKET_ID> \
3
3
  --file-id <FILE_ID> \
4
- --resource-id [ID1:ID2]
4
+ --resource-id <ID1:ID2>
@@ -0,0 +1,2 @@
1
+ appwrite tables-db create-operations \
2
+ --transaction-id <TRANSACTION_ID>
@@ -0,0 +1 @@
1
+ appwrite tables-db create-transaction
@@ -0,0 +1,2 @@
1
+ appwrite tables-db delete-transaction \
2
+ --transaction-id <TRANSACTION_ID>
@@ -0,0 +1,2 @@
1
+ appwrite tables-db get-transaction \
2
+ --transaction-id <TRANSACTION_ID>
@@ -0,0 +1 @@
1
+ appwrite tables-db list-transactions
@@ -0,0 +1,2 @@
1
+ appwrite tables-db update-transaction \
2
+ --transaction-id <TRANSACTION_ID>
package/install.ps1 CHANGED
@@ -13,8 +13,8 @@
13
13
  # You can use "View source" of this page to see the full script.
14
14
 
15
15
  # REPO
16
- $GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/10.1.0/appwrite-cli-win-x64.exe"
17
- $GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/10.1.0/appwrite-cli-win-arm64.exe"
16
+ $GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/10.2.2/appwrite-cli-win-x64.exe"
17
+ $GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/10.2.2/appwrite-cli-win-arm64.exe"
18
18
 
19
19
  $APPWRITE_BINARY_NAME = "appwrite.exe"
20
20
 
package/install.sh CHANGED
@@ -97,7 +97,7 @@ printSuccess() {
97
97
  downloadBinary() {
98
98
  echo "[2/4] Downloading executable for $OS ($ARCH) ..."
99
99
 
100
- GITHUB_LATEST_VERSION="10.1.0"
100
+ GITHUB_LATEST_VERSION="10.2.2"
101
101
  GITHUB_FILE="appwrite-cli-${OS}-${ARCH}"
102
102
  GITHUB_URL="https://github.com/$GITHUB_REPOSITORY_NAME/releases/download/$GITHUB_LATEST_VERSION/$GITHUB_FILE"
103
103
 
package/lib/client.js CHANGED
@@ -16,8 +16,8 @@ class Client {
16
16
  'x-sdk-name': 'Command Line',
17
17
  'x-sdk-platform': 'console',
18
18
  'x-sdk-language': 'cli',
19
- 'x-sdk-version': '10.1.0',
20
- 'user-agent' : `AppwriteCLI/10.1.0 (${os.type()} ${os.version()}; ${os.arch()})`,
19
+ 'x-sdk-version': '10.2.2',
20
+ 'user-agent' : `AppwriteCLI/10.2.2 (${os.type()} ${os.version()}; ${os.arch()})`,
21
21
  'X-Appwrite-Response-Format' : '1.8.0',
22
22
  };
23
23
  }