{
  "slug": "sentry-cli-javascript-api-releases-newdeploy-supports-multiple-projects-09ac4cb8bbac",
  "title": "sentry-cli JavaScript API releases.newDeploy() supports multiple projects",
  "tools": [
    "sentry-cli"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-12T13:44:41.000Z",
  "announced_at": "2026-01-12T13:44:41.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating a deployment release for multiple projects through the JavaScript API, pass `projects: [<project-slug>, ...]` in the options argument to `releases.newDeploy()`.",
    "examples": [
      "await cli.releases.newDeploy('<release-version>', { projects: ['<project-slug-1>', '<project-slug-2>'], env: '<environment>' });"
    ],
    "gotchas": [
      "Version: 3.1.0",
      "projects: Array of project slugs to deploy the release to; if omitted, the deployment is created for all projects associated with the release.",
      "release (required): First argument to `newDeploy`; release version string.",
      "env: Deployment environment; passed as `--env`."
    ]
  },
  "why_it_matters": "Create a deployment release for multiple Sentry projects through the JavaScript API.",
  "before": "Before this change, `newDeploy()` did not support a `projects` option; the API change added project flag forwarding for deployments.",
  "sources": [
    "https://github.com/getsentry/sentry-cli/releases/tag/3.1.0",
    "https://github.com/getsentry/sentry-cli/pull/3001"
  ],
  "rank": 0.95025,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "ghtools-20261008",
    "verdict_id": "ghtools-20261008:ghtools-20261008-80966b3f3da70690-0:gate",
    "evidence_hash": "7d4222a567375277d7ce3f5ee027a443bf64e0f0bf2d7d35971bc5ff664a3020"
  },
  "review": {
    "draft_hash": "fcd4c4552a9e4ef7326f62dacff133bd2029d9eb3259ef6b76e909e78fd31c07",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "ghtools-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
