Skip to content

feat: SDK update for version 22.1.1#326

Merged
ChiragAgg5k merged 1 commit into
masterfrom
dev
Jun 19, 2026
Merged

feat: SDK update for version 22.1.1#326
ChiragAgg5k merged 1 commit into
masterfrom
dev

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Jun 19, 2026

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 22.1.1.

What's Changed

  • Added: Support for logging into staging Cloud environments (stage.cloud.appwrite.io)
  • Updated: Compiled binaries now built with --minify instead of inline sourcemaps

@ChiragAgg5k ChiragAgg5k changed the title feat: Command Line SDK update for version 22.1.1 feat: SDK update for version 22.1.1 Jun 19, 2026
@greptile-apps

greptile-apps Bot commented Jun 19, 2026

Copy link
Copy Markdown

Greptile Summary

This PR bumps the CLI SDK version from 22.1.0 to 22.1.1 and adds support for logging into staging Cloud environments (stage.cloud.appwrite.io). All version references across install scripts, package files, and the Scoop manifest are updated consistently.

  • Adds isCloudEnvironmentHostname in lib/utils.ts and wires it into isCloudLoginEndpoint, correctly restricting the match to subdomains listed in CLOUD_LOGIN_ENVIRONMENTS (currently just \"stage\").
  • Switches all binary build scripts from --sourcemap=inline to --minify, reducing compiled binary size at the cost of source-level stack traces.

Confidence Score: 5/5

Straightforward version bump with a small, well-scoped feature addition; all version references are updated consistently across every install artifact.

The only non-mechanical change is the new isCloudEnvironmentHostname helper in lib/utils.ts. It correctly guards against arbitrary subdomains by checking the first label against an allowlist, and the existing isCloudHostname already excludes stage from the region set so there is no overlap. The --minify build flag swap is intentional and documented in the changelog.

No files require special attention; the logic in lib/utils.ts is simple and easy to verify.

Important Files Changed

Filename Overview
lib/utils.ts Adds isCloudEnvironmentHostname helper and wires it into isCloudLoginEndpoint to support staging Cloud login at stage.cloud.appwrite.io
package.json Version bumped to 22.1.1; all binary build scripts changed from --sourcemap=inline to --minify
lib/constants.ts SDK_VERSION updated from 22.1.0 to 22.1.1
install.sh GITHUB_LATEST_VERSION updated to 22.1.1
install.ps1 Download URLs updated to point at 22.1.1 release binaries
scoop/appwrite.config.json Version and download URLs updated to 22.1.1
CHANGELOG.md 22.1.1 changelog entry added noting staging environment login support and --minify build change
README.md Version references updated to 22.1.1 in two places

Reviews (1): Last reviewed commit: "chore: update Command Line SDK to 22.1.1" | Re-trigger Greptile

@ChiragAgg5k ChiragAgg5k merged commit d91c596 into master Jun 19, 2026
2 checks 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