Skip to content

Conversation

ChiragAgg5k
Copy link
Member

@ChiragAgg5k ChiragAgg5k commented Oct 8, 2025

This PR contains updates to the Dart SDK for version 19.1.0.

Summary by CodeRabbit

  • New Features
    • Added email verification APIs to initiate and complete verification flows.
  • Deprecations
    • Deprecated legacy verification methods in favor of the new email-specific endpoints.
  • Documentation
    • Added Dart examples for creating and updating email verifications.
    • Updated various docs links and README version reference.
  • Tests
    • Added tests covering the new email verification flows.
  • Chores
    • Bumped SDK to version 19.1.0 and updated changelog and headers accordingly.

Copy link

coderabbitai bot commented Oct 8, 2025

Walkthrough

Version bumped to 19.1.0 in pubspec and client headers/SDK metadata. CHANGELOG updated for 19.1.0. Account service: added createEmailVerification (POST /account/verifications/email) and updateEmailVerification (PUT /account/verifications/email); deprecated createVerification and updateVerification; phone verification endpoints moved to /account/verifications/phone. README Dart dependency updated to ^19.1.0. New docs/examples for email verification added. Documentation links updated in functions, sites, and tables_db. Tests added for the new email verification methods.

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Title Check ⚠️ Warning The pull request title specifies an update to version 19.0.1 but the changes clearly bump the SDK to 19.1.0 and introduce new email verification methods, so it does not accurately summarize the main change. Please update the PR title to correctly reference version 19.1.0 (for example, “feat: Dart SDK update for version 19.1.0”) so it accurately matches the changeset.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
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 (2)
CHANGELOG.md (1)

5-7: Document all Account verification changes.

We added updateEmailVerification and shifted verification endpoints to the /account/verifications/* paths, yet the 19.0.1 notes only mention deprecating createVerification and adding createEmailVerification. Please call out the new updateEmailVerification method (and optionally the endpoint migration) so developers aren’t surprised by the API surface change.

 ## 19.0.1
 
 * Deprecate `createVerification` method in `Account` service
 * Add `createEmailVerification` method in `Account` service
+* Add `updateEmailVerification` method in `Account` service and migrate verification endpoints to `/account/verifications/*`
lib/services/account.dart (1)

1238-1263: Update doc link to match the new API name
The doc string for createEmailVerification still links to #updateVerification, which now refers to a deprecated API. Pointing it to #updateEmailVerification will keep the docs consistent and avoid confusing consumers.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 79e7367 and ae76227.

📒 Files selected for processing (12)
  • CHANGELOG.md (1 hunks)
  • README.md (1 hunks)
  • docs/examples/account/create-email-verification.md (1 hunks)
  • docs/examples/account/update-email-verification.md (1 hunks)
  • lib/services/account.dart (4 hunks)
  • lib/services/functions.dart (1 hunks)
  • lib/services/sites.dart (1 hunks)
  • lib/services/tables_db.dart (5 hunks)
  • lib/src/client_browser.dart (1 hunks)
  • lib/src/client_io.dart (1 hunks)
  • pubspec.yaml (1 hunks)
  • test/services/account_test.dart (2 hunks)

@ChiragAgg5k ChiragAgg5k changed the title feat: Dart SDK update for version 19.0.1 feat: Dart SDK update for version 19.1.0 Oct 8, 2025
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: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ae76227 and f1e4ae2.

📒 Files selected for processing (5)
  • CHANGELOG.md (1 hunks)
  • README.md (1 hunks)
  • lib/src/client_browser.dart (1 hunks)
  • lib/src/client_io.dart (1 hunks)
  • pubspec.yaml (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • pubspec.yaml
🚧 Files skipped from review as they are similar to previous changes (2)
  • lib/src/client_browser.dart
  • README.md
🔇 Additional comments (1)
lib/src/client_io.dart (1)

39-41: LGTM! Version metadata correctly updated.

The SDK version and user-agent headers have been correctly updated to 19.1.0, consistent with the PR objectives.

Comment on lines +5 to +7
* Deprecate `createVerification` method in `Account` service
* Add `createEmailVerification` method in `Account` service

Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Document the updateEmailVerification addition
The 19.1.0 entry mentions only the new createEmailVerification method, but the PR also adds updateEmailVerification. Please document that addition (and any related endpoint shifts) here so the changelog accurately reflects the release contents.

🤖 Prompt for AI Agents
In CHANGELOG.md around lines 5 to 7, the 19.1.0 changelog only lists the new
createEmailVerification method but omits the added updateEmailVerification and
any endpoint changes; update the 19.1.0 entry to include a line documenting the
added updateEmailVerification method and note any related endpoint shifts (e.g.,
renamed or moved endpoints) so the changelog accurately reflects both
createEmailVerification and updateEmailVerification additions and their endpoint
implications.

@abnegate abnegate merged commit a450e75 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.

2 participants