GraphQL API Schema Changes
The GraphQL schema change log is a list of recent and upcoming changes to our GraphQL API schema. It includes backwards-compatible changes, schema previews, and upcoming breaking changes.
Breaking changes include changes that will break existing queries or could affect the runtime behavior of clients. For a list of breaking changes and when they will occur, see our breaking changes log.
GraphQL Schema Changes for 2020-04-20
The GraphQL schema includes these changes:
- Enum value
USER_ACCOUNT_DELETEDwas added to enumOrgRemoveMemberAuditEntryReason
GraphQL Schema Changes for 2020-04-15
The GraphQL schema includes these changes:
- Enum value
CONVERT_TO_DRAFT_EVENTwas added to enumPullRequestTimelineItemsItemType - Union member
ConvertToDraftEventwas added to Union typePullRequestTimelineItems - Field
DeploymentStatus.creatorchanged type fromActortoActor! - Field
isOverLimitwas added to object typeStarredRepositoryConnection - Field
Deployment.creatorchanged type fromActortoActor! - Field
onBehalfOfwas added to object typeCommit - Type
ConvertToDraftEventwas added
GraphQL Schema Changes for 2020-03-23
The GraphQL schema includes these changes:
- Type
IssueOrPullRequestEdgewas removed - Default value for argument
affiliationson fieldRepositoryOwner.repositorieschanged from["OWNER", "COLLABORATOR"]to__no_default__ - Default value for argument
affiliationson fieldRepositoryOwner.pinnedRepositorieschanged from["OWNER", "COLLABORATOR"]to__no_default__ - Default value for argument
affiliationson fieldOrganization.repositorieschanged from["OWNER", "COLLABORATOR"]to `` - Default value for argument
affiliationson fieldOrganization.pinnedRepositorieschanged from["OWNER", "COLLABORATOR"]to `` - Default value for argument
affiliationson fieldUser.watchingchanged from["OWNER", "COLLABORATOR", "ORGANIZATION_MEMBER"]to `` - Default value for argument
affiliationson fieldUser.repositorieschanged from["OWNER", "COLLABORATOR"]to `` - Default value for argument
affiliationson fieldUser.pinnedRepositorieschanged from["OWNER", "COLLABORATOR"]to `` - Default value for argument
affiliationson fieldRepository.forkschanged from["OWNER", "COLLABORATOR"]to `` - Field
submodulewas added to object typeTreeEntry - Field
reviewDecisionwas added to object typeReviewStatusHovercardContext - Field
permalinkwas added to object typeSecurityAdvisory - Field
updateIpAllowListEntrywas added to object typeMutation - Field
updateIpAllowListEnabledSettingwas added to object typeMutation - Field
setEnterpriseIdentityProviderwas added to object typeMutation - Field
removeEnterpriseIdentityProviderwas added to object typeMutation - Field
deleteIpAllowListEntrywas added to object typeMutation - Field
createIpAllowListEntrywas added to object typeMutation - Field
ipAllowListEntrieswas added to object typeEnterpriseOwnerInfo - Field
ipAllowListEnabledSettingwas added to object typeEnterpriseOwnerInfo - Field
submoduleswas added to object typeRepository - Field
reviewDecisionwas added to object typePullRequest - Field
submoduleswas added to object typeCommit - Field
slugwas added to object typeEnterprise - Type
SubmoduleEdgewas added - Type
PullRequestReviewDecisionwas added - Type
UpdateIpAllowListEntryInputwas added - Type
UpdateIpAllowListEntryPayloadwas added - Type
UpdateIpAllowListEnabledSettingInputwas added - Type
UpdateIpAllowListEnabledSettingPayloadwas added - Type
SetEnterpriseIdentityProviderInputwas added - Type
SetEnterpriseIdentityProviderPayloadwas added - Type
RemoveEnterpriseIdentityProviderInputwas added - Type
RemoveEnterpriseIdentityProviderPayloadwas added - Type
IpAllowListEntryOrderFieldwas added - Type
IpAllowListEntryEdgewas added - Type
IpAllowListOwnerwas added - Type
IpAllowListEntryOrderwas added - Type
IpAllowListEntryConnectionwas added - Type
IpAllowListEnabledSettingValuewas added - Type
DeleteIpAllowListEntryPayloadwas added - Type
DeleteIpAllowListEntryInputwas added - Type
CreateIpAllowListEntryPayloadwas added - Type
IpAllowListEntrywas added - Type
CreateIpAllowListEntryInputwas added - Type
Submodulewas added - Type
SubmoduleConnectionwas added
GraphQL Schema Changes for 2020-03-10
The GraphQL schema includes these changes:
- Type
MentionableItemEdgewas removed - Type
MentionableItemwas removed - Field
statusCheckRollupwas added to object typeCommit - Type
StatusCheckRollupContextwas added - Type
StatusCheckRollupContextEdgewas added - Type
StatusCheckRollupContextConnectionwas added - Type
StatusCheckRollupwas added
GraphQL Schema Changes for 2020-03-05
The GraphQL schema includes these changes:
- Field
actorwas added to object typeRequestReviewsPayload - Type
MentionableItemEdgewas added - Type
MentionableItemwas added
GraphQL Schema Changes for 2020-02-19
The GraphQL schema includes these changes:
- Type
PackageTypewas added
The GitHub Packages preview includes these changes:
- Field
packageTypewas added to object typePackage
GraphQL Schema Changes for 2020-02-12
The GraphQL schema includes these changes:
- Field
deleteDeploymentwas added to object typeMutation - Type
DeleteDeploymentInputwas added - Type
DeleteDeploymentPayloadwas added
GraphQL Schema Changes for 2020-02-05
The GraphQL schema includes these changes:
- Type
EnterpriseOrderFieldwas removed - Type
CollectionItemContentwas removed - Enum value
UNMARKED_AS_DUPLICATE_EVENTwas added to enumPullRequestTimelineItemsItemType - Enum value
DISCONNECTED_EVENTwas added to enumPullRequestTimelineItemsItemType - Enum value
CONNECTED_EVENTwas added to enumPullRequestTimelineItemsItemType - Union member
UnmarkedAsDuplicateEventwas added to Union typePullRequestTimelineItems - Union member
DisconnectedEventwas added to Union typePullRequestTimelineItems - Union member
ConnectedEventwas added to Union typePullRequestTimelineItems - Enum value
UNMARKED_AS_DUPLICATE_EVENTwas added to enumIssueTimelineItemsItemType - Enum value
DISCONNECTED_EVENTwas added to enumIssueTimelineItemsItemType - Enum value
CONNECTED_EVENTwas added to enumIssueTimelineItemsItemType - Union member
UnmarkedAsDuplicateEventwas added to Union typeIssueTimelineItems - Union member
DisconnectedEventwas added to Union typeIssueTimelineItems - Union member
ConnectedEventwas added to Union typeIssueTimelineItems - Input field
SubmitPullRequestReviewInput.pullRequestReviewIdchanged type fromID!toID - Input field
pullRequestIdwas added to input object typeSubmitPullRequestReviewInput - Input field
AddPullRequestReviewCommentInput.pullRequestReviewIdchanged type fromID!toID - Input field
pullRequestIdwas added to input object typeAddPullRequestReviewCommentInput - Field
originalEnvironmentwas added to object typeDeployment - Field
latestEnvironmentwas added to object typeDeployment - Field
checksUrlwas added to object typePullRequest - Field
checksResourcePathwas added to object typePullRequest - Type
UnmarkedAsDuplicateEventwas added - Type
DisconnectedEventwas added - Type
ConnectedEventwas added
The Checks preview includes these changes:
- Enum value
STALEwas added to enumCheckConclusionState - Enum value
SKIPPEDwas added to enumCheckConclusionState
GraphQL Schema Changes for 2020-01-09
The GraphQL schema includes these changes:
- Enum value
DUPLICATEwas added to enumReportedContentClassifiers - Field
deleteBranchOnMergewas added to object typeRepository
GraphQL Schema Changes for 2020-01-06
The following changes will be made to the schema:
- On member
Sponsorship.maintainer:maintainerwill be removed. UseSponsorship.sponsorableinstead. Effective 2020-04-01.
The GraphQL schema includes these changes:
- Field
sponsorablewas added to object typeSponsorship