What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects base_role on organization-role reachable from 2 operations.
New value: moderate.
can now return "moderate"
Who is affected
Code that reads GitHub's organization-role objects, used by 2 GitHub operations.
Before and after
| Where | Before | After |
|---|---|---|
| organization-role.base_role | "admin", "maintain", "read", "triage", "write" | "admin", "maintain", "moderate", "read", "triage", "write" |
Code that breaks
switch (response.base_role) {
// existing branches …
// no branch for "moderate"
default:
throw new Error("unexpected base_role");
}Based on GitHub’s published API specification. How severity is decided.