Skip to content

Commit 0abc0c6

Browse files
committed
chore: update for appwrite 1.6.x
1 parent a4d3d26 commit 0abc0c6

File tree

9 files changed

+20
-14
lines changed

9 files changed

+20
-14
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
2929

3030
```sh
3131
$ appwrite -v
32-
6.0.0
32+
6.0.0-rc.9
3333
```
3434

3535
### Install using prebuilt binaries
@@ -60,7 +60,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
6060
Once the installation completes, you can verify your install using
6161
```
6262
$ appwrite -v
63-
6.0.0
63+
6.0.0-rc.9
6464
```
6565

6666
## Getting Started

Diff for: install.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# You can use "View source" of this page to see the full script.
1414

1515
# REPO
16-
$GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/6.0.0/appwrite-cli-win-x64.exe"
17-
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/6.0.0/appwrite-cli-win-arm64.exe"
16+
$GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/6.0.0-rc.9/appwrite-cli-win-x64.exe"
17+
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/6.0.0-rc.9/appwrite-cli-win-arm64.exe"
1818

1919
$APPWRITE_BINARY_NAME = "appwrite.exe"
2020

Diff for: install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ printSuccess() {
9797
downloadBinary() {
9898
echo "[2/4] Downloading executable for $OS ($ARCH) ..."
9999

100-
GITHUB_LATEST_VERSION="6.0.0"
100+
GITHUB_LATEST_VERSION="6.0.0-rc.9"
101101
GITHUB_FILE="appwrite-cli-${OS}-${ARCH}"
102102
GITHUB_URL="https://github.com/$GITHUB_REPOSITORY_NAME/releases/download/$GITHUB_LATEST_VERSION/$GITHUB_FILE"
103103

Diff for: lib/client.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class Client {
1616
'x-sdk-name': 'Command Line',
1717
'x-sdk-platform': 'console',
1818
'x-sdk-language': 'cli',
19-
'x-sdk-version': '6.0.0',
20-
'user-agent' : `AppwriteCLI/6.0.0 (${os.type()} ${os.version()}; ${os.arch()})`,
19+
'x-sdk-version': '6.0.0-rc.9',
20+
'user-agent' : `AppwriteCLI/6.0.0-rc.9 (${os.type()} ${os.version()}; ${os.arch()})`,
2121
'X-Appwrite-Response-Format' : '1.6.0',
2222
};
2323
}

Diff for: lib/commands/push.js

+4
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ const {
6464
projectsUpdateAuthPasswordDictionary,
6565
projectsUpdateAuthPasswordHistory,
6666
projectsUpdatePersonalDataCheck,
67+
projectsUpdateSessionAlerts,
68+
projectsUpdateMockNumbers,
6769
} = require("./projects");
6870
const { checkDeployConditions } = require('../utils');
6971

@@ -980,6 +982,8 @@ const pushSettings = async () => {
980982
await projectsUpdateAuthPasswordDictionary({ projectId, enabled: settings.auth.security.passwordDictionary, parseOutput: false });
981983
await projectsUpdateAuthPasswordHistory({ projectId, limit: settings.auth.security.passwordHistory, parseOutput: false });
982984
await projectsUpdatePersonalDataCheck({ projectId, enabled: settings.auth.security.personalDataCheck, parseOutput: false });
985+
await projectsUpdateSessionAlerts({ projectId, alerts: settings.auth.security.sessionAlerts, parseOutput: false });
986+
await projectsUpdateMockNumbers({ projectId, numbers: settings.auth.security.mockNumbers, parseOutput: false });
983987
}
984988

985989
if (settings.auth.methods) {

Diff for: lib/config.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,10 @@ class Local extends Config {
456456
sessionsLimit: projectSettings.authSessionsLimit,
457457
passwordHistory: projectSettings.authPasswordHistory,
458458
passwordDictionary: projectSettings.authPasswordDictionary,
459-
personalDataCheck: projectSettings.authPersonalDataCheck
460-
}
459+
personalDataCheck: projectSettings.authPersonalDataCheck,
460+
sessionAlerts: projectSettings.authSessionAlerts,
461+
mockNumbers: projectSettings.authMockNumbers
462+
},
461463
}
462464
};
463465
}

Diff for: lib/parser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const parseError = (err) => {
120120
} catch {
121121
}
122122

123-
const version = '6.0.0';
123+
const version = '6.0.0-rc.9';
124124
const stepsToReproduce = `Running \`appwrite ${cliConfig.reportData.data.args.join(' ')}\``;
125125
const yourEnvironment = `CLI version: ${version}\nOperation System: ${os.type()}\nAppwrite version: ${appwriteVersion}\nIs Cloud: ${isCloud}`;
126126

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "appwrite-cli",
33
"homepage": "https://appwrite.io/support",
44
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5-
"version": "6.0.0",
5+
"version": "6.0.0-rc.9",
66
"license": "BSD-3-Clause",
77
"main": "index.js",
88
"bin": {

Diff for: scoop/appwrite.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
3-
"version": "6.0.0",
3+
"version": "6.0.0-rc.9",
44
"description": "The Appwrite CLI is a command-line application that allows you to interact with Appwrite and perform server-side tasks using your terminal.",
55
"homepage": "https://github.com/appwrite/sdk-for-cli",
66
"license": "BSD-3-Clause",
77
"architecture": {
88
"64bit": {
9-
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/6.0.0/appwrite-cli-win-x64.exe",
9+
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/6.0.0-rc.9/appwrite-cli-win-x64.exe",
1010
"bin": [
1111
[
1212
"appwrite-cli-win-x64.exe",
@@ -15,7 +15,7 @@
1515
]
1616
},
1717
"arm64": {
18-
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/6.0.0/appwrite-cli-win-arm64.exe",
18+
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/6.0.0-rc.9/appwrite-cli-win-arm64.exe",
1919
"bin": [
2020
[
2121
"appwrite-cli-win-arm64.exe",

0 commit comments

Comments
 (0)