Skip to content

Commit 658f65f

Browse files
authored
Merge pull request #119 from appwrite/dev
feat: Android SDK update for version 23.0.0
2 parents 6e551b2 + d29b86e commit 658f65f

3 files changed

Lines changed: 31 additions & 3 deletions

File tree

CHANGELOG.md

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

3+
## 23.0.0
4+
5+
* **Note:** Version 22.2.0 was accidentally released in a previous cycle. This release (23.0.0) supersedes it as the correct next major version.
6+
7+
### Summary of changes since 14.1.0
8+
9+
* [BREAKING] Changed `$sequence` type from `Long` to `String` for `Row` and `Document` models
10+
* Added impersonation support: `setImpersonateUserId()`, `setImpersonateUserEmail()`, `setImpersonateUserPhone()` on `Client`
11+
* Added `impersonator` and `impersonatorUserId` optional fields to `User` model
12+
* Added `getHeaders()`, `getCookies(url)`, and `getHttpClient()` methods to `Client`
13+
* Breaking: Channel factory methods require explicit IDs (no wildcard defaults)
14+
* Added `ttl` parameter to `listDocuments` and `listRows` for caching
15+
* Added `queries` parameter to Realtime subscriptions for filtering events
16+
* Added array-based enum parameters (e.g., `permissions: List<BrowserPermission>`)
17+
* Breaking: `Output` enum removed; use `ImageFormat` instead
18+
* Added `Channel` helpers for Realtime
19+
* Added `getScreenshot` method to `Avatars` service
20+
* Added `Theme` and `Timezone` enums
21+
* Added `total` parameter to list queries for skipping row counting
22+
* Added `Operator` class for atomic modification of rows
23+
* Added transaction support for Databases and TablesDB
24+
* Deprecated `createVerification`; added `createEmailVerification` in `Account` service
25+
* Added `incrementDocumentAttribute` and `decrementDocumentAttribute` to `Databases` service
26+
* Added `gif` support to `ImageFormat` enum and `sequence` support to `Document` model
27+
* Added `devKeys` support to `Client` and `upsertDocument` to `Databases` service
28+
* Added `token` param to `getFilePreview` and `getFileView` for File tokens
29+
* Fixed requests failing by removing `Content-Type` header from `GET` and `HEAD` requests
30+
331
## 14.1.0
432

533
* Added `getHeaders()` method to `Client` for accessing current request headers

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repositories {
3838
Next, add the dependency to your project's `build.gradle(.kts)` file:
3939

4040
```groovy
41-
implementation("io.appwrite:sdk-for-android:14.1.0")
41+
implementation("io.appwrite:sdk-for-android:23.0.0")
4242
```
4343

4444
### Maven
@@ -49,7 +49,7 @@ Add this to your project's `pom.xml` file:
4949
<dependency>
5050
<groupId>io.appwrite</groupId>
5151
<artifactId>sdk-for-android</artifactId>
52-
<version>14.1.0</version>
52+
<version>23.0.0</version>
5353
</dependency>
5454
</dependencies>
5555
```

library/src/main/java/io/appwrite/Client.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class Client @JvmOverloads constructor(
8787
"x-sdk-name" to "Android",
8888
"x-sdk-platform" to "client",
8989
"x-sdk-language" to "android",
90-
"x-sdk-version" to "14.1.0",
90+
"x-sdk-version" to "23.0.0",
9191
"x-appwrite-response-format" to "1.9.0"
9292
)
9393
config = mutableMapOf()

0 commit comments

Comments
 (0)