Skip to content

Conversation

@vermakhushboo
Copy link
Member

@vermakhushboo vermakhushboo commented Oct 23, 2025

What does this PR do?

Bump Appwrite SDK version in starter templates

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

Summary by CodeRabbit

  • Chores
    • Updated starter templates across all supported platforms (Node.js, Dart, Deno, .NET, Go, Java, Kotlin, PHP, and Swift) to use the latest SDK versions, enabling access to the newest features and improvements.

@coderabbitai
Copy link

coderabbitai bot commented Oct 23, 2025

Walkthrough

This pull request updates Appwrite SDK dependencies across 11 starter template projects spanning multiple programming languages (Bun, Dart, Deno, .NET, Go, Java, Kotlin, Node.js, Node TypeScript, PHP, and Swift). Each language's starter template has its corresponding Appwrite SDK dependency bumped to a newer version in the respective package/manifest file. No functional code changes, logic modifications, or behavioral alterations are present.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

This change spans multiple files but follows a highly homogeneous pattern—straightforward version bumps in declarative manifest files with no logic density or behavioral changes. While the scope is broad across 11 starter templates, the repetitive nature of identical updates requires minimal individual reasoning per file, making this a simple, consistent refactoring pattern.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The pull request title "Bumped appwrite version in starter templates" accurately describes the primary change across the entire changeset. The raw_summary confirms that all modified files involve updates to Appwrite SDK dependencies across multiple starter templates (Bun, Dart, Deno, .NET, Go, Java, Kotlin, Node, Node TypeScript, PHP, and Swift). The title is concise, clear, and specific enough that a teammate reviewing the commit history would understand that this PR updates Appwrite SDK versions across various language starters. The title avoids vague terminology and file-list clutter, making it appropriate for summarizing this focused, multi-file dependency update.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore-bump-appwrite-sdk-version

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 79a7bcc and 2e2ed3f.

⛔ Files ignored due to path filters (5)
  • bun/starter/package-lock.json is excluded by !**/package-lock.json
  • go/starter/go.sum is excluded by !**/*.sum
  • node-typescript/starter/package-lock.json is excluded by !**/package-lock.json
  • node/starter/package-lock.json is excluded by !**/package-lock.json
  • php/starter/composer.lock is excluded by !**/*.lock
📒 Files selected for processing (11)
  • bun/starter/package.json (1 hunks)
  • dart/starter/pubspec.yaml (1 hunks)
  • deno/starter/src/main.ts (1 hunks)
  • dotnet/starter/StarterTemplate.csproj (1 hunks)
  • go/starter/go.mod (1 hunks)
  • java/starter/deps.gradle (1 hunks)
  • kotlin/starter/deps.gradle (1 hunks)
  • node-typescript/starter/package.json (1 hunks)
  • node/starter/package.json (1 hunks)
  • php/starter/composer.json (1 hunks)
  • swift/starter/Package.swift (1 hunks)
🔇 Additional comments (11)
node/starter/package.json (1)

11-11: Verify breaking changes from node-appwrite v14 → v20.

The jump from ^14.1.0 to ^20.2.1 spans 6 major versions. While the caret constraint ensures compatibility within v20, please confirm that the starter template code has been tested against v20.2.1 and that any breaking changes from the intervening versions have been addressed.

bun/starter/package.json (1)

11-11: Verify breaking changes from node-appwrite v9 → v20 and Bun compatibility.

The version bump from ^9.0.0 to ^20.2.1 is an 11-major-version jump. Please confirm that the Bun template has been tested with v20.2.1 and is compatible with the breaking changes introduced across these versions.

node-typescript/starter/package.json (1)

12-12: Verify breaking changes from node-appwrite v14 → v20 and TypeScript compatibility.

The jump from ^14.1.0 to ^20.2.1 spans 6 major versions. Confirm that the TypeScript template has been tested, compiles successfully with the new SDK version, and that any breaking changes in both the library and its type definitions have been addressed.

dart/starter/pubspec.yaml (1)

8-8: Verify breaking changes from dart_appwrite v8 → v19 and Dart compatibility.

The version bump from 8.0.0 to 19.2.1 is an 11-major-version jump with exact pinning. Confirm that the Dart template has been tested with v19.2.1 and is compatible with breaking changes across these major versions. Note that exact pinning will require manual updates for any future patches or security fixes.

go/starter/go.mod (1)

7-7: Verify Go template works with sdk-for-go v0.13.1.

The upgrade from a pre-release version (v0.0.1-rc.2) to stable (v0.13.1) is good practice. Confirm the Go template has been tested with v0.13.1.

java/starter/deps.gradle (1)

2-2: Verify breaking changes from io.appwrite:sdk-for-kotlin v2 → v12.

The version bump from 2.0.0 to 12.2.1 is a 10-major-version jump. Confirm the Java starter template has been tested with v12.2.1 and that breaking changes have been addressed. Also clarify why the Java starter depends on the Kotlin SDK rather than a native Java SDK.

dotnet/starter/StarterTemplate.csproj (1)

9-9: Verify breaking changes from Appwrite v0.4.2 → v0.21.2.

With pre-1.0 versions, breaking changes can occur without explicit major version bumps. Confirm the .NET starter template has been tested with v0.21.2 and that API changes have been accommodated. Also note that .NET 6.0's LTS support ended in November 2024; consider updating to a current LTS version (e.g., 8.0) in a future update.

php/starter/composer.json (1)

6-6: Verify breaking changes from appwrite/appwrite v8 → v17.

The jump from ^8.0 to ^17.4.1 spans 9 major versions. Confirm the PHP starter template has been tested with v17.4.1 and that any breaking changes have been addressed.

swift/starter/Package.swift (1)

7-7: No action required — version verified and compatible.

The version tag 13.2.2 exists in the Appwrite SDK for Swift repository, and no breaking changes are called out in the release notes. The version constraint using .upToNextMajor(from: "13.2.2") is appropriate for this dependency update. The change is valid.

deno/starter/src/main.ts (1)

1-1: Now I need to inspect the actual code file to confirm the API usage is correct:Perfect. Now I have definitive evidence. The official Deno SDK documentation shows Client and Users APIs with setEndpoint, setProject, setKey, and users.list() are standard and available. The version 17.0.0 exists (confirmed by HTTP 200), and all the APIs referenced in the original code (Client, Users, setEndpoint, setProject, setKey, list()) are confirmed compatible across all SDK versions including v17.

API compatibility confirmed—import update is safe.

The Appwrite Deno SDK v17 documentation demonstrates the Client initialization pattern with setEndpoint, setProject, setKey methods is unchanged, and the Users API with list() method remains functional. The version bump from 7.0.0 to 17.0.0 does not introduce breaking changes to the core APIs used in the starter template (Client, Users, and their configuration/listing methods).

The import statement update is valid and no code modifications are required for the referenced methods.

kotlin/starter/deps.gradle (1)

2-2: I'll verify the version exists and search for the changelog using a different approach.


The specified version 12.2.1 does not exist for the Appwrite Kotlin SDK. The current latest version documented in the official GitHub repository is 9.1.2, and this version is compatible with Appwrite server version 1.7.x.

If the intention is to update the dependency, verify the correct target version for io.appwrite:sdk-for-kotlin. The specified version would cause a build failure. Note: version 12.x exists for other Appwrite SDKs (e.g., Dart), but not for the Kotlin SDK.

Likely an incorrect or invalid review comment.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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