Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 10.0.0

* **Breaking:** Removed Avatars CLI command and all related subcommands; corresponding examples deleted
* **Feat:** Geo defaults now accept coordinate arrays for Databases and Tables DB, with automatic normalization
* **Feat:** Pull command skips deprecated resources by default and shows clearer totals/messages
* **Feat:** Updated CLI descriptions: Databases marked legacy; added tables-db, projects, and project
* Fix TypeScript type generation now quotes invalid property names to produce valid typings
* Update documentation: Removed Avatars CLI examples and updated help text to reflect new geo defaults and terminology

Comment on lines +3 to +11
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

🧩 Analysis chain

Polish 10.0.0 entry: add date and fix label consistency.

Align “Fix” line with other bolded labels and include release date for traceability.

-## 10.0.0
+## 10.0.0 — 2025-09-18
@@
-* Fix TypeScript type generation now quotes invalid property names to produce valid typings
+* **Fix:** TypeScript type generation now quotes invalid property names to produce valid typings

🏁 Script executed:

#!/bin/bash
# Ensure avatars CLI removal is fully reflected across code/help
rg -nP '\bavatars?\b' -g '!**/CHANGELOG.md'

Length of output: 148


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== CHANGELOG.md head (first 120 lines) ==="
if [[ -f CHANGELOG.md ]]; then
  sed -n '1,120p' CHANGELOG.md || true
else
  echo "CHANGELOG.md not found"
fi

echo
echo "=== Search for 'avatar' or 'avatars' (case-insensitive) across repo ==="
rg -n --hidden -uu -S -i '\bavatar(s)?\b' || echo "no matches"

echo
echo "=== Confirm '## 10.0.0' header exists in CHANGELOG.md ==="
if [[ -f CHANGELOG.md ]]; then
  rg -n --hidden -uu -S '##\s*10\.0\.0' CHANGELOG.md || echo "10.0.0 header not found"
fi

Length of output: 6972


Polish 10.0.0: add release date, bold the Fix label, and resolve Avatars removal mismatch.

  • Add release date and align label (apply diff below).
-## 10.0.0
+## 10.0.0 — 2025-09-18
@@
-* Fix TypeScript type generation now quotes invalid property names to produce valid typings
+* **Fix:** TypeScript type generation now quotes invalid property names to produce valid typings
  • Changelog claims "Removed Avatars CLI" but code still references avatars — remove or confirm and update CHANGELOG: lib/parser.js:207, lib/config.js:602.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## 10.0.0
* **Breaking:** Removed Avatars CLI command and all related subcommands; corresponding examples deleted
* **Feat:** Geo defaults now accept coordinate arrays for Databases and Tables DB, with automatic normalization
* **Feat:** Pull command skips deprecated resources by default and shows clearer totals/messages
* **Feat:** Updated CLI descriptions: Databases marked legacy; added tables-db, projects, and project
* Fix TypeScript type generation now quotes invalid property names to produce valid typings
* Update documentation: Removed Avatars CLI examples and updated help text to reflect new geo defaults and terminology
## 10.0.0 — 2025-09-18
* **Breaking:** Removed Avatars CLI command and all related subcommands; corresponding examples deleted
* **Feat:** Geo defaults now accept coordinate arrays for Databases and Tables DB, with automatic normalization
* **Feat:** Pull command skips deprecated resources by default and shows clearer totals/messages
* **Feat:** Updated CLI descriptions: Databases marked legacy; added tables-db, projects, and project
* **Fix:** TypeScript type generation now quotes invalid property names to produce valid typings
* Update documentation: Removed Avatars CLI examples and updated help text to reflect new geo defaults and terminology
🤖 Prompt for AI Agents
In CHANGELOG.md around lines 3 to 11, add the 10.0.0 release date after the
heading and change the "Fix" label to bold "**Fix:**"; also resolve the Avatars
removal mismatch by either removing or confirming avatar references in the code:
inspect lib/parser.js at line ~207 and lib/config.js at line ~602 and if avatars
were removed, delete or refactor those references so the changelog claim is
accurate, otherwise update the CHANGELOG entry to reflect that avatars remain
and explain the actual change.

## 8.3.0

* **Feat:** Add support for `appwrite.config.json` file
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using

```sh
$ appwrite -v
9.1.0
10.0.0
```

### Install using prebuilt binaries
Expand Down Expand Up @@ -60,7 +60,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
Once the installation completes, you can verify your install using
```
$ appwrite -v
9.1.0
10.0.0
```

## Getting Started
Expand Down
2 changes: 0 additions & 2 deletions docs/examples/avatars/get-browser.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/examples/avatars/get-credit-card.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/examples/avatars/get-favicon.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/examples/avatars/get-flag.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/examples/avatars/get-image.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/examples/avatars/get-initials.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/examples/avatars/get-qr.md

This file was deleted.

2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const { run } = require("./lib/commands/run");
const { push, deploy } = require("./lib/commands/push");
const { update } = require("./lib/commands/update");
const { account } = require("./lib/commands/account");
const { avatars } = require("./lib/commands/avatars");
const { console } = require("./lib/commands/console");
const { databases } = require("./lib/commands/databases");
const { functions } = require("./lib/commands/functions");
Expand Down Expand Up @@ -124,7 +123,6 @@ program
.addCommand(update)
.addCommand(logout)
.addCommand(account)
.addCommand(avatars)
.addCommand(console)
.addCommand(databases)
.addCommand(functions)
Expand Down
4 changes: 2 additions & 2 deletions install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# You can use "View source" of this page to see the full script.

# REPO
$GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/9.1.0/appwrite-cli-win-x64.exe"
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/9.1.0/appwrite-cli-win-arm64.exe"
$GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/10.0.0/appwrite-cli-win-x64.exe"
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/10.0.0/appwrite-cli-win-arm64.exe"

$APPWRITE_BINARY_NAME = "appwrite.exe"

Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ printSuccess() {
downloadBinary() {
echo "[2/4] Downloading executable for $OS ($ARCH) ..."

GITHUB_LATEST_VERSION="9.1.0"
GITHUB_LATEST_VERSION="10.0.0"
GITHUB_FILE="appwrite-cli-${OS}-${ARCH}"
GITHUB_URL="https://github.com/$GITHUB_REPOSITORY_NAME/releases/download/$GITHUB_LATEST_VERSION/$GITHUB_FILE"

Expand Down
4 changes: 2 additions & 2 deletions lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class Client {
'x-sdk-name': 'Command Line',
'x-sdk-platform': 'console',
'x-sdk-language': 'cli',
'x-sdk-version': '9.1.0',
'user-agent' : `AppwriteCLI/9.1.0 (${os.type()} ${os.version()}; ${os.arch()})`,
'x-sdk-version': '10.0.0',
'user-agent' : `AppwriteCLI/10.0.0 (${os.type()} ${os.version()}; ${os.arch()})`,
'X-Appwrite-Response-Format' : '1.8.0',
};
}
Expand Down
Loading