Skip to content

Conversation

@ChiragAgg5k
Copy link
Member

What does this PR do?

updates sdks and changelogs

Test Plan

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 24, 2025

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (12)
  • docs/sdks/android/GETTING_STARTED.md is excluded by !docs/sdks/**
  • docs/sdks/apple/GETTING_STARTED.md is excluded by !docs/sdks/**
  • docs/sdks/dart/EXAMPLES.md is excluded by !docs/sdks/**
  • docs/sdks/deno/GETTING_STARTED.md is excluded by !docs/sdks/**
  • docs/sdks/java/CHANGELOG.md is excluded by !docs/sdks/**
  • docs/sdks/kotlin/GETTING_STARTED.md is excluded by !docs/sdks/**
  • docs/sdks/nodejs/GETTING_STARTED.md is excluded by !docs/sdks/**
  • docs/sdks/react-native/GETTING_STARTED.md is excluded by !docs/sdks/**
  • docs/sdks/swift/GETTING_STARTED.md is excluded by !docs/sdks/**
  • docs/sdks/typescript/CHANGELOG.md is excluded by !docs/sdks/**
  • docs/sdks/web/GETTING_STARTED.md is excluded by !docs/sdks/**
  • docs/sdks/web/README.md is excluded by !docs/sdks/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

"""

Walkthrough

This change updates the version numbers of multiple SDKs in the app/config/platforms.php configuration file across three platform categories: Client, Console, and Server. The updates include increments for Web, Flutter, Apple, Android, React Native, Console Web, Command Line, Node.js, Deno, PHP, Python, Ruby, Go, .NET, Dart, Kotlin, and Swift SDKs. Additionally, the .gitignore file was modified to replace the ignored filename appwrite.json with appwrite.config.json. Corresponding description texts for environment variables _APP_FUNCTIONS_TIMEOUT and _APP_SITES_TIMEOUT in app/config/variables.php were updated to reflect this filename change. No other modifications to URLs, package links, flags, or file structure were made.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

Possibly related PRs

Suggested reviewers

  • stnguyen90
  • lohanidamodar
  • christyjacob4
    """
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-sdks-1.7.x

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link

github-actions bot commented Jul 24, 2025

Security Scan Results for PR

Docker Image Scan Results

Package Version Vulnerability Severity
binutils 2.42-r0 CVE-2025-0840 HIGH
git 2.45.3-r0 CVE-2025-48384 HIGH
git 2.45.3-r0 CVE-2025-48385 HIGH
git-init-template 2.45.3-r0 CVE-2025-48384 HIGH
git-init-template 2.45.3-r0 CVE-2025-48385 HIGH
icu 74.2-r0 CVE-2025-5222 HIGH
icu-data-en 74.2-r0 CVE-2025-5222 HIGH
icu-dev 74.2-r0 CVE-2025-5222 HIGH
icu-libs 74.2-r0 CVE-2025-5222 HIGH
libexpat 2.6.4-r0 CVE-2024-8176 HIGH
libxml2 2.12.7-r0 CVE-2024-56171 HIGH
libxml2 2.12.7-r0 CVE-2025-24928 HIGH
libxml2 2.12.7-r0 CVE-2025-27113 HIGH
libxml2 2.12.7-r0 CVE-2025-32414 HIGH
libxml2 2.12.7-r0 CVE-2025-32415 HIGH
pyc 3.12.9-r0 CVE-2024-12718 HIGH
pyc 3.12.9-r0 CVE-2025-4138 HIGH
pyc 3.12.9-r0 CVE-2025-4330 HIGH
pyc 3.12.9-r0 CVE-2025-4517 HIGH
python3 3.12.9-r0 CVE-2024-12718 HIGH
python3 3.12.9-r0 CVE-2025-4138 HIGH
python3 3.12.9-r0 CVE-2025-4330 HIGH
python3 3.12.9-r0 CVE-2025-4517 HIGH
python3-pyc 3.12.9-r0 CVE-2024-12718 HIGH
python3-pyc 3.12.9-r0 CVE-2025-4138 HIGH
python3-pyc 3.12.9-r0 CVE-2025-4330 HIGH
python3-pyc 3.12.9-r0 CVE-2025-4517 HIGH
python3-pycache-pyc0 3.12.9-r0 CVE-2024-12718 HIGH
python3-pycache-pyc0 3.12.9-r0 CVE-2025-4138 HIGH
python3-pycache-pyc0 3.12.9-r0 CVE-2025-4330 HIGH
python3-pycache-pyc0 3.12.9-r0 CVE-2025-4517 HIGH
sqlite-libs 3.45.3-r1 CVE-2025-29087 HIGH
xz 5.6.2-r0 CVE-2025-31115 HIGH
xz-libs 5.6.2-r0 CVE-2025-31115 HIGH
golang.org/x/crypto v0.31.0 CVE-2025-22869 HIGH
golang.org/x/oauth2 v0.24.0 CVE-2025-22868 HIGH

Source Code Scan Results

🎉 No vulnerabilities found!

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🔭 Outside diff range comments (1)
app/config/platforms.php (1)

3-475: Fix PSR-12 array-indentation – linter currently fails

The CI “Linter” job reports array_indentation style issue detected.
Run vendor/bin/pint (or composer pint) locally; it will auto-format the file and keep the pipeline green.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between cc8e04f and 32bb8b7.

⛔ Files ignored due to path filters (8)
  • composer.lock is excluded by !**/*.lock
  • docs/sdks/android/CHANGELOG.md is excluded by !docs/sdks/**
  • docs/sdks/apple/CHANGELOG.md is excluded by !docs/sdks/**
  • docs/sdks/dart/CHANGELOG.md is excluded by !docs/sdks/**
  • docs/sdks/flutter/CHANGELOG.md is excluded by !docs/sdks/**
  • docs/sdks/nodejs/CHANGELOG.md is excluded by !docs/sdks/**
  • docs/sdks/react-native/CHANGELOG.md is excluded by !docs/sdks/**
  • docs/sdks/web/CHANGELOG.md is excluded by !docs/sdks/**
📒 Files selected for processing (1)
  • app/config/platforms.php (8 hunks)
🧰 Additional context used
🪛 GitHub Actions: Linter
app/config/platforms.php

[error] 1-1: PSR 12 linting failed: array_indentation style issue detected. Run 'vendor/bin/pint' to fix code style issues.

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Setup & Build Appwrite Image
  • GitHub Check: Setup & Build Appwrite Image
  • GitHub Check: scan

Comment on lines +14 to 15
'version' => '18.2.0',
'url' => 'https://github.com/appwrite/sdk-for-web',
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Verify that every bumped version actually exists on the respective package registry / GitHub release before merging

Configuration is sound, but if any of these tags haven’t been published yet (or were yanked), package-managers and the website will display a broken version badge.

Run a quick check:

Also applies to: 60-63, 80-81, 115-116, 137-138, 202-203, 254-255, 380-381


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail
declare -A repos=(
  ["web"]="appwrite/[email protected]"
  ["flutter"]="appwrite/[email protected]"
  ["apple"]="appwrite/[email protected]"
  ["android"]="appwrite/[email protected]"
  ["react-native"]="appwrite/[email protected]"
  ["console"]="appwrite/[email protected]"
  ["node"]="appwrite/[email protected]"
  ["dart"]="appwrite/[email protected]"
)
for key in "${!repos[@]}"; do
  ref=${repos[$key]}
  echo -n "$ref -> "
  gh release view "$ref" --repo "${ref%%@*}" >/dev/null 2>&1 && echo "✔ exists" || echo "✖ missing"
done

Length of output: 2437


I noticed the previous GH CLI invocation incorrectly passed the full “owner/repo@tag” as the release identifier. Let’s retry with the correct usage, passing just the tag to gh release view:


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

# Parallel arrays of repos and their expected versions
repos=(
  appwrite/sdk-for-web
  appwrite/sdk-for-flutter
  appwrite/sdk-for-apple
  appwrite/sdk-for-android
  appwrite/sdk-for-react-native
  appwrite/sdk-for-console
  appwrite/sdk-for-node
  appwrite/sdk-for-dart
)
versions=(
  18.2.0
  17.1.0
  10.2.0
  8.2.0
  0.10.2
  1.9.0
  17.2.0
  16.2.0
)

for i in "${!repos[@]}"; do
  repo=${repos[$i]}
  version=${versions[$i]}
  echo -n "$repo@$version -> "
  gh release view "$version" --repo "$repo" >/dev/null 2>&1 && echo "✔ exists" || echo "✖ missing"
done

Length of output: 2199


Action Required: Publish Missing GitHub Releases for Bumped SDK Versions

A number of the newly bumped tags are not yet available on GitHub, which will break version badges and package installs. Please publish the following releases (or adjust the versions) before merging:

  • appwrite/sdk-for-flutter @ 17.1.0 (lines 60–63) – missing
  • appwrite/sdk-for-apple @ 10.2.0 (lines 80–81) – missing
  • appwrite/sdk-for-react-native @ 0.10.2 (lines 137–138) – missing
  • appwrite/sdk-for-node @ 17.2.0 (lines 254–255) – missing
  • appwrite/sdk-for-dart @ 16.2.0 (lines 380–381) – missing

Confirmed existing releases (no action needed):

  • appwrite/sdk-for-web @ 18.2.0 (lines 14–15) – ✔ exists
  • appwrite/sdk-for-android @ 8.2.0 (lines 115–116) – ✔ exists
  • appwrite/sdk-for-console @ 1.9.0 (lines 202–203) – ✔ exists
🤖 Prompt for AI Agents
In app/config/platforms.php around lines 14 to 15 and other specified lines,
several SDK versions have been bumped but the corresponding GitHub releases are
missing. To fix this, publish the missing GitHub releases for the following SDKs
and versions before merging: appwrite/sdk-for-flutter at 17.1.0 (lines 60–63),
appwrite/sdk-for-apple at 10.2.0 (lines 80–81), appwrite/sdk-for-react-native at
0.10.2 (lines 137–138), appwrite/sdk-for-node at 17.2.0 (lines 254–255), and
appwrite/sdk-for-dart at 16.2.0 (lines 380–381). Alternatively, adjust the
version numbers in the file to match existing published releases to avoid
breaking version badges and package installs.

@github-actions
Copy link

github-actions bot commented Jul 24, 2025

✨ Benchmark results

  • Requests per second: 935
  • Requests with 200 status code: 168,278
  • P99 latency: 0.194182064

⚡ Benchmark Comparison

Metric This PR Latest version
RPS 935 942
200 168,278 169,622
P99 0.194182064 0.204306937

@loks0n loks0n merged commit 5924434 into 1.7.x Jul 27, 2025
40 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Sep 11, 2025
2 tasks
@ChiragAgg5k ChiragAgg5k deleted the update-sdks-1.7.x branch September 15, 2025 04:59
@coderabbitai coderabbitai bot mentioned this pull request Sep 23, 2025
2 tasks
@coderabbitai coderabbitai bot mentioned this pull request Oct 29, 2025
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.

3 participants