Skip to content

docs(sdks): sync SDK versions, changelogs and getting started docs with the released SDKs - #14482

Merged
ChiragAgg5k merged 4 commits into
mainfrom
docs/sdk-docs-audit
Oct 14, 2026
Merged

ChiragAgg5k merged 4 commits into
mainfrom
docs/sdk-docs-audit

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

The SDK config versions, changelogs and getting-started docs had fallen several majors behind the published SDKs, and several getting-started examples no longer run against them.

Versions (app/config/sdks.php)

SDK Before After
web 22.4.0 28.3.0
flutter 21.4.0 27.2.0
apple 14.3.0 20.2.0
android 12.2.0 29.2.0
react-native 0.24.0 1.3.0
unity 0.1.0 0.9.0
cli 13.5.0 28.4.0
agent-skills 0.1.0 0.3.0
cursor-plugin 0.1.0 0.2.0
nodejs 22.0.1 29.4.0
php 20.0.1 30.4.0
python 15.1.0 24.4.0
ruby 21.0.1 28.4.0
go v0.16.1 v7.11.0
dotnet 0.26.0 8.3.1
dart 21.0.1 29.4.0
kotlin 14.0.1 22.4.0
swift 15.1.0 22.4.0
rust 0.1.0 0.19.0

Changelogs (docs/sdks/*/CHANGELOG.md)

Each one now matches its SDK repository at the latest release. Rust's is built from its GitHub release notes, because the repository changelog is not maintained.

Getting started fixes

  • Ruby: .setSelfSigned() → .set_self_signed, and userId: → user_id:. Neither exists in the SDK, so both calls raised.
  • PHP: $error->message → $error->getMessage(), because message is protected and reading it is a fatal error.
  • Dart, Flutter: 'Walter O'Brien' was a syntax error, and Flutter's project ID had a stray >.
  • Dart, Flutter EXAMPLES.md: removed a stray diff header, used InputFile.fromPath / fromBytes and ID.unique(), and renamed createEmailSession → createEmailPasswordSession.
  • Kotlin (server): Client() instead of the Android-only Client(context), double-quoted strings, userId = instead of user =, and println instead of Android Log.
  • Node, Web, React Native: object-parameter calls instead of the deprecated positional ones, and typed rows with TablesDB.listRows<Book> and interface Book extends Models.Row. The old listDocuments<Book> example did not type-check (TS2344).
  • Android, Apple, Kotlin, Swift: typed rows through TablesDB.listRows, reading the fields from row.data. The old examples read book.name from the row wrapper. Java examples use CoroutineCallback.
  • Apple: printed account.toMap() (the service) instead of user.toMap(). Android: Log.d was passed a Map.
  • .NET: endpoint example uses https.
  • CLI: uses the appwrite.config.json file name, pull tables and push tables, and tablesdb create-row. The flags --user-id, --self-signed and --project-id replace the camelCase forms. Array flags are repeated once per value, and the nonexistent users help and accounts commands are removed.

README

Adds the Unity SDK to the client list and points the contributing link at the generator's main branch.

Related: appwrite-labs/cloud#6530

The versions in the SDK config had fallen several majors behind the published SDKs.
Each changelog now matches the SDK repository at its latest release. Rust's is built from its release notes, since its repository changelog is not maintained.
Corrects calls that fail against the released SDKs (Ruby keyword names, PHP exception message, Dart string quoting, Kotlin server client setup, typed row access) and moves examples off deprecated APIs to TablesDB and object parameters.
Unity is a released client SDK, and the generator's default branch is main.
@luxor-code-review

luxor-code-review Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 1 nitpick below.

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 cursor-plugin bumped to 0.2.0 without a CHANGELOG file (sdks.php:288) — The cursor-plugin SDK version is bumped to 0.2.0 (app/config/sdks.php:288) but the referenced changelog file docs/sdks/cursor-plugin/CHANGELOG.md (app/config/sdks.php:303) does not exist, unlike every other SDK bumped in this PR which ships one.

This release PR bumps SDK versions in the app/config/sdks.php catalog and regenerates the corresponding changelogs, getting-started docs, and README badges for the affected SDKs. One missing artifact was flagged: the cursor-plugin version was bumped without adding its changelog file.

Files Change
app/config/sdks.php Bumped SDK version catalog entries, including cursor-plugin to 0.2.0
docs/sdks/*/CHANGELOG.md Regenerated changelog entries matching the new catalog versions
docs/sdks/*/GETTING_STARTED.md and EXAMPLES.md Refreshed getting-started and examples docs for the release
README.md, README-CN.md Updated version badges/links in both READMEs

Reviewed commit: 232544c

@ChiragAgg5k ChiragAgg5k self-assigned this Oct 14, 2026
@ghost

ghost commented Oct 14, 2026

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Synchronizes the SDK version catalog and changelog documentation with the latest releases. Updates getting-started examples across SDKs and refreshes the README SDK listings and generator contribution link.

15 of 36 changed files were too large to include in full.

Verdict New comments Fixed Still open
💬 Commented 0 0 0

Note

Part of the diff was too large to review, so Hansi did not approve.

📂 Walkthrough · 4
File Change
app/config/sdks.php Updates the configured versions for the listed client, server, CLI, and static SDKs.
docs/sdks/*/CHANGELOG.md Adds recent release notes for the SDKs and updates changelog history formatting.
docs/sdks/*/GETTING_STARTED.md and docs/sdks/{dart,flutter}/EXAMPLES.md Refreshes SDK examples to use current method names, request shapes, and typed row access.
README.md and README-CN.md Adds Unity to the client SDK list and updates the SDK generator contribution link.

Reviewed 232544c · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@github-actions

Copy link
Copy Markdown

Security rules

No new WARNING or ERROR findings from security rules.

19 existing findings tracked in .semgrep/baseline.json
  • php.appwrite.guest-write-without-abuse-limit (12)
  • php.appwrite.secret-compare-timing (5)
  • php.appwrite.weak-secret-env-default (2)

Posted by Checks / Rules. Re-runs update this comment in place. Rule details and baseline: .semgrep/README.md.

@github-actions

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → docs/sdk-docs-audit (after).

Metric Before After Change
🚀 Requests/sec 167.75 186.7 🟢 +11.3%
⏱️ Latency P50 101.74 ms 92.28 ms 🟢 -9.3%
⏱️ Latency P95 244.09 ms 219.15 ms 🟢 -10.2%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 92.28 219.15 11,571 186.7 -24.94
Account 183.64 340.14 609 10.21 -8.75
TablesDB 87.98 160.66 6,293 103 -17.38
Storage 86.99 182.22 3,045 51.82 -47.41
Functions 140.58 270.84 1,624 28.36 -22.24

Top API waits (after)

API request Max wait (ms)
account.prefs.update 587.73
account.name.update 533.47
functions.variables.update 452.02
functions.create 425.95
functions.delete 400.95

@ChiragAgg5k
ChiragAgg5k merged commit e26164f into main Oct 14, 2026
66 checks passed
abnegate added a commit that referenced this pull request Oct 14, 2026
Brings in the 23 commits main gained since the last sync: the MQTT subscribe
gate that refuses a user topic whose row name is not the reserved filter and
addresses topics by id so lookups hit the primary key (#14460), the console
preview SDK flow (#14441) and the SDK docs audit (#14482).

MqttServerTest conflicted where the branch had added the reconnect regression
tests (blocked user, deleted session) next to main's rewrite of the
subscription tests. Both are kept: the branch's reconnect tests, then main's
membership-gated subscription tests addressed by topic id.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

1 participant