Skip to content

Commit c42164d

Browse files
Merge pull request #118 from appwrite/chore-release-5.0.1
Release 5.0.1
2 parents e99fb32 + 689c227 commit c42164d

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

README.md

Lines changed: 2 additions & 2 deletions
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-
5.0.0
32+
5.0.1
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-
5.0.0
63+
5.0.1
6464
```
6565

6666
## Getting Started

install.ps1

Lines changed: 5 additions & 5 deletions
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/5.0.0/appwrite-cli-win-x64.exe"
17-
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/5.0.0/appwrite-cli-win-arm64.exe"
16+
$GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/5.0.1/appwrite-cli-win-x64.exe"
17+
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/5.0.1/appwrite-cli-win-arm64.exe"
1818

1919
$APPWRITE_BINARY_NAME = "appwrite.exe"
2020

@@ -30,11 +30,11 @@ $USER_PATH_ENV_VAR = [Environment]::GetEnvironmentVariable("PATH", "User")
3030
function Greeting {
3131
Write-Host @"
3232
33-
_ _ _ ___ __ _____
33+
_ _ _ ___ __ _____
3434
/_\ _ __ _ ____ ___ __(_) |_ ___ / __\ / / \_ \
3535
//_\\| '_ \| '_ \ \ /\ / / '__| | __/ _ \ / / / / / /\/
36-
/ _ \ |_) | |_) \ V V /| | | | || __/ / /___/ /___/\/ /_
37-
\_/ \_/ .__/| .__/ \_/\_/ |_| |_|\__\___| \____/\____/\____/
36+
/ _ \ |_) | |_) \ V V /| | | | || __/ / /___/ /___/\/ /_
37+
\_/ \_/ .__/| .__/ \_/\_/ |_| |_|\__\___| \____/\____/\____/
3838
|_| |_|
3939
4040
"@ -ForegroundColor red

install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ greeting() {
4444
echo -e "${RED}"
4545
cat << "EOF"
4646
47-
_ _ _ ___ __ _____
47+
_ _ _ ___ __ _____
4848
/_\ _ __ _ ____ ___ __(_) |_ ___ / __\ / / \_ \
4949
//_\\| '_ \| '_ \ \ /\ / / '__| | __/ _ \ / / / / / /\/
50-
/ _ \ |_) | |_) \ V V /| | | | || __/ / /___/ /___/\/ /_
51-
\_/ \_/ .__/| .__/ \_/\_/ |_| |_|\__\___| \____/\____/\____/
50+
/ _ \ |_) | |_) \ V V /| | | | || __/ / /___/ /___/\/ /_
51+
\_/ \_/ .__/| .__/ \_/\_/ |_| |_|\__\___| \____/\____/\____/
5252
|_| |_|
5353
EOF
5454
echo -e "${NC}\n"
@@ -97,7 +97,7 @@ printSuccess() {
9797
downloadBinary() {
9898
echo "[2/4] Downloading executable for $OS ($ARCH) ..."
9999

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

lib/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class Client {
1515
'x-sdk-name': 'Command Line',
1616
'x-sdk-platform': 'console',
1717
'x-sdk-language': 'cli',
18-
'x-sdk-version': '5.0.0',
19-
'user-agent' : `AppwriteCLI/5.0.0 (${os.type()} ${os.version()}; ${os.arch()})`,
18+
'x-sdk-version': '5.0.1',
19+
'user-agent' : `AppwriteCLI/5.0.1 (${os.type()} ${os.version()}; ${os.arch()})`,
2020
'X-Appwrite-Response-Format' : '1.5.0',
2121
};
2222
}

lib/commands/generic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { sdkForConsole } = require("../sdks");
55
const { globalConfig, localConfig } = require("../config");
66
const { actionRunner, success, parseBool, commandDescriptions, log, parse } = require("../parser");
77
const { questionsLogin } = require("../questions");
8-
const { accountCreateEmailSession, accountDeleteSession } = require("./account");
8+
const { accountCreateEmailPasswordSession, accountDeleteSession } = require("./account");
99

1010
const login = new Command("login")
1111
.description(commandDescriptions['login'])
@@ -17,7 +17,7 @@ const login = new Command("login")
1717

1818
let client = await sdkForConsole(false);
1919

20-
await accountCreateEmailSession({
20+
await accountCreateEmailPasswordSession({
2121
email: answers.email,
2222
password: answers.password,
2323
parseOutput: false,

lib/parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const error = (message) => {
149149
console.error(`${chalk.red.bold("✗ Error")} ${chalk.red(message ?? "")}`);
150150
}
151151

152-
const logo = "\n _ _ _ ___ __ _____ \n \/_\\ _ __ _ ____ ___ __(_) |_ ___ \/ __\\ \/ \/ \\_ \\\n \/\/_\\\\| '_ \\| '_ \\ \\ \/\\ \/ \/ '__| | __\/ _ \\ \/ \/ \/ \/ \/ \/\\\/\n \/ _ \\ |_) | |_) \\ V V \/| | | | || __\/ \/ \/___\/ \/___\/\\\/ \/_ \n \\_\/ \\_\/ .__\/| .__\/ \\_\/\\_\/ |_| |_|\\__\\___| \\____\/\\____\/\\____\/ \n |_| |_| \n\n";
152+
const logo = "\n _ _ _ ___ __ _____\n \/_\\ _ __ _ ____ ___ __(_) |_ ___ \/ __\\ \/ \/ \\_ \\\n \/\/_\\\\| '_ \\| '_ \\ \\ \/\\ \/ \/ '__| | __\/ _ \\ \/ \/ \/ \/ \/ \/\\\/\n \/ _ \\ |_) | |_) \\ V V \/| | | | || __\/ \/ \/___\/ \/___\/\\\/ \/_\n \\_\/ \\_\/ .__\/| .__\/ \\_\/\\_\/ |_| |_|\\__\\___| \\____\/\\____\/\\____\/\n |_| |_|\n\n";
153153

154154
const commandDescriptions = {
155155
"account": `The account command allows you to authenticate and manage a user account.`,

package.json

Lines changed: 1 addition & 1 deletion
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": "5.0.0",
5+
"version": "5.0.1",
66
"license": "BSD-3-Clause",
77
"main": "index.js",
88
"bin": {

scoop/appwrite.json

Lines changed: 3 additions & 3 deletions
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": "5.0.0",
3+
"version": "5.0.1",
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/5.0.0/appwrite-cli-win-x64.exe",
9+
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/5.0.1/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/5.0.0/appwrite-cli-win-arm64.exe",
18+
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/5.0.1/appwrite-cli-win-arm64.exe",
1919
"bin": [
2020
[
2121
"appwrite-cli-win-arm64.exe",

0 commit comments

Comments
 (0)