Skip to content

chore(deps): bump @sentry/api to 0.253.0 and adopt token operationIds#1194

Draft
betegon wants to merge 1 commit into
mainfrom
chore/bump-sentry-api-tokens
Draft

chore(deps): bump @sentry/api to 0.253.0 and adopt token operationIds#1194
betegon wants to merge 1 commit into
mainfrom
chore/bump-sentry-api-tokens

Conversation

@betegon

@betegon betegon commented Jul 3, 2026

Copy link
Copy Markdown
Member

What

Bumps @sentry/api ^0.180.0^0.253.0 and migrates every SDK call site from the old normalizer-derived names to the clean token operationIds produced by the operationId migration.

Examples of the rename (34 symbols across 12 files):

  • retrieveAnOrganizationgetOrganization
  • listAnOrganization_sIssueslistOrganizationIssues
  • queryExploreEventsInTableFormatlistOrganizationEvents
  • retrieveAnOrganization_sReleasegetOrganizationRelease
  • createANewProjectcreateTeamProject, listAProject_sClientKeyslistProjectKeys, etc.

Aliasing for name collisions

A few new tokens (getOrganization, getProject, deleteProject, listProjectEnvironments, listProjectTeams) collide with the CLI's own wrapper functions of the same name — the old verbose names never did. Those SDK imports are aliased (getOrganization as sdkGetOrganization, …), following the sdk* aliasing convention already used elsewhere in the codebase.

Notes

  • No behavior change — pure rename + version bump. The response/param shapes the CLI uses are unchanged across 0.180→0.253 (the earlier 0.180 bump already handled downstream type/shape adaptations).
  • generate:sdk is unaffected (it generates the CLI's own command SDK, not from @sentry/api).

Test plan

  • tsc --noEmit: clean
  • unit tests: API-lib (223), types + commands (2250) — all green

Bumps @sentry/api ^0.180.0 -> ^0.253.0 and migrates every SDK call site from
the old normalizer-derived names (retrieveAnOrganization, listAnOrganization_sIssues,
queryExploreEventsInTableFormat, ...) to the clean token names produced by the
operationId migration (getOrganization, listOrganizationIssues, listOrganizationEvents, ...).

A few new tokens collide with the CLI's own wrapper functions of the same name, so
those SDK imports are aliased (e.g. getOrganization as sdkGetOrganization), following
the existing sdk* aliasing convention already used in the codebase.

No behavior change. tsc clean; API-lib, command, and type tests green.
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cli.sentry.dev/_preview/pr-1194/

Built to branch gh-pages at 2026-07-03 15:17 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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.

1 participant