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
2 changes: 1 addition & 1 deletion app/config/platforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
[
'key' => 'cli',
'name' => 'Command Line',
'version' => '8.1.1',
'version' => '8.2.0',
'url' => 'https://github.com/appwrite/sdk-for-cli',
'package' => 'https://www.npmjs.com/package/appwrite-cli',
Comment on lines 218 to 222
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Version bump to 8.2.0 looks correct – please verify the release is live

No functional concerns with the array update.
Before merging, confirm that:

• GitHub repo appwrite/sdk-for-cli has a v8.2.0 tag / release.
• NPM package appwrite-cli lists 8.2.0 as the latest version.


🏁 Script executed:

#!/usr/bin/env bash
# Quick sanity-check that 8.2.0 is published to both GitHub and NPM
npm view appwrite-cli version
gh release list -R appwrite/sdk-for-cli | grep -E '\b8\.2\.0\b'

Length of output: 103


Release v8.2.0 not found on GitHub or NPM

The version bump to 8.2.0 in app/config/platforms.php references a release and package that aren’t yet published:

• GitHub repo appwrite/sdk-for-cli has no v8.2.0 tag/release.
• NPM package appwrite-cli latest version is still 8.1.1.

Please publish the v8.2.0 release (and wait for it to propagate) or revert this bump until the tag and package are live.

🤖 Prompt for AI Agents
In app/config/platforms.php around lines 218 to 222, the version is set to 8.2.0
for the CLI platform, but this release does not exist yet on GitHub or NPM. To
fix this, either publish the v8.2.0 release and wait for it to propagate before
updating the version here, or revert the version and package URL back to the
latest published version (8.1.1) until the new release is available.

'enabled' => true,
Expand Down
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions docs/sdks/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## 8.2.0

* Add `encrypt` attribute support
* Add improved warnings on attribute recreation and deletion
* Fix `null` parsing error when using create attribute command
* Type generation fixes and improvements:
* Add `--strict` / `-s` flag to `appwrite types` command to generate types in strict mode. This automatically converts the casing of attributes to match the language's naming conventions
* Add automatic package import to `dart` language which uses package detection to import the correct package
* Add `Document` class extension to generated types in `dart` and `js` language to support internal attributes like `$id` and `$collectionId` etc.
* Add proper enum support to `js` language
* Fix indentation in `java`, `kotlin` and `swift` to use 2 spaces instead of 4 for consistency across all languages
* Fix doc comments to use correct syntax in various languages (for eg. `///` instead of `/*`)
* Update enums in `dart` to use lowerCamelCase in `strict` mode as per [constant_identifier_names](https://dart.dev/tools/diagnostics/constant_identifier_names?utm_source=dartdev&utm_medium=redir&utm_id=diagcode&utm_content=constant_identifier_names)

## 8.1.1

* Fix circular dependency issue due to usage of `success` method in `utils.js` file from `parser.js` file
Expand Down