Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ChiragAgg5k
Copy link
Member

@ChiragAgg5k ChiragAgg5k commented Oct 8, 2025

This PR contains updates to the Android SDK for version 11.1.0.

@coderabbitai
Copy link

coderabbitai bot commented Oct 8, 2025

Walkthrough

The SDK is updated to version 11.0.1, including a header bump and README dependency version updates. The Account service introduces createEmailVerification and updateEmailVerification, while deprecating createVerification and updateVerification; email and phone verification endpoints are migrated to new /account/verifications/* paths. New Java and Kotlin examples demonstrate creating and updating email verifications. Documentation is adjusted accordingly, including TablesDb comment updates to reference revised server/cloud paths. No runtime logic changes outside the new methods and endpoint path updates are indicated.

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Title Check ⚠️ Warning The pull request title indicates an Android SDK update to version 11.1.0, but all changes and objectives clearly target version 11.0.1, making the title misleading and not aligned with the main change. Please update the title to accurately reflect the SDK version being released (e.g., “feat: Android SDK update to version 11.0.1”) so it clearly summarizes the primary change.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ 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 dev

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.

Copy link

@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: 0

🧹 Nitpick comments (1)
CHANGELOG.md (1)

3-7: Complete the changelog entries.

The changelog mentions the deprecation of createVerification and addition of createEmailVerification, but it should also document:

  • Addition of updateEmailVerification method
  • Deprecation of updateVerification method

Apply this diff to complete the changelog:

 ## 11.0.1
 
 * Deprecate `createVerification` method in `Account` service
 * Add `createEmailVerification` method in `Account` service
+* Deprecate `updateVerification` method in `Account` service
+* Add `updateEmailVerification` method in `Account` service
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ecf2875 and fbb4b9e.

📒 Files selected for processing (9)
  • CHANGELOG.md (1 hunks)
  • README.md (2 hunks)
  • docs/examples/java/account/create-email-verification.md (1 hunks)
  • docs/examples/java/account/update-email-verification.md (1 hunks)
  • docs/examples/kotlin/account/create-email-verification.md (1 hunks)
  • docs/examples/kotlin/account/update-email-verification.md (1 hunks)
  • library/src/main/java/io/appwrite/Client.kt (1 hunks)
  • library/src/main/java/io/appwrite/services/Account.kt (4 hunks)
  • library/src/main/java/io/appwrite/services/TablesDb.kt (9 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
docs/examples/kotlin/account/create-email-verification.md

12-12: Bare URL used

(MD034, no-bare-urls)

🔇 Additional comments (11)
library/src/main/java/io/appwrite/Client.kt (1)

90-90: LGTM! Version bump aligns with the release.

The SDK version header is correctly updated to 11.0.1, matching the PR objectives.

library/src/main/java/io/appwrite/services/Account.kt (5)

2032-2055: LGTM! Clean implementation of the new email verification endpoint.

The new createEmailVerification method follows the established patterns in the Account service and correctly targets the new /account/verifications/email endpoint.


2067-2094: LGTM! Proper deprecation with backward compatibility.

The deprecated createVerification method correctly:

  • Includes a clear deprecation message pointing to the replacement method
  • Uses the updated endpoint path /account/verifications/email
  • Maintains backward compatibility by preserving the method signature

This ensures existing code continues to work while guiding developers to the new API.


2104-2129: LGTM! New method aligns with the updated API surface.

The updateEmailVerification method is well-implemented and targets the correct endpoint.


2139-2168: LGTM! Consistent deprecation pattern.

The updateVerification deprecation follows the same pattern as createVerification, providing a smooth migration path.


2178-2178: LGTM! Phone verification paths updated consistently.

The phone verification methods now use /account/verifications/phone, maintaining consistency with the email verification path structure.

Also applies to: 2211-2211

README.md (1)

41-41: LGTM! Dependency versions updated correctly.

Both Gradle and Maven dependency examples are updated to version 11.0.1, ensuring consistency across the documentation.

Also applies to: 52-52

docs/examples/java/account/update-email-verification.md (1)

1-23: LGTM! Clear and correct Java example.

The example demonstrates proper usage of the new updateEmailVerification method with appropriate error handling via CoroutineCallback.

docs/examples/kotlin/account/update-email-verification.md (1)

1-14: LGTM! Idiomatic Kotlin example.

The example correctly demonstrates the suspend function usage with named parameters, which is the idiomatic approach for Kotlin.

docs/examples/java/account/create-email-verification.md (1)

1-22: LGTM! Clear Java usage example.

The example properly demonstrates the new createEmailVerification method with appropriate async handling.

docs/examples/kotlin/account/create-email-verification.md (1)

1-13: LGTM! Correct Kotlin example.

The example correctly demonstrates the suspend function usage for createEmailVerification.

Note: The static analysis warning about the bare URL on line 12 is a false positive—it's a legitimate example showing the URL parameter value.

@ChiragAgg5k ChiragAgg5k changed the title feat: Android SDK update for version 11.0.1 feat: Android SDK update for version 11.1.0 Oct 8, 2025
@abnegate abnegate merged commit 19aed72 into main Oct 8, 2025
1 check 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.

3 participants