Skip to content

feat: SDK update for version 22.6.1#338

Merged
ChiragAgg5k merged 2 commits into
masterfrom
dev
Jul 10, 2026
Merged

feat: SDK update for version 22.6.1#338
ChiragAgg5k merged 2 commits into
masterfrom
dev

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Jul 10, 2026

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 22.6.1, generated with sdk-generator 2.4.8.

What's Changed

  • Fixed: snake_case parameters now map to proper kebab-case flags: oauth2 commands use --client-id, --redirect-uri, --response-type, --request-uri, --code-challenge, --max-age instead of the malformed --client-_id style names

Note: this renames the OAuth2 command flags shipped in 22.5.0/22.6.0 (via appwrite/sdk-generator#1658). The @appwrite.io/console@15.3.0 pin now comes from the generator template directly (appwrite/sdk-generator#1653).

@ChiragAgg5k ChiragAgg5k changed the title feat: Command Line SDK update for version 22.7.0 feat: SDK update for version 22.7.0 Jul 10, 2026
@greptile-apps

greptile-apps Bot commented Jul 10, 2026

Copy link
Copy Markdown

Greptile Summary

This PR releases version 22.6.1, fixing a codegen bug where snake_case API parameter names were incorrectly transformed into malformed CLI flags (e.g., --client-_id) instead of proper kebab-case (e.g., --client-id) across all OAuth2 subcommands. All version references in install scripts, lock files, the Scoop config, and documentation are bumped consistently.

  • lib/commands/services/oauth-2.ts: All eight OAuth2 subcommands have their option flags corrected, with matching updates to the camelCase destructuring in every action handler.
  • Version bump: 22.6.022.6.1 applied uniformly across all relevant files.
  • Dependency updates: prettier updated from 3.9.4 to 3.9.5 in both lock files.

Confidence Score: 5/5

Safe to merge — the OAuth2 flag rename is a straightforward and correctly applied bug fix with no regressions on the unchanged commands.

All flag renames in oauth-2.ts are consistent: each option declaration uses clean kebab-case, and every action handler destructures the matching camelCase variable that Commander.js derives from it. The version bump is applied uniformly across all relevant files.

No files require special attention.

Important Files Changed

Filename Overview
lib/commands/services/oauth-2.ts Core bug fix: replaces malformed --client-_id style flags with proper --client-id kebab-case across all 8 OAuth2 subcommands
lib/constants.ts Version bump from 22.6.0 to 22.6.1
package.json Version bumped to 22.6.1; devDependencies reordered
scoop/appwrite.config.json Version and download URLs bumped to 22.6.1
install.sh GITHUB_LATEST_VERSION updated from 22.6.0 to 22.6.1
install.ps1 Download URLs updated from 22.6.0 to 22.6.1
CHANGELOG.md Added 22.6.1 entry documenting the CLI flag fix
package-lock.json Version bumped; prettier updated 3.9.4 to 3.9.5; overrides block added
bun.lock prettier bumped 3.9.4 to 3.9.5; added transitive dependency entries
README.md Version references updated from 22.6.0 to 22.6.1

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

@ChiragAgg5k ChiragAgg5k changed the title feat: SDK update for version 22.7.0 feat: Command Line SDK update for version 22.6.1 Jul 10, 2026
@ChiragAgg5k ChiragAgg5k changed the title feat: Command Line SDK update for version 22.6.1 feat: SDK update for version 22.6.1 Jul 10, 2026
@ChiragAgg5k ChiragAgg5k merged commit 97fb8ec into master Jul 10, 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