Skip to content

chore: ce bump#3074

Merged
HarshMN2345 merged 3 commits into
mainfrom
chore-sdk-changes-and-ce-bump
Jun 1, 2026
Merged

chore: ce bump#3074
HarshMN2345 merged 3 commits into
mainfrom
chore-sdk-changes-and-ce-bump

Conversation

@HarshMN2345
Copy link
Copy Markdown
Member

What does this PR do?

(Provide a description of what this PR does.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Jun 1, 2026

Greptile Summary

This PR bumps the @appwrite.io/console internal package from commit 35c3dea to 9786d91 and adapts the codebase to the updated API surface in the new version.

  • Type rename: Scopes is replaced by ProjectKeyScopes across all functions-related Svelte files, including settings modals, create-function flows, and domain pages; the redundant FunctionScopes alias in updateScopes.svelte is also removed.
  • Enum rename: StatusCode members lose their numeric suffixes (e.g. TemporaryRedirect307TemporaryRedirect), updated in domains.ts and both add-domain pages.

Confidence Score: 5/5

Safe to merge — all changes are mechanical renames tracking a private package API update with no logic modifications.

Every changed file performs a straightforward find-and-replace: type import renamed, enum member renamed. No branching logic, runtime behavior, or data flow is altered. The lockfile's missing integrity hash was flagged in a prior review cycle and is an inherent property of commit-hash-pinned packages on pkg.vc.

No files require special attention.

Important Files Changed

Filename Overview
package.json Bumps @appwrite.io/console dependency from commit hash 35c3dea to 9786d91
bun.lock Lockfile updated to reflect new package hash; new entry lacks sha512 integrity checksum (previously noted)
src/lib/stores/domains.ts StatusCode enum values adapted to new API: suffix-less names (e.g. TemporaryRedirect307 → TemporaryRedirect)
src/routes/(console)/project-[region]-[project]/functions/function-[function]/settings/updateScopes.svelte Removes redundant FunctionScopes alias and double-cast; cleans up to plain functionScopes assignment
src/routes/(console)/project-[region]-[project]/functions/function-[function]/domains/add-domain/+page.svelte Updates Scopes → ProjectKeyScopes import and StatusCode.TemporaryRedirect307 → StatusCode.TemporaryRedirect default
src/routes/(console)/project-[region]-[project]/sites/site-[site]/domains/add-domain/+page.svelte Updates StatusCode.TemporaryRedirect307 default to StatusCode.TemporaryRedirect to match new enum naming
src/routes/(console)/project-[region]-[project]/functions/create-function/deploy/+page.svelte Renames Scopes type import to ProjectKeyScopes and updates selectedScopes state typing accordingly
src/routes/(console)/project-[region]-[project]/functions/create-function/template-[template]/permissions.svelte Renames Scopes → ProjectKeyScopes across props and cast sites; logic unchanged

Reviews (2): Last reviewed commit: "unnecesary alias" | Re-trigger Greptile

@HarshMN2345 HarshMN2345 merged commit f29b4ba into main Jun 1, 2026
4 checks passed
@HarshMN2345 HarshMN2345 deleted the chore-sdk-changes-and-ce-bump branch June 1, 2026 07:24
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