Skip to content

Commit

Permalink
feat(version): support 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenDittmann committed Oct 18, 2021
1 parent 367e152 commit 06a0163
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Appwrite Command Line SDK

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

**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).**
**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).**

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)

Expand Down
4 changes: 2 additions & 2 deletions app/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
$cli
->task('version')
->action(function() {
Console::log('CLI Version : 0.12.0');
Console::log('Server Version : 0.10.0');
Console::log('CLI Version : 0.12.1');
Console::log('Server Version : 0.11.0');
});


Expand Down
2 changes: 1 addition & 1 deletion app/teams.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@
$params = [];
/** Body Params */
$params['email'] = $email;
$params['name'] = $name;
$params['roles'] = !is_array($roles) ? array($roles) : $roles;
$params['url'] = $url;
$params['name'] = $name;
$response = $client->call(Client::METHOD_POST, $path, [
'content-type' => 'application/json',
], $params);
Expand Down
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $APPWRITE_EXECUTABLE_FILEPATH = Join-Path -Path $APPWRITE_INSTALL_DIR -ChildPath
$APPWRITE_CLI_IMAGE_NAME = "appwrite/cli"

# Appwrite CLI image version
$APPWRITE_CLI_IMAGE_VERSION = "0.12.0"
$APPWRITE_CLI_IMAGE_VERSION = "0.12.1"

$APPWRITE_EXECUTABLE_CONTENT = @"
`$allowList = 'version', 'help', 'init', 'client' , 'account', 'avatars', 'database', 'functions', 'health', 'locale', 'storage', 'teams', 'users'
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ APPWRITE_TEMP_NAME=temp
APPWRITE_CLI_IMAGE_NAME=appwrite/cli

# Appwrite CLI image version
APPWRITE_CLI_IMAGE_VERSION=0.12.0
APPWRITE_CLI_IMAGE_VERSION=0.12.1

# sudo is required to copy executable to APPWRITE_INSTALL_DIR for linux
USE_SUDO="false"
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Client
*/
protected $headers = [
'content-type' => '',
'x-sdk-version' => 'appwrite:cli:0.12.0',
'x-sdk-version' => 'appwrite:cli:0.12.1',
'X-Appwrite-Response-Format' => '0.10.0' ];

/**
Expand Down

0 comments on commit 06a0163

Please sign in to comment.