Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.265 ·

PR/MR-creation detection extended to GitLab CLI and raw GitHub API calls

Claude Code now recognizes PR/MR creation via GitLab CLI and raw GitHub API calls, not just gh pr create

Under the hood Improvements
JSON All of v2.1.265
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
TelemetryArea: what it touches
ImprovementsKind: in v2.1.265,
ImprovementsSection of the release
What

Claude Code detects when you create a pull request or merge request so it can track this activity. That detection now covers more cases:

  • Composite shell commands that combine gh pr create or glab mr create with allowed extra calls (like gh/glab auth, config commands, or api /user) are recognized, via a new helper replacing the previous simpler check.
  • Creating a pull request through a raw gh api call that POSTs to /repos/OWNER/REPO/pulls is now also recognized as PR creation, through a separate new helper.

Both paths feed the same telemetry event and pull-request contribution tracking as before.

Why

Previously, using GitLab's CLI or hitting the GitHub API directly instead of the standard gh pr create command could mean Claude Code failed to notice you'd created a pull or merge request. This closes that gap so tracking stays accurate regardless of which tool or command shape you use.

See this entry in the whole of v2.1.265 →

Feedback