Skip to content

Commit 8325bec

Browse files
authored
Merge pull request #322 from appwrite/dev
feat: Command Line SDK update for version 21.0.1
2 parents 540225f + f403d58 commit 8325bec

6 files changed

Lines changed: 13 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## 21.0.1
4+
5+
* Fixed: Kotlin type generation now emits `Long` for Appwrite integer attributes to match the Android and Kotlin SDK models
6+
* Fixed: Type generation now includes Sites when validating supported config resource keys
7+
38
## 21.0.0
49

510
* Breaking: Renamed `project update-canonical-emails` to `update-deny-canonical-email-policy`

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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-1.9.4-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.9.5-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?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
2929

3030
```sh
3131
$ appwrite -v
32-
21.0.0
32+
21.0.1
3333
```
3434

3535
### Install using prebuilt binaries
@@ -83,7 +83,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
8383
Once the installation completes, you can verify your install using
8484
```
8585
$ appwrite -v
86-
21.0.0
86+
21.0.1
8787
```
8888

8989
## Getting Started

lib/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SDK
22
export const SDK_TITLE = 'Appwrite';
33
export const SDK_TITLE_LOWER = 'appwrite';
4-
export const SDK_VERSION = '21.0.0';
4+
export const SDK_VERSION = '21.0.1';
55
export const SDK_NAME = 'Command Line';
66
export const SDK_PLATFORM = 'console';
77
export const SDK_LANGUAGE = 'cli';

lib/type-generation/languages/kotlin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class Kotlin extends LanguageMeta {
2323
}
2424
break;
2525
case AttributeType.INTEGER:
26-
type = "Int";
26+
type = "Long";
2727
break;
2828
case AttributeType.FLOAT:
2929
type = "Float";

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"homepage": "https://appwrite.io/support",
55
"description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
6-
"version": "21.0.0",
6+
"version": "21.0.1",
77
"license": "BSD-3-Clause",
88
"main": "dist/index.cjs",
99
"module": "dist/index.js",

0 commit comments

Comments
 (0)