You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Issue 1
docs/examples/documentsdb/delete-documents.md:2-5
Copying this example against a populated collection sends a delete request with a limit but no filter. The command deletes matching documents when no filter is supplied, so this example can delete documents the user did not intend to target. Show a filter or explicitly explain the destructive effect. The vectorsdb example has the same problem.
### Issue 2
docs/examples/documentsdb/create-documents.md:5
The command parses each `--documents` value as JSON, but `one two three` is not valid JSON. Copying this example fails before a request is sent. Use valid JSON objects so the example shows how to create documents; the vectorsdb create example and both upsert examples have the same problem.
### Issue 3
docs/examples/documentsdb/create-operations.md:2-3
This example supplies no `--operations`, so it does not demonstrate staging any operations. The new `update-transaction` example likewise supplies neither `--commit` nor `--rollback`. Include the action flags so users can follow the examples to complete a transaction; the vectorsdb examples have the same omissions.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Summary
The PR updates the CLI for SDK 28.0.0, adds DocumentsDB, VectorsDB and Domains commands, expands account and provider options, and changes watcher and console-link behavior.
Newly added examples need correction: one demonstrates a destructive unfiltered delete, while several others omit actionable inputs or supply invalid JSON.
The new devDependencies detection behavior lacks a focused test.
These findings sit on lines the diff does not cover, so they could not be posted inline. Each one leaves this list once its file changes.
Dev dependency behavior untestedinternal/typegen/language.go:283▶
This new path can change the SDK package selected for generated TypeScript imports and server-side methods, but the existing dependency-detection test covers only dependencies. Add a behavior test with an SDK package declared solely in devDependencies and check the selected package, so a regression in this release fix is caught.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains updates to the SDK for version 28.0.0.
What's Changed
account list-logsandusers list-logsorganization create-key,get-key,list-keys,update-keyanddelete-keydocumentsdb,vectorsdbanddomainscommandsorganizationproject key commands:create-ephemeral-project-key,get-project-key,list-project-keys,update-project-key,delete-project-keyaccount create-id-token-sessionand email verification and recovery OTP commandsmessaging create-appwrite-providerandmessaging update-appwrite-providerproject update-o-auth-2-kakao,update-o-auth-2-tik-tokandupdate-password-pwned-policy--reply-to-emailand--reply-to-nameon email messages,--qosand--expiryon topics--native-client-idsand--native-enabledon the Apple and Google OAuth2 providerstablesdb get-columnanddatabases get-attributedecode varchar, text, bigint and spatial columnsrunno longer reloads when a file is saved unchanged, and still reloads while files keep changingpush functionsgives self-hosted functions a default domain under the Functions domain, not Sitestypesfinds the TypeScript SDK indevDependenciesrunwarnings call the key an ephemeral API key