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 2019-07-19
The following changes will be made to the schema:
- On member
AssignedEvent.user:userwill be removed. Use theassigneefield instead. Effective 2020-01-01. - On member
UnassignedEvent.user:userwill be removed. Use theassigneefield instead. Effective 2020-01-01.
The GraphQL schema includes these changes:
- Argument
ignoreTimeRange: Booleanwas removed from fieldContributionsCollection.joinedGitHubContribution - Argument
ignoreTimeRange: Booleanwas removed from fieldContributionsCollection.firstRepositoryContribution - Argument
ignoreTimeRange: Booleanwas removed from fieldContributionsCollection.firstPullRequestContribution - Argument
ignoreTimeRange: Booleanwas removed from fieldContributionsCollection.firstIssueContribution - Field
messageHtmlwas removed from object typeReviewDismissedEvent - Field
messagewas removed from object typeReviewDismissedEvent - Field
memberswas removed from object typeOrganization -
Gistobject implementsUniformResourceLocatableinterface - Field
assigneewas added to object typeUnassignedEvent - Field
assigneewas added to object typeAssignedEvent - Field
urlwas added to object typeGist - Field
resourcePathwas added to object typeGist - Field
savedReplieswas added to object typeUser - Field
sponsorsListingwas added to object typeQuery - Type
SponsorsListingwas added - Type
SavedReplyOrderFieldwas added - Type
SavedReplyOrderwas added - Type
SavedReplywas added - Type
SavedReplyEdgewas added - Type
SavedReplyConnectionwas added - Type
Assigneewas added
GraphQL Schema Changes for 2019-07-17
The GraphQL schema includes these changes:
- Type
BusinessAuditEntryDatawas removed - Input field
templatewas added to input object typeCreateProjectInput - Field
updateRepositorywas added to object typeMutation - Field
mergeBranchwas added to object typeMutation - Type
UpdateRepositoryInputwas added - Type
UpdateRepositoryPayloadwas added - Type
MergeBranchInputwas added - Type
MergeBranchPayloadwas added - Type
ProjectTemplatewas added
The Audit Log preview includes these changes:
- Field
businessUrlwas removed from object typeRepositoryVisibilityChangeEnableAuditEntry - Field
businessSlugwas removed from object typeRepositoryVisibilityChangeEnableAuditEntry - Field
businessResourcePathwas removed from object typeRepositoryVisibilityChangeEnableAuditEntry -
RepositoryVisibilityChangeEnableAuditEntryobject type no longer implementsBusinessAuditEntryDatainterface - Field
businessUrlwas removed from object typeRepositoryVisibilityChangeDisableAuditEntry - Field
businessSlugwas removed from object typeRepositoryVisibilityChangeDisableAuditEntry - Field
businessResourcePathwas removed from object typeRepositoryVisibilityChangeDisableAuditEntry -
RepositoryVisibilityChangeDisableAuditEntryobject type no longer implementsBusinessAuditEntryDatainterface - Field
businessUrlwas removed from object typePrivateRepositoryForkingEnableAuditEntry - Field
businessSlugwas removed from object typePrivateRepositoryForkingEnableAuditEntry - Field
businessResourcePathwas removed from object typePrivateRepositoryForkingEnableAuditEntry -
PrivateRepositoryForkingEnableAuditEntryobject type no longer implementsBusinessAuditEntryDatainterface - Field
businessUrlwas removed from object typePrivateRepositoryForkingDisableAuditEntry - Field
businessSlugwas removed from object typePrivateRepositoryForkingDisableAuditEntry - Field
businessResourcePathwas removed from object typePrivateRepositoryForkingDisableAuditEntry -
PrivateRepositoryForkingDisableAuditEntryobject type no longer implementsBusinessAuditEntryDatainterface - Field
businessUrlwas removed from object typeOrgInviteToBusinessAuditEntry - Field
businessSlugwas removed from object typeOrgInviteToBusinessAuditEntry - Field
businessResourcePathwas removed from object typeOrgInviteToBusinessAuditEntry -
OrgInviteToBusinessAuditEntryobject type no longer implementsBusinessAuditEntryDatainterface - Field
businessUrlwas removed from object typeMembersCanDeleteReposEnableAuditEntry - Field
businessSlugwas removed from object typeMembersCanDeleteReposEnableAuditEntry - Field
businessResourcePathwas removed from object typeMembersCanDeleteReposEnableAuditEntry -
MembersCanDeleteReposEnableAuditEntryobject type no longer implementsBusinessAuditEntryDatainterface - Field
businessUrlwas removed from object typeMembersCanDeleteReposDisableAuditEntry - Field
businessSlugwas removed from object typeMembersCanDeleteReposDisableAuditEntry - Field
businessResourcePathwas removed from object typeMembersCanDeleteReposDisableAuditEntry -
MembersCanDeleteReposDisableAuditEntryobject type no longer implementsBusinessAuditEntryDatainterface - Field
businessUrlwas removed from object typeMembersCanDeleteReposClearAuditEntry - Field
businessSlugwas removed from object typeMembersCanDeleteReposClearAuditEntry - Field
businessResourcePathwas removed from object typeMembersCanDeleteReposClearAuditEntry -
MembersCanDeleteReposClearAuditEntryobject type no longer implementsBusinessAuditEntryDatainterface -
RepositoryVisibilityChangeEnableAuditEntryobject implementsEnterpriseAuditEntryDatainterface -
RepositoryVisibilityChangeDisableAuditEntryobject implementsEnterpriseAuditEntryDatainterface -
PrivateRepositoryForkingEnableAuditEntryobject implementsEnterpriseAuditEntryDatainterface -
PrivateRepositoryForkingDisableAuditEntryobject implementsEnterpriseAuditEntryDatainterface -
OrgInviteToBusinessAuditEntryobject implementsEnterpriseAuditEntryDatainterface -
MembersCanDeleteReposEnableAuditEntryobject implementsEnterpriseAuditEntryDatainterface -
MembersCanDeleteReposDisableAuditEntryobject implementsEnterpriseAuditEntryDatainterface -
MembersCanDeleteReposClearAuditEntryobject implementsEnterpriseAuditEntryDatainterface - Field
enterpriseUrlwas added to object typeRepositoryVisibilityChangeEnableAuditEntry - Field
enterpriseSlugwas added to object typeRepositoryVisibilityChangeEnableAuditEntry - Field
enterpriseResourcePathwas added to object typeRepositoryVisibilityChangeEnableAuditEntry - Field
enterpriseUrlwas added to object typeRepositoryVisibilityChangeDisableAuditEntry - Field
enterpriseSlugwas added to object typeRepositoryVisibilityChangeDisableAuditEntry - Field
enterpriseResourcePathwas added to object typeRepositoryVisibilityChangeDisableAuditEntry - Field
enterpriseUrlwas added to object typePrivateRepositoryForkingEnableAuditEntry - Field
enterpriseSlugwas added to object typePrivateRepositoryForkingEnableAuditEntry - Field
enterpriseResourcePathwas added to object typePrivateRepositoryForkingEnableAuditEntry - Field
enterpriseUrlwas added to object typePrivateRepositoryForkingDisableAuditEntry - Field
enterpriseSlugwas added to object typePrivateRepositoryForkingDisableAuditEntry - Field
enterpriseResourcePathwas added to object typePrivateRepositoryForkingDisableAuditEntry - Field
enterpriseUrlwas added to object typeOrgInviteToBusinessAuditEntry - Field
enterpriseSlugwas added to object typeOrgInviteToBusinessAuditEntry - Field
enterpriseResourcePathwas added to object typeOrgInviteToBusinessAuditEntry - Field
enterpriseUrlwas added to object typeMembersCanDeleteReposEnableAuditEntry - Field
enterpriseSlugwas added to object typeMembersCanDeleteReposEnableAuditEntry - Field
enterpriseResourcePathwas added to object typeMembersCanDeleteReposEnableAuditEntry - Field
enterpriseUrlwas added to object typeMembersCanDeleteReposDisableAuditEntry - Field
enterpriseSlugwas added to object typeMembersCanDeleteReposDisableAuditEntry - Field
enterpriseResourcePathwas added to object typeMembersCanDeleteReposDisableAuditEntry - Field
enterpriseUrlwas added to object typeMembersCanDeleteReposClearAuditEntry - Field
enterpriseSlugwas added to object typeMembersCanDeleteReposClearAuditEntry - Field
enterpriseResourcePathwas added to object typeMembersCanDeleteReposClearAuditEntry - Type
EnterpriseAuditEntryDatawas added
GraphQL Schema Changes for 2019-07-04
The GraphQL schema includes these changes:
- Enum value
READY_FOR_REVIEW_EVENTwas added to enumPullRequestTimelineItemsItemType - Union member
ReadyForReviewEventwas added to Union typePullRequestTimelineItems - Type
ReadyForReviewEventwas added
GraphQL Schema Changes for 2019-06-28
The following changes will be made to the schema:
- On member
Organization.pinnedRepositories:pinnedRepositorieswill be removed. Use ProfileOwner.pinnedItems instead. Effective 2019-10-01. - On member
RepositoryOwner.pinnedRepositories:pinnedRepositorieswill be removed. Use ProfileOwner.pinnedItems instead. Effective 2019-10-01. - On member
RepositoryVulnerabilityAlert.affectedRange:affectedRangewill be removed. UsesecurityVulnerability.vulnerableVersionRangeinstead. Effective 2019-10-01. - On member
RepositoryVulnerabilityAlert.externalIdentifier:externalIdentifierwill be removed. UsesecurityAdvisory.identifiersinstead. Effective 2019-10-01. - On member
RepositoryVulnerabilityAlert.externalReference:externalReferencewill be removed. UsesecurityAdvisory.referencesinstead. Effective 2019-10-01. - On member
RepositoryVulnerabilityAlert.fixedIn:fixedInwill be removed. UsesecurityVulnerability.firstPatchedVersioninstead. Effective 2019-10-01. - On member
RepositoryVulnerabilityAlert.packageName:packageNamewill be removed. UsesecurityVulnerability.packageinstead. Effective 2019-10-01. - On member
User.pinnedRepositories:pinnedRepositorieswill be removed. Use ProfileOwner.pinnedItems instead. Effective 2019-10-01.
The GraphQL schema includes these changes:
- Field
updateRefwas added to object typeMutation - Field
deleteRefwas added to object typeMutation - Field
createRefwas added to object typeMutation - Type
UpdateRefInputwas added - Type
UpdateRefPayloadwas added - Type
DeleteRefInputwas added - Type
DeleteRefPayloadwas added - Type
CreateRefInputwas added - Type
CreateRefPayloadwas added
GraphQL Schema Changes for 2019-06-26
The GraphQL schema includes these changes:
- Field
createRepositorywas added to object typeMutation - Type
CreateRepositoryInputwas added - Type
CreateRepositoryPayloadwas added
GraphQL Schema Changes for 2019-06-25
The GraphQL schema includes these changes:
- Field
PublicKey.updatedAtchanged type fromDateTime!toDateTime - Field
PublicKey.isReadOnlychanged type fromBoolean!toBoolean - Field
PublicKey.createdAtchanged type fromDateTime!toDateTime - Field
PublicKey.fingerprintchanged type fromStringtoString! - Field
issuePrioritiesDebugwas added to object typeMilestone
GraphQL Schema Changes for 2019-06-19
The GraphQL schema includes these changes:
- Union member
Appwas added to Union typeSearchResultItem - Field
cloneTemplateRepositorywas added to object typeMutation - Field
isTemplatewas added to object typeRepositoryInfo - Field
templateRepositorywas added to object typeRepository - Field
isTemplatewas added to object typeRepository - Type
RepositoryVisibilitywas added - Type
CloneTemplateRepositoryInputwas added - Type
CloneTemplateRepositoryPayloadwas added
GraphQL Schema Changes for 2019-06-14
The following changes will be made to the schema:
- On member
ContributionOrder.field:fieldwill be removed. Only one order field is supported. Effective 2019-10-01.
The GraphQL schema includes these changes:
- Input field
ContributionOrder.fieldchanged type fromContributionOrderField!toContributionOrderField
GraphQL Schema Changes for 2019-06-13
The GraphQL schema includes these changes:
- Argument
oid: GitObjectIDadded to fieldGist.files - Field
forkswas added to object typeGist
GraphQL Schema Changes for 2019-06-12
The GraphQL schema includes these changes:
- Enum value
USERwas added to enumPinnableItemType - Enum value
TEAMwas added to enumPinnableItemType - Enum value
PULL_REQUESTwas added to enumPinnableItemType - Enum value
PROJECTwas added to enumPinnableItemType - Enum value
ORGANIZATIONwas added to enumPinnableItemType - Field
requiresCodeOwnerReviewswas added to object typeBranchProtectionRule
The Labels Preview preview includes these changes:
- Input field
descriptionwas added to input object typeUpdateLabelInput - Input field
descriptionwas added to input object typeCreateLabelInput