Merge pull request #119 from appwrite/dev

feat: Android SDK update for version 23.0.0
This commit is contained in:
Chirag Aggarwal
2026-03-30 16:32:44 +05:30
committed by GitHub
3 changed files with 31 additions and 3 deletions
+28
View File
@@ -1,5 +1,33 @@
# Change Log
## 23.0.0
* **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.
### Summary of changes since 14.1.0
* [BREAKING] Changed `$sequence` type from `Long` to `String` for `Row` and `Document` models
* Added impersonation support: `setImpersonateUserId()`, `setImpersonateUserEmail()`, `setImpersonateUserPhone()` on `Client`
* Added `impersonator` and `impersonatorUserId` optional fields to `User` model
* Added `getHeaders()`, `getCookies(url)`, and `getHttpClient()` methods to `Client`
* Breaking: Channel factory methods require explicit IDs (no wildcard defaults)
* Added `ttl` parameter to `listDocuments` and `listRows` for caching
* Added `queries` parameter to Realtime subscriptions for filtering events
* Added array-based enum parameters (e.g., `permissions: List<BrowserPermission>`)
* Breaking: `Output` enum removed; use `ImageFormat` instead
* Added `Channel` helpers for Realtime
* Added `getScreenshot` method to `Avatars` service
* Added `Theme` and `Timezone` enums
* Added `total` parameter to list queries for skipping row counting
* Added `Operator` class for atomic modification of rows
* Added transaction support for Databases and TablesDB
* Deprecated `createVerification`; added `createEmailVerification` in `Account` service
* Added `incrementDocumentAttribute` and `decrementDocumentAttribute` to `Databases` service
* Added `gif` support to `ImageFormat` enum and `sequence` support to `Document` model
* Added `devKeys` support to `Client` and `upsertDocument` to `Databases` service
* Added `token` param to `getFilePreview` and `getFileView` for File tokens
* Fixed requests failing by removing `Content-Type` header from `GET` and `HEAD` requests
## 14.1.0
* Added `getHeaders()` method to `Client` for accessing current request headers
+2 -2
View File
@@ -38,7 +38,7 @@ repositories {
Next, add the dependency to your project's `build.gradle(.kts)` file:
```groovy
implementation("io.appwrite:sdk-for-android:14.1.0")
implementation("io.appwrite:sdk-for-android:23.0.0")
```
### Maven
@@ -49,7 +49,7 @@ Add this to your project's `pom.xml` file:
<dependency>
<groupId>io.appwrite</groupId>
<artifactId>sdk-for-android</artifactId>
<version>14.1.0</version>
<version>23.0.0</version>
</dependency>
</dependencies>
```
+1 -1
View File
@@ -87,7 +87,7 @@ class Client @JvmOverloads constructor(
"x-sdk-name" to "Android",
"x-sdk-platform" to "client",
"x-sdk-language" to "android",
"x-sdk-version" to "14.1.0",
"x-sdk-version" to "23.0.0",
"x-appwrite-response-format" to "1.9.0"
)
config = mutableMapOf()