Skip to content

feat: Web SDK update for version 24.2.0#167

Merged
ChiragAgg5k merged 1 commit into
mainfrom
dev
Apr 15, 2026
Merged

feat: Web SDK update for version 24.2.0#167
ChiragAgg5k merged 1 commit into
mainfrom
dev

Conversation

@ChiragAgg5k
Copy link
Copy Markdown
Member

This PR contains updates to the Web SDK for version 24.2.0.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 15, 2026

Greptile Summary

This PR bumps the Web SDK to version 24.2.0, targeting Appwrite API 1.9.1. Changes include adding the X OAuth provider, a new userType field on the Log model, expanded TTL caching documentation for Databases.listDocuments and TablesDB.listRows, a Rollup 3 → 4 dev-dependency upgrade (with the config renamed to .mjs), and CI environment pinning (Node 24.14.1, npm 11.10.0).

Confidence Score: 5/5

Safe to merge — all changes are additive, backwards-compatible, and no logic was altered.

Every change is either a version bump, an additive enum/model field, improved documentation, or a build-tooling upgrade. No existing behaviour was removed or modified, and no issues were found.

No files require special attention.

Important Files Changed

Filename Overview
src/client.ts Version header bumped from 24.1.1 → 24.2.0 and X-Appwrite-Response-Format from 1.9.0 → 1.9.1; no logic changes.
src/enums/o-auth-provider.ts Added X = 'x' OAuth provider in correct alphabetical position (between Wordpress and Yahoo); consistent with existing naming convention.
src/models.ts Added userType: string field to Log model with documentation listing valid values; placed correctly after mode and before ip.
rollup.config.mjs Renamed from rollup.config.js to rollup.config.mjs (Rollup 4 ESM migration); added outDir: "dist" to TypeScript plugin options to satisfy Rollup 4 requirements.
.github/workflows/publish.yml Node.js pinned to 24.14.1 and npm pinned to 11.10.0 for reproducible, deterministic publish environment.
src/services/account.ts Updated three OAuth provider JSDoc comments to add 'x' to the supported-provider list; no runtime changes.
src/services/databases.ts Expanded TTL JSDoc to describe caching key composition, staleness semantics, and write-invalidation behavior; no runtime changes.
src/services/tables-db.ts Identical TTL documentation improvement as databases.ts, adapted for tables/rows terminology; no runtime changes.
package.json Version bumped to 24.2.0 and dev dependencies updated (Rollup 3 → 4, matching plugins); production dependencies unchanged.

Reviews (1): Last reviewed commit: "chore: update Web SDK to 24.2.0" | Re-trigger Greptile

@ChiragAgg5k ChiragAgg5k merged commit d936179 into main Apr 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants