Skip to content

Commit c1222d4

Browse files
authored
Merge pull request #72 from appwrite/dev
feat: Console SDK update for version 7.0.0
2 parents 2f041f8 + 88538f7 commit c1222d4

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

CHANGELOG.md

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

3+
## 7.0.0
4+
5+
* Breaking: Updated `$sequence` type from `number` to `string` for rows and documents.
6+
* Updated: Compatibility note now refers to Appwrite server `1.9.x`.
7+
* Updated: README badge shows API version `1.9.0`.
8+
* Updated: Set header `X-Appwrite-Response-Format` to `1.9.0`.
9+
310
## 6.0.0
411

512
* Breaking: Renamed `domains.confirmPurchase()` to `domains.updatePurchase()`

README.md

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

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-console.svg?style=flat-square)
4-
![Version](https://img.shields.io/badge/api%20version-1.8.2-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.9.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?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)
@@ -33,7 +33,7 @@ import { Client, Account } from "@appwrite.io/console";
3333
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
3434

3535
```html
36-
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@6.0.0"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@7.0.0"></script>
3737
```
3838

3939

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@appwrite.io/console",
33
"homepage": "https://appwrite.io/support",
44
"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",
5-
"version": "6.0.0",
5+
"version": "7.0.0",
66
"license": "BSD-3-Clause",
77
"main": "dist/cjs/sdk.js",
88
"exports": {

src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ class Client {
400400
'x-sdk-name': 'Console',
401401
'x-sdk-platform': 'console',
402402
'x-sdk-language': 'web',
403-
'x-sdk-version': '6.0.0',
404-
'X-Appwrite-Response-Format': '1.8.0',
403+
'x-sdk-version': '7.0.0',
404+
'X-Appwrite-Response-Format': '1.9.0',
405405
};
406406

407407
/**

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Appwrite Console SDK
33
*
4-
* This SDK is compatible with Appwrite server version 1.8.x.
4+
* This SDK is compatible with Appwrite server version 1.9.x.
55
* For older versions, please check
66
* [previous releases](https://github.com/appwrite/sdk-for-console/releases).
77
*/

src/models.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2631,7 +2631,7 @@ export namespace Models {
26312631
/**
26322632
* Row sequence ID.
26332633
*/
2634-
$sequence: number;
2634+
$sequence: string;
26352635
/**
26362636
* Table ID.
26372637
*/
@@ -2670,7 +2670,7 @@ export namespace Models {
26702670
/**
26712671
* Document sequence ID.
26722672
*/
2673-
$sequence: number;
2673+
$sequence: string;
26742674
/**
26752675
* Collection ID.
26762676
*/

0 commit comments

Comments
 (0)