)]}'
{
  "commit": "ba6d3342e7c2ed4789d0b41b370052e10ae88d11",
  "tree": "b4dc3638171338097bf723e47fa8700b45dbda0e",
  "parents": [
    "77128c98ca04e23f0a96d9f130726f9920e7f056"
  ],
  "author": {
    "name": "Simon Mavi Stewart",
    "email": "simon.m.stewart@gmail.com",
    "time": "Wed Jun 10 23:40:34 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jun 10 23:40:34 2026 +0100"
  },
  "message": "Make `amend_artifact` also match BOMs (#1586)\n\n`amend_artifact` previously searched only the `artifacts` list, so a BOM\n(declared via `install(boms \u003d ...)` or split out of a `from_toml`\n`libs.versions.toml` via `bom_modules`) could not be amended. The\namendment failed with \"No artifact found matching coordinates\" because\nBOMs are tracked in a separate list that the amendment never searched.\n\n`amend_artifact` now searches both the artifacts and boms lists, so a\nBOM\u0027s version and other properties can be adjusted through the same\nmechanism as a regular artifact (for example, force-pinning a BOM\nversion so transitive deps can\u0027t silently upgrade it).\n\nAdd unit tests covering amendment of artifacts, BOMs, and the\nno-match case.\n\nCo-authored-by: Claude Opus 4.7 \u003cnoreply@anthropic.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3ec66183b3318f5abf6c347d48f5b67383fa6e28",
      "old_mode": 33188,
      "old_path": "private/extensions/maven.bzl",
      "new_id": "6c23e52f7b401feae6cadef90e88705ccce0a8fc",
      "new_mode": 33188,
      "new_path": "private/extensions/maven.bzl"
    },
    {
      "type": "modify",
      "old_id": "4144fce895178dd8c3985f0f09408c84f2d0aa1c",
      "old_mode": 33188,
      "old_path": "tests/unit/BUILD",
      "new_id": "f3a6e1d6968646aabcfed32652381de41d75481a",
      "new_mode": 33188,
      "new_path": "tests/unit/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "88edc9cfa8449957170663208136879bdfda490a",
      "new_mode": 33188,
      "new_path": "tests/unit/amend_artifact_test.bzl"
    }
  ]
}
