Skip to content

Commit 06a0163

Browse files
feat(version): support 0.11.0
1 parent 367e152 commit 06a0163

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Appwrite Command Line SDK
22

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-cli.svg?style=flat-square)
4-
![Version](https://img.shields.io/badge/api%20version-0.10.0-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-0.11.0-blue.svg?style=flat-square)
55
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite_io?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite_io)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
88

9-
**This SDK is compatible with Appwrite server version 0.10.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-cli/releases).**
9+
**This SDK is compatible with Appwrite server version 0.11.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-cli/releases).**
1010

1111
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Command Line SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
1212

app/client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@
109109
$cli
110110
->task('version')
111111
->action(function() {
112-
Console::log('CLI Version : 0.12.0');
113-
Console::log('Server Version : 0.10.0');
112+
Console::log('CLI Version : 0.12.1');
113+
Console::log('Server Version : 0.11.0');
114114
});
115115

116116

app/teams.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@
195195
$params = [];
196196
/** Body Params */
197197
$params['email'] = $email;
198-
$params['name'] = $name;
199198
$params['roles'] = !is_array($roles) ? array($roles) : $roles;
200199
$params['url'] = $url;
200+
$params['name'] = $name;
201201
$response = $client->call(Client::METHOD_POST, $path, [
202202
'content-type' => 'application/json',
203203
], $params);

install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $APPWRITE_EXECUTABLE_FILEPATH = Join-Path -Path $APPWRITE_INSTALL_DIR -ChildPath
2525
$APPWRITE_CLI_IMAGE_NAME = "appwrite/cli"
2626

2727
# Appwrite CLI image version
28-
$APPWRITE_CLI_IMAGE_VERSION = "0.12.0"
28+
$APPWRITE_CLI_IMAGE_VERSION = "0.12.1"
2929

3030
$APPWRITE_EXECUTABLE_CONTENT = @"
3131
`$allowList = 'version', 'help', 'init', 'client' , 'account', 'avatars', 'database', 'functions', 'health', 'locale', 'storage', 'teams', 'users'

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ APPWRITE_TEMP_NAME=temp
3030
APPWRITE_CLI_IMAGE_NAME=appwrite/cli
3131

3232
# Appwrite CLI image version
33-
APPWRITE_CLI_IMAGE_VERSION=0.12.0
33+
APPWRITE_CLI_IMAGE_VERSION=0.12.1
3434

3535
# sudo is required to copy executable to APPWRITE_INSTALL_DIR for linux
3636
USE_SUDO="false"

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Client
2929
*/
3030
protected $headers = [
3131
'content-type' => '',
32-
'x-sdk-version' => 'appwrite:cli:0.12.0',
32+
'x-sdk-version' => 'appwrite:cli:0.12.1',
3333
'X-Appwrite-Response-Format' => '0.10.0' ];
3434

3535
/**

0 commit comments

Comments
 (0)