Repository navigation
chore(console): pin @appwrite.io/console 19.1.0-rc.1 - #14449
Conversation
19.1.0-rc.1 is the first release that ships spec.json, which the preview SDK flow builds on, and it keeps the Videos service rc.2 had. Adopt the Cloud API changes since rc.2: WAF rules are a union of per-action models with string[] conditions, OAuth2 resource is a list, passkey registration no longer takes a challenge ID, the passkey policy only sets rpId, and billing plans carry an environments limit.
|
Review complete. No issues found. This PR upgrades the console SDK from 18.4.0 to 19.1.0 and adapts all affected call sites. No blocking issues were found; all scanner candidates were refuted against the actual SDK and server-side source.
Note: two secondary scan lanes (api-data group 1, one OAuth domain pass) failed to publish output; their coverage is duplicated by other lanes and the OAuth agent inline report confirmed no defects. Reviewed commit: a79a60e |
Prettier rewrapped an unrelated sessionStorage write, which CodeQL then reported as a new clear-text storage alert.
🟢 Tier S · Ready to merge
Pins the Console SDK to 19.1.0-rc.1 and updates WAF, OAuth2, passkey, and self-hosted billing integrations for its revised API types. Firewall components now share the action-specific rule union, and OAuth resource and passkey requests follow the new signatures.
📂 Walkthrough · 9
Reviewed |
What
Pins
@appwrite.io/consoleto 19.1.0-rc.1 (npmnext) and adopts the Cloud API changes since 18.4.0-rc.2.19.1.0-rc.1 is 19.0.0 plus the Videos service. It's the first release the Console can pin that ships
spec.json, which the preview SDK flow in #14441 uses as its base. 19.0.0 alone drops Videos, which adds 126 type errors.API changes adopted
Models.WafRuleis now a union of per-action models (WafRuleBypass,WafRuleDeny,WafRuleChallenge,WafRuleRateLimit,WafRuleRedirect).FirewallRuleinlib/firewall/types.tsnames that union.conditionsisstring[], so theas unknown as stringcast is gone.resourceonauthorize,createPARandcreateTokenisstring[], so the consent route's cast is gone and the assistant's MCP OAuth wraps its single resource in a list.updatePasskeyVerificationno longer takeschallengeId; this server's endpoint only readspasskeyIdandcredential. Sign-in (updatePasskeyToken) still sends it.updatePasskeyPolicyonly takesrpId, and both callers only sentrpId.environments: 0.Not in this PR
The
snippetIderrors in analytics (14) are fixed by #14408, which is approved and green.Verification
tsc --noEmit: no new errors compared with main, apart from the 14snippetIdones covered by fix(console): drop snippetId from the analytics property UI #14408.bun run buildpasses.eslintandprettierrun on the changed files. The extra hunks inRules.tsx,mcp-oauth.tsandwaf.tsare Prettier output; those files weren't formatted on main.Related: #14443