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
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
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 22.1.1.
What's Changed
stage.cloud.appwrite.io)--minifyinstead of inline sourcemaps