Skip to content

Commit 5853287

Browse files
authored
Merge pull request #164 from appwrite/dev
feat: Web SDK update for version 24.1.0
2 parents 10c6a81 + 9ab9c84 commit 5853287

7 files changed

Lines changed: 667 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
- name: Install dependencies and build
3838
run: |
39-
npm install
39+
npm ci
4040
npm run build
4141
4242
- name: Publish

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
node_modules/
2+
dist/*
3+
!dist/cjs/
4+
!dist/esm/
5+
dist/cjs/*
6+
dist/esm/*
7+
!dist/cjs/package.json
8+
!dist/esm/package.json
9+
types/
10+
.DS_Store

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
# Change Log
22

3+
## 24.1.0
4+
5+
* Added: Added `getHeaders()` method to `Client` to expose current request headers
6+
* Added: Added `package-lock.json` to track dependency lockfile in version control
7+
38
## 24.0.0
49

5-
* [BREAKING] Changed `$sequence` type from `int` to `string` for rows and documents
10+
* [BREAKING] Changed `$sequence` type from `number` to `string` for `Row` and `Document` models
11+
* Added impersonation support: `setImpersonateUserId()`, `setImpersonateUserEmail()`, `setImpersonateUserPhone()` on `Client`
12+
* Added `impersonator` and `impersonatorUserId` optional fields to `User` model
13+
* Added custom `toString()` on response data objects using `JSONbig.stringify` to fix BigInt serialization
14+
* Updated `Log` model field descriptions to clarify impersonation behavior for `userId`, `userEmail`, `userName`
15+
* Updated `X-Appwrite-Response-Format` header to `1.9.0`
16+
* Updated devDependencies: Rollup 2→3, TypeScript 4.7→5.7, and related plugin upgrades
617

718
## 23.0.0
819

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Client, Account } from "appwrite";
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@24.0.0"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/appwrite@24.1.0"></script>
3737
```
3838

3939

0 commit comments

Comments
 (0)