Breaking Changes
Breaking changes are any changes that might require action from our integrators. We divide these changes into two categories:
- Breaking: Changes that will break existing queries to the GraphQL API. For example, removing a field would be a breaking change.
- Dangerous: Changes that won't break existing queries but could affect the runtime behavior of clients. Adding an enum value is an example of a dangerous change.
We strive to provide stable APIs for our integrators. When a new feature is still evolving, we release it behind a schema preview.
We'll announce upcoming breaking changes at least three months before making changes to the GraphQL schema, to give integrators time to make the necessary adjustments. Changes go into effect on the first day of a quarter (January 1st, April 1st, July 1st, or October 1st). For example, if we announce a change on January 15th, it will be made on July 1st.
Changes scheduled for 2019-10-01
-
Breaking A change will be made to ContributionOrder.field.
Description:
fieldwill be removed. Only one order field is supported.Reason:
fieldwill be removed. -
Breaking A change will be made to Issue.timeline.
Description:
timelinewill be removed. Use Issue.timelineItems instead.Reason:
timelinewill be removed -
Breaking A change will be made to MarketplaceListing.hasApprovalBeenRequested.
Description:
hasApprovalBeenRequestedwill be removed. UseisVerificationPendingFromDraftinstead.Reason:
hasApprovalBeenRequestedwill be removed. -
Breaking A change will be made to MarketplaceListing.isApproved.
Description:
isApprovedwill be removed. UseisPublicinstead.Reason:
isApprovedwill be removed. -
Breaking A change will be made to MarketplaceListing.isDelisted.
Description:
isDelistedwill be removed. UseisArchivedinstead.Reason:
isDelistedwill be removed. -
Breaking A change will be made to Organization.pinnedRepositories.
Description:
pinnedRepositorieswill be removed. Use ProfileOwner.pinnedItems instead.Reason: pinnedRepositories will be removed
-
Breaking A change will be made to PullRequest.timeline.
Description:
timelinewill be removed. Use PullRequest.timelineItems instead.Reason:
timelinewill be removed -
Breaking A change will be made to RepositoryOwner.pinnedRepositories.
Description:
pinnedRepositorieswill be removed. Use ProfileOwner.pinnedItems instead.Reason: pinnedRepositories will be removed
-
Breaking A change will be made to RepositoryVulnerabilityAlert.affectedRange.
Description:
affectedRangewill be removed. UsesecurityVulnerability.vulnerableVersionRangeinstead.Reason: advisory specific fields are being removed from repositoryVulnerabilityAlert objects
-
Breaking A change will be made to RepositoryVulnerabilityAlert.externalIdentifier.
Description:
externalIdentifierwill be removed. UsesecurityAdvisory.identifiersinstead.Reason: advisory specific fields are being removed from repositoryVulnerabilityAlert objects
-
Breaking A change will be made to RepositoryVulnerabilityAlert.externalReference.
Description:
externalReferencewill be removed. UsesecurityAdvisory.referencesinstead.Reason: advisory specific fields are being removed from repositoryVulnerabilityAlert objects
-
Breaking A change will be made to RepositoryVulnerabilityAlert.fixedIn.
Description:
fixedInwill be removed. UsesecurityVulnerability.firstPatchedVersioninstead.Reason: advisory specific fields are being removed from repositoryVulnerabilityAlert objects
-
Breaking A change will be made to RepositoryVulnerabilityAlert.packageName.
Description:
packageNamewill be removed. UsesecurityVulnerability.packageinstead.Reason: advisory specific fields are being removed from repositoryVulnerabilityAlert objects
-
Breaking A change will be made to User.pinnedRepositories.
Description:
pinnedRepositorieswill be removed. Use ProfileOwner.pinnedItems instead.Reason: pinnedRepositories will be removed
Changes scheduled for 2020-01-01
-
Breaking A change will be made to AssignedEvent.user.
Description:
userwill be removed. Use theassigneefield instead.Reason: Assignees can now be mannequins.
-
Breaking A change will be made to EnterpriseBillingInfo.availableSeats.
Description:
availableSeatswill be removed. Use EnterpriseBillingInfo.totalAvailableLicenses instead.Reason:
availableSeatswill be replaced withtotalAvailableLicensesto provide more clarity on the value being returned -
Breaking A change will be made to EnterpriseBillingInfo.seats.
Description:
seatswill be removed. Use EnterpriseBillingInfo.totalLicenses instead.Reason:
seatswill be replaced withtotalLicensesto provide more clarity on the value being returned -
Breaking A change will be made to UnassignedEvent.user.
Description:
userwill be removed. Use theassigneefield instead.Reason: Assignees can now be mannequins.
Changes scheduled for 2020-04-01
-
Breaking A change will be made to Query.sponsorsListing.
Description:
sponsorsListingwill be removed. UseSponsorable.sponsorsListinginstead.Reason:
Query.sponsorsListingwill be removed.
-
Overview
-
Query
-
Mutations
- acceptEnterpriseAdministratorInvitation
- acceptTopicSuggestion
- addAssigneesToAssignable
- addComment
- addLabelsToLabelable
- addProjectCard
- addProjectColumn
- addPullRequestReview
- addPullRequestReviewComment
- addPullRequestReviewThread
- addReaction
- addStar
- cancelEnterpriseAdminInvitation
- changeUserStatus
- clearLabelsFromLabelable
- cloneProject
- cloneTemplateRepository
- closeIssue
- closePullRequest
- convertProjectCardNoteToIssue
- createBranchProtectionRule
- createCheckRun
- createCheckSuite
- createContentAttachment
- createDeployment
- createDeploymentStatus
- createEnterpriseOrganization
- createIssue
- createLabel
- createProject
- createPullRequest
- createRef
- createRepository
- createTeamDiscussion
- createTeamDiscussionComment
- declineTopicSuggestion
- deleteBranchProtectionRule
- deleteIssue
- deleteIssueComment
- deleteLabel
- deletePackageVersion
- deleteProject
- deleteProjectCard
- deleteProjectColumn
- deletePullRequestReview
- deletePullRequestReviewComment
- deleteRef
- deleteTeamDiscussion
- deleteTeamDiscussionComment
- dismissPullRequestReview
- followUser
- importProject
- inviteEnterpriseAdmin
- linkRepositoryToProject
- lockLockable
- markPullRequestReadyForReview
- mergeBranch
- mergePullRequest
- minimizeComment
- moveProjectCard
- moveProjectColumn
- pinIssue
- regenerateEnterpriseIdentityProviderRecoveryCodes
- removeAssigneesFromAssignable
- removeEnterpriseAdmin
- removeEnterpriseOrganization
- removeLabelsFromLabelable
- removeOutsideCollaborator
- removeReaction
- removeStar
- reopenIssue
- reopenPullRequest
- requestReviews
- rerequestCheckSuite
- resolveReviewThread
- submitPullRequestReview
- transferIssue
- unfollowUser
- unlinkRepositoryFromProject
- unlockLockable
- unmarkIssueAsDuplicate
- unminimizeComment
- unpinIssue
- unresolveReviewThread
- updateBranchProtectionRule
- updateCheckRun
- updateCheckSuitePreferences
- updateEnterpriseActionExecutionCapabilitySetting
- updateEnterpriseAdministratorRole
- updateEnterpriseAllowPrivateRepositoryForkingSetting
- updateEnterpriseDefaultRepositoryPermissionSetting
- updateEnterpriseMembersCanChangeRepositoryVisibilitySetting
- updateEnterpriseMembersCanCreateRepositoriesSetting
- updateEnterpriseMembersCanDeleteIssuesSetting
- updateEnterpriseMembersCanDeleteRepositoriesSetting
- updateEnterpriseMembersCanInviteCollaboratorsSetting
- updateEnterpriseMembersCanMakePurchasesSetting
- updateEnterpriseMembersCanUpdateProtectedBranchesSetting
- updateEnterpriseMembersCanViewDependencyInsightsSetting
- updateEnterpriseOrganizationProjectsSetting
- updateEnterpriseProfile
- updateEnterpriseRepositoryProjectsSetting
- updateEnterpriseTeamDiscussionsSetting
- updateEnterpriseTwoFactorAuthenticationRequiredSetting
- updateIssue
- updateIssueComment
- updateLabel
- updateProject
- updateProjectCard
- updateProjectColumn
- updatePullRequest
- updatePullRequestReview
- updatePullRequestReviewComment
- updateRef
- updateRefs
- updateRepository
- updateSubscription
- updateTeamDiscussion
- updateTeamDiscussionComment
- updateTopics
-
Objects
- ActorLocation
- AddedToProjectEvent
- App
- AssignedEvent
- BaseRefChangedEvent
- BaseRefForcePushedEvent
- Blame
- BlameRange
- Blob
- Bot
- BranchProtectionRule
- BranchProtectionRuleConflict
- CheckAnnotation
- CheckAnnotationPosition
- CheckAnnotationSpan
- CheckRun
- CheckSuite
- ClosedEvent
- CodeOfConduct
- CommentDeletedEvent
- Commit
- CommitComment
- CommitCommentThread
- CommitContributionsByRepository
- ContentAttachment
- ContentReference
- ContributionCalendar
- ContributionCalendarDay
- ContributionCalendarMonth
- ContributionCalendarWeek
- ContributionsCollection
- ConvertedNoteToIssueEvent
- CreatedCommitContribution
- CreatedIssueContribution
- CreatedPullRequestContribution
- CreatedPullRequestReviewContribution
- CreatedRepositoryContribution
- CrossReferencedEvent
- DemilestonedEvent
- DependencyGraphDependency
- DependencyGraphManifest
- DeployKey
- DeployedEvent
- Deployment
- DeploymentEnvironmentChangedEvent
- DeploymentStatus
- Enterprise
- EnterpriseAdministratorInvitation
- EnterpriseBillingInfo
- EnterpriseIdentityProvider
- EnterpriseOwnerInfo
- EnterpriseRepositoryInfo
- EnterpriseServerInstallation
- EnterpriseServerUserAccount
- EnterpriseServerUserAccountEmail
- EnterpriseServerUserAccountsUpload
- EnterpriseUserAccount
- ExternalIdentity
- ExternalIdentitySamlAttributes
- ExternalIdentityScimAttributes
- GenericHovercardContext
- Gist
- GistComment
- GistFile
- GitActor
- GitHubMetadata
- GpgSignature
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- Hovercard
- Issue
- IssueComment
- IssueContributionsByRepository
- JoinedGitHubContribution
- Label
- LabeledEvent
- Language
- License
- LicenseRule
- LockedEvent
- Mannequin
- MarkedAsDuplicateEvent
- MarketplaceCategory
- MarketplaceListing
- MembersCanDeleteReposClearAuditEntry
- MembersCanDeleteReposDisableAuditEntry
- MembersCanDeleteReposEnableAuditEntry
- MentionedEvent
- MergedEvent
- Milestone
- MilestonedEvent
- MovedColumnsInProjectEvent
- OauthApplicationCreateAuditEntry
- OrgAddBillingManagerAuditEntry
- OrgAddMemberAuditEntry
- OrgBlockUserAuditEntry
- OrgConfigDisableCollaboratorsOnlyAuditEntry
- OrgConfigEnableCollaboratorsOnlyAuditEntry
- OrgCreateAuditEntry
- OrgDisableOauthAppRestrictionsAuditEntry
- OrgDisableSamlAuditEntry
- OrgDisableTwoFactorRequirementAuditEntry
- OrgEnableOauthAppRestrictionsAuditEntry
- OrgEnableSamlAuditEntry
- OrgEnableTwoFactorRequirementAuditEntry
- OrgInviteMemberAuditEntry
- OrgInviteToBusinessAuditEntry
- OrgOauthAppAccessApprovedAuditEntry
- OrgOauthAppAccessDeniedAuditEntry
- OrgOauthAppAccessRequestedAuditEntry
- OrgRemoveBillingManagerAuditEntry
- OrgRemoveMemberAuditEntry
- OrgRemoveOutsideCollaboratorAuditEntry
- OrgRestoreMemberAuditEntry
- OrgRestoreMemberMembershipOrganizationAuditEntryData
- OrgRestoreMemberMembershipRepositoryAuditEntryData
- OrgRestoreMemberMembershipTeamAuditEntryData
- OrgUnblockUserAuditEntry
- OrgUpdateDefaultRepositoryPermissionAuditEntry
- OrgUpdateMemberAuditEntry
- OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- Organization
- OrganizationIdentityProvider
- OrganizationInvitation
- OrganizationTeamsHovercardContext
- OrganizationsHovercardContext
- Package
- PackageFile
- PackageTag
- PackageVersion
- PageInfo
- PermissionSource
- PinnedEvent
- PinnedIssue
- PrivateRepositoryForkingDisableAuditEntry
- PrivateRepositoryForkingEnableAuditEntry
- ProfileItemShowcase
- Project
- ProjectCard
- ProjectColumn
- PublicKey
- PullRequest
- PullRequestChangedFile
- PullRequestCommit
- PullRequestCommitCommentThread
- PullRequestContributionsByRepository
- PullRequestReview
- PullRequestReviewComment
- PullRequestReviewContributionsByRepository
- PullRequestReviewThread
- PullRequestRevisionMarker
- Push
- PushAllowance
- RateLimit
- Reaction
- ReactionGroup
- ReadyForReviewEvent
- Ref
- ReferencedEvent
- RegistryPackage
- RegistryPackageDependency
- RegistryPackageFile
- RegistryPackageStatistics
- RegistryPackageTag
- RegistryPackageVersion
- RegistryPackageVersionStatistics
- Release
- ReleaseAsset
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- RepoAccessAuditEntry
- RepoAddMemberAuditEntry
- RepoAddTopicAuditEntry
- RepoArchivedAuditEntry
- RepoChangeMergeSettingAuditEntry
- RepoConfigDisableAnonymousGitAccessAuditEntry
- RepoConfigDisableCollaboratorsOnlyAuditEntry
- RepoConfigDisableContributorsOnlyAuditEntry
- RepoConfigDisableSockpuppetDisallowedAuditEntry
- RepoConfigEnableAnonymousGitAccessAuditEntry
- RepoConfigEnableCollaboratorsOnlyAuditEntry
- RepoConfigEnableContributorsOnlyAuditEntry
- RepoConfigEnableSockpuppetDisallowedAuditEntry
- RepoConfigLockAnonymousGitAccessAuditEntry
- RepoConfigUnlockAnonymousGitAccessAuditEntry
- RepoCreateAuditEntry
- RepoDestroyAuditEntry
- RepoRemoveMemberAuditEntry
- RepoRemoveTopicAuditEntry
- Repository
- RepositoryInvitation
- RepositoryTopic
- RepositoryVisibilityChangeDisableAuditEntry
- RepositoryVisibilityChangeEnableAuditEntry
- RepositoryVulnerabilityAlert
- RestrictedContribution
- ReviewDismissalAllowance
- ReviewDismissedEvent
- ReviewRequest
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- ReviewStatusHovercardContext
- SavedReply
- SecurityAdvisory
- SecurityAdvisoryIdentifier
- SecurityAdvisoryPackage
- SecurityAdvisoryPackageVersion
- SecurityAdvisoryReference
- SecurityVulnerability
- SmimeSignature
- SponsorsListing
- SponsorsTier
- SponsorsTierAdminInfo
- Sponsorship
- Status
- StatusContext
- SubscribedEvent
- SuggestedReviewer
- Tag
- Team
- TeamAddMemberAuditEntry
- TeamAddRepositoryAuditEntry
- TeamChangeParentTeamAuditEntry
- TeamDiscussion
- TeamDiscussionComment
- TeamRemoveMemberAuditEntry
- TeamRemoveRepositoryAuditEntry
- TextMatch
- TextMatchHighlight
- Topic
- TransferredEvent
- Tree
- TreeEntry
- UnassignedEvent
- UnknownSignature
- UnlabeledEvent
- UnlockedEvent
- UnpinnedEvent
- UnsubscribedEvent
- User
- UserBlockedEvent
- UserContentEdit
- UserStatus
- ViewerHovercardContext
-
Interfaces
- Actor
- Assignable
- AuditEntry
- Closable
- Comment
- Contribution
- Deletable
- EnterpriseAuditEntryData
- GitObject
- GitSignature
- HovercardContext
- Labelable
- Lockable
- MemberStatusable
- Minimizable
- Node
- OauthApplicationAuditEntryData
- OrganizationAuditEntryData
- PackageOwner
- ProfileOwner
- ProjectOwner
- Reactable
- RegistryPackageOwner
- RegistryPackageSearch
- RepositoryAuditEntryData
- RepositoryInfo
- RepositoryNode
- RepositoryOwner
- Sponsorable
- Starrable
- Subscribable
- TeamAuditEntryData
- TopicAuditEntryData
- UniformResourceLocatable
- Updatable
- UpdatableComment
-
Enums
- ActionExecutionCapabilitySetting
- AuditLogOrderField
- CheckAnnotationLevel
- CheckConclusionState
- CheckRunType
- CheckStatusState
- CollaboratorAffiliation
- CommentAuthorAssociation
- CommentCannotUpdateReason
- CommitContributionOrderField
- ContributionOrderField
- DefaultRepositoryPermissionField
- DeploymentOrderField
- DeploymentState
- DeploymentStatusState
- DiffSide
- EnterpriseAdministratorInvitationOrderField
- EnterpriseAdministratorRole
- EnterpriseDefaultRepositoryPermissionSettingValue
- EnterpriseEnabledDisabledSettingValue
- EnterpriseEnabledSettingValue
- EnterpriseMemberOrderField
- EnterpriseMembersCanCreateRepositoriesSettingValue
- EnterpriseMembersCanMakePurchasesSettingValue
- EnterpriseOrderField
- EnterpriseServerInstallationOrderField
- EnterpriseServerUserAccountEmailOrderField
- EnterpriseServerUserAccountOrderField
- EnterpriseServerUserAccountsUploadOrderField
- EnterpriseServerUserAccountsUploadSyncState
- EnterpriseUserAccountMembershipRole
- EnterpriseUserDeployment
- GistOrderField
- GistPrivacy
- GitSignatureState
- IdentityProviderConfigurationState
- IssueOrderField
- IssueState
- IssueTimelineItemsItemType
- LanguageOrderField
- LockReason
- MergeStateStatus
- MergeableState
- MilestoneOrderField
- MilestoneState
- OauthApplicationCreateAuditEntryState
- OperationType
- OrderDirection
- OrgAddMemberAuditEntryPermission
- OrgCreateAuditEntryBillingPlan
- OrgRemoveBillingManagerAuditEntryReason
- OrgRemoveMemberAuditEntryMembershipType
- OrgRemoveMemberAuditEntryReason
- OrgRemoveOutsideCollaboratorAuditEntryMembershipType
- OrgRemoveOutsideCollaboratorAuditEntryReason
- OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
- OrgUpdateMemberAuditEntryPermission
- OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility
- OrganizationInvitationRole
- OrganizationInvitationType
- OrganizationMemberRole
- OrganizationMembersCanCreateRepositoriesSettingValue
- OrganizationOrderField
- PackageFileOrderField
- PackageOrderField
- PackageVersionOrderField
- PinnableItemType
- ProjectCardArchivedState
- ProjectCardState
- ProjectColumnPurpose
- ProjectOrderField
- ProjectState
- ProjectTemplate
- PullRequestMergeMethod
- PullRequestOrderField
- PullRequestReviewCommentState
- PullRequestReviewEvent
- PullRequestReviewState
- PullRequestState
- PullRequestTimelineItemsItemType
- PullRequestUpdateState
- ReactionContent
- ReactionOrderField
- RefOrderField
- RegistryPackageDependencyType
- RegistryPackageType
- ReleaseOrderField
- RepoAccessAuditEntryVisibility
- RepoAddMemberAuditEntryVisibility
- RepoArchivedAuditEntryVisibility
- RepoChangeMergeSettingAuditEntryMergeType
- RepoCreateAuditEntryVisibility
- RepoDestroyAuditEntryVisibility
- RepoRemoveMemberAuditEntryVisibility
- ReportedContentClassifiers
- RepositoryAffiliation
- RepositoryContributionType
- RepositoryInvitationOrderField
- RepositoryLockReason
- RepositoryOrderField
- RepositoryPermission
- RepositoryPrivacy
- RepositoryVisibility
- RequestableCheckStatusState
- SamlDigestAlgorithm
- SamlSignatureAlgorithm
- SavedReplyOrderField
- SearchType
- SecurityAdvisoryEcosystem
- SecurityAdvisoryIdentifierType
- SecurityAdvisoryOrderField
- SecurityAdvisorySeverity
- SecurityVulnerabilityOrderField
- SponsorsTierOrderField
- SponsorshipOrderField
- SponsorshipPrivacy
- StarOrderField
- StatusState
- SubscriptionState
- TeamDiscussionCommentOrderField
- TeamDiscussionOrderField
- TeamMemberOrderField
- TeamMemberRole
- TeamMembershipType
- TeamOrderField
- TeamPrivacy
- TeamRepositoryOrderField
- TeamRole
- TopicSuggestionDeclineReason
- UserBlockDuration
- UserStatusOrderField
-
Unions
- Assignee
- AuditEntryActor
- Closer
- CollectionItemContent
- CreatedIssueOrRestrictedContribution
- CreatedPullRequestOrRestrictedContribution
- CreatedRepositoryOrRestrictedContribution
- EnterpriseMember
- IssueOrPullRequest
- IssueTimelineItem
- IssueTimelineItems
- MilestoneItem
- OrgRestoreMemberAuditEntryMembership
- OrganizationAuditEntry
- PermissionGranter
- PinnableItem
- ProjectCardItem
- PullRequestTimelineItem
- PullRequestTimelineItems
- PushAllowanceActor
- ReferencedSubject
- RenamedTitleSubject
- RequestedReviewer
- ReviewDismissalAllowanceActor
- SearchResultItem
-
Input Objects
- AuditLogOrder
- CheckAnnotationData
- CheckAnnotationRange
- CheckRunAction
- CheckRunFilter
- CheckRunOutput
- CheckRunOutputImage
- CheckSuiteAutoTriggerPreference
- CheckSuiteFilter
- CommitAuthor
- CommitContributionOrder
- ContributionOrder
- DeploymentOrder
- DraftPullRequestReviewComment
- DraftPullRequestReviewThread
- EnterpriseAdministratorInvitationOrder
- EnterpriseMemberOrder
- EnterpriseServerInstallationOrder
- EnterpriseServerUserAccountEmailOrder
- EnterpriseServerUserAccountOrder
- EnterpriseServerUserAccountsUploadOrder
- GistOrder
- IssueFilters
- IssueOrder
- LanguageOrder
- MilestoneOrder
- OrganizationOrder
- PackageFileOrder
- PackageOrder
- PackageVersionOrder
- ProjectCardImport
- ProjectColumnImport
- ProjectOrder
- PullRequestOrder
- ReactionOrder
- RefOrder
- RefUpdate
- RegistryPackageMetadatum
- ReleaseOrder
- RepositoryInvitationOrder
- RepositoryOrder
- SavedReplyOrder
- SecurityAdvisoryIdentifierFilter
- SecurityAdvisoryOrder
- SecurityVulnerabilityOrder
- SponsorsTierOrder
- SponsorshipOrder
- StarOrder
- TeamDiscussionCommentOrder
- TeamDiscussionOrder
- TeamMemberOrder
- TeamOrder
- TeamRepositoryOrder
- UserStatusOrder
-
Scalars