Conversation
Walkthrough
Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (4)
README.md (1)
36-36: CDN snippet updated; consider pinning the file path explicitly.Minor: pointing to the concrete IIFE file avoids resolver ambiguity on some CDNs.
-<script src="https://cdn.jsdelivr.net/npm/appwrite@20.1.0"></script> +<script src="https://cdn.jsdelivr.net/npm/appwrite@20.1.0/dist/iife/sdk.js"></script>src/query.ts (3)
55-59: Clarify that equal() accepts single value or array.Type allows both; doc should say so to prevent confusion.
- * @param {QueryTypes} value + * @param {QueryTypes} value Single value or array of values.
65-69: Clarify that notEqual() accepts single value or array.Align docs with runtime behavior.
- * @param {QueryTypes} value + * @param {QueryTypes} value Single value or array of values.
198-205: New Query.orderRandom() — LGTM.Optional: add a short README snippet in “Sorting” showing orderRandom alongside orderAsc/Desc.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
README.md(1 hunks)package.json(1 hunks)src/client.ts(1 hunks)src/models.ts(1 hunks)src/query.ts(2 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
src/query.ts (2)
src/client.ts (2)
QueryTypes(805-805)Query(802-802)src/index.ts (2)
QueryTypes(20-20)Query(8-8)
🔇 Additional comments (3)
src/client.ts (1)
319-321: x-sdk-version header synced to 20.1.0 — LGTM.src/models.ts (1)
1028-1031: JSDoc corrected to “HTTP request headers” — LGTM.package.json (1)
5-5: Version bump confirmed — no remaining 20.0.0 references found.
Repo-wide search (excluding lock/build dirs) returned no matches.
This PR contains updates to the Web SDK for version 20.1.0.
Summary by CodeRabbit
New Features
Documentation
Chores