Driftwatch

GitHub / GitHub REST API /

Breakingdirection flip: their tools call this safe

budget_entity_name is no longer accepted

What changed

Usually ignored rather than rejected, so the call succeeds and does something subtly different.

Affects budget_entity_name on PATCH /organizations/{org}/settings/billing/budgets/{budget_id}. Grep for it: nothing else will tell you.

Who is affected

Code that sends PATCH /organizations/{org}/settings/billing/budgets/{budget_id} (budget_entity_name).

Before and after

WhereBeforeAfter
PATCH /organizations/{org}/settings/billing/budgets/{budget_id} · budget_entity_namepresentabsent
PATCH /organizations/{org}/settings/billing/budgets/{budget_id} · userpresentabsent
PATCH /organizations/{org}/settings/billing/budgets/{budget_id} · budget_product_skupresentabsent
PATCH /organizations/{org}/settings/billing/budgets/{budget_id} · budget_scopepresentabsent
PATCH /organizations/{org}/settings/billing/budgets/{budget_id} · budget_typepresentabsent

Code that breaks

await client.post("/organizations/{org}/settings/billing/budgets/{budget_id}", {
  // budget_entity_name is now ignored, not rejected
  budget_entity_name: value,
});

Based on GitHub’s published API specification. How severity is decided.