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-01-01
-
Breaking A change will be made to Repository.protectedBranches.
Description:
protectedBrancheswill be removed. UseRepository.branchProtectionRulesinstead.Reason: The
ProtectedBranchtype is deprecated and will be removed soon.
Changes scheduled for 2019-04-01
-
Breaking A change will be made to Organization.members.
Description:
memberswill be removed. UseOrganization.membersWithRoleinstead.Reason: The
membersfield is deprecated and will be removed soon.
Changes scheduled for 2019-07-01
-
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 ReviewDismissedEvent.message.
Description:
messagewill be removed. UsedismissalMessageinstead.Reason:
messageis being removed because it not nullable, whereas the underlying field is optional. -
Breaking A change will be made to ReviewDismissedEvent.messageHtml.
Description:
messageHtmlwill be removed. UsedismissalMessageHTMLinstead.Reason:
messageHtmlis being removed because it not nullable, whereas the underlying field is optional.
-
Overview
-
Query
-
Mutations
- acceptBusinessMemberInvitation
- acceptTopicSuggestion
- addAssigneesToAssignable
- addComment
- addLabelsToLabelable
- addProjectCard
- addProjectColumn
- addPullRequestReview
- addPullRequestReviewComment
- addReaction
- addStar
- cancelBusinessAdminInvitation
- cancelBusinessBillingManagerInvitation
- changeUserStatus
- clearLabelsFromLabelable
- closeIssue
- closePullRequest
- convertProjectCardNoteToIssue
- createBranchProtectionRule
- createCheckRun
- createCheckSuite
- createContentAttachment
- createDeployment
- createDeploymentStatus
- createIssue
- createProject
- createPullRequest
- createTeamDiscussion
- createTeamDiscussionComment
- declineTopicSuggestion
- deleteBranchProtectionRule
- deleteIssue
- deleteIssueComment
- deleteProject
- deleteProjectCard
- deleteProjectColumn
- deletePullRequestReview
- deletePullRequestReviewComment
- deleteTeamDiscussion
- deleteTeamDiscussionComment
- dismissPullRequestReview
- inviteBusinessAdmin
- inviteBusinessBillingManager
- lockLockable
- mergePullRequest
- minimizeComment
- moveProjectCard
- moveProjectColumn
- pinIssue
- regenerateBusinessIdentityProviderRecoveryCodes
- removeAssigneesFromAssignable
- removeBusinessAdmin
- removeBusinessBillingManager
- removeBusinessIdentityProvider
- removeLabelsFromLabelable
- removeOutsideCollaborator
- removeReaction
- removeStar
- reopenIssue
- reopenPullRequest
- requestReviews
- rerequestCheckSuite
- resolveReviewThread
- setBusinessIdentityProvider
- submitPullRequestReview
- unlockLockable
- unmarkIssueAsDuplicate
- unminimizeComment
- unpinIssue
- unresolveReviewThread
- updateBranchProtectionRule
- updateBusinessAllowPrivateRepositoryForkingSetting
- updateBusinessDefaultRepositoryPermissionSetting
- updateBusinessMembersCanChangeRepositoryVisibilitySetting
- updateBusinessMembersCanCreateRepositoriesSetting
- updateBusinessMembersCanDeleteIssuesSetting
- updateBusinessMembersCanDeleteRepositoriesSetting
- updateBusinessMembersCanInviteCollaboratorsSetting
- updateBusinessMembersCanUpdateProtectedBranchesSetting
- updateBusinessOrganizationProjectsSetting
- updateBusinessProfile
- updateBusinessRepositoryProjectsSetting
- updateBusinessTeamDiscussionsSetting
- updateBusinessTwoFactorAuthenticationRequiredSetting
- updateCheckRun
- updateCheckSuitePreferences
- updateIssue
- updateIssueComment
- updateProject
- updateProjectCard
- updateProjectColumn
- updatePullRequest
- updatePullRequestReview
- updatePullRequestReviewComment
- updateSubscription
- updateTeamDiscussion
- updateTeamDiscussionComment
- updateTopics
-
Objects
- AddedToProjectEvent
- App
- AssignedEvent
- BaseRefChangedEvent
- BaseRefForcePushedEvent
- Blame
- BlameRange
- Blob
- Bot
- BranchProtectionRule
- BranchProtectionRuleConflict
- Business
- BusinessAdminInfo
- BusinessBillingInfo
- BusinessIdentityProvider
- BusinessMemberInvitation
- BusinessRepositoryInfo
- CheckAnnotation
- CheckAnnotationPosition
- CheckAnnotationSpan
- CheckRun
- CheckSuite
- ClosedEvent
- CodeOfConduct
- CommentDeletedEvent
- Commit
- CommitComment
- CommitCommentThread
- ContentAttachment
- ContentReference
- ContributionCalendar
- ContributionCalendarDay
- ContributionCalendarMonth
- ContributionCalendarWeek
- ContributionsCollection
- ConvertedNoteToIssueEvent
- CreatedIssueContribution
- CreatedPullRequestContribution
- CrossReferencedEvent
- DemilestonedEvent
- DependencyGraphDependency
- DependencyGraphManifest
- DeployKey
- DeployedEvent
- Deployment
- DeploymentEnvironmentChangedEvent
- DeploymentStatus
- ExternalIdentity
- ExternalIdentitySamlAttributes
- ExternalIdentityScimAttributes
- GenericHovercardContext
- Gist
- GistComment
- GitActor
- GitHubMetadata
- GpgSignature
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- Hovercard
- Issue
- IssueComment
- JoinedGitHubContribution
- Label
- LabeledEvent
- Language
- License
- LicenseRule
- LockedEvent
- MarketplaceCategory
- MarketplaceListing
- MentionedEvent
- MergedEvent
- Milestone
- MilestonedEvent
- MovedColumnsInProjectEvent
- Organization
- OrganizationIdentityProvider
- OrganizationInvitation
- OrganizationTeamsHovercardContext
- OrganizationsHovercardContext
- PageInfo
- PinnedEvent
- PinnedIssue
- Project
- ProjectCard
- ProjectColumn
- ProtectedBranch
- PublicKey
- PullRequest
- PullRequestChangedFile
- PullRequestCommit
- PullRequestCommitCommentThread
- PullRequestReview
- PullRequestReviewComment
- PullRequestReviewThread
- PullRequestRevisionMarker
- Push
- PushAllowance
- RateLimit
- Reaction
- ReactionGroup
- Ref
- ReferencedEvent
- Release
- ReleaseAsset
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- Repository
- RepositoryInvitation
- RepositoryTopic
- RepositoryVulnerabilityAlert
- RestrictedContribution
- ReviewDismissalAllowance
- ReviewDismissedEvent
- ReviewRequest
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- ReviewStatusHovercardContext
- SecurityAdvisory
- SecurityAdvisoryIdentifier
- SecurityAdvisoryPackage
- SecurityAdvisoryPackageVersion
- SecurityAdvisoryReference
- SecurityVulnerability
- SmimeSignature
- Status
- StatusContext
- SubscribedEvent
- SuggestedReviewer
- Tag
- Team
- TeamDiscussion
- TeamDiscussionComment
- TextMatch
- TextMatchHighlight
- Topic
- TransferredEvent
- Tree
- TreeEntry
- UnassignedEvent
- UnknownSignature
- UnlabeledEvent
- UnlockedEvent
- UnpinnedEvent
- UnsubscribedEvent
- User
- UserContentEdit
- UserStatus
- ViewerHovercardContext
-
Interfaces
- Actor
- Assignable
- Closable
- Comment
- Contribution
- Deletable
- GitObject
- GitSignature
- HovercardContext
- Labelable
- Lockable
- MemberStatusable
- Minimizable
- Node
- ProjectOwner
- Reactable
- RegistryPackageOwner
- RegistryPackageSearch
- RepositoryInfo
- RepositoryNode
- RepositoryOwner
- Starrable
- Subscribable
- UniformResourceLocatable
- Updatable
- UpdatableComment
-
Enums
- BusinessDefaultRepositoryPermissionSettingValue
- BusinessEnabledDisabledSettingValue
- BusinessEnabledSettingValue
- BusinessMemberInvitationRole
- BusinessMembersCanCreateRepositoriesSettingValue
- CheckAnnotationLevel
- CheckConclusionState
- CheckRunType
- CheckStatusState
- CollaboratorAffiliation
- CommentAuthorAssociation
- CommentCannotUpdateReason
- DefaultRepositoryPermissionField
- DeploymentOrderField
- DeploymentState
- DeploymentStatusState
- GistOrderField
- GistPrivacy
- GitSignatureState
- IssueOrderField
- IssueState
- IssueTimelineItemsItemType
- LanguageOrderField
- LockReason
- MergeStateStatus
- MergeableState
- MilestoneOrderField
- MilestoneState
- OrderDirection
- OrganizationInvitationRole
- OrganizationInvitationType
- OrganizationMemberRole
- OrganizationMembersCanCreateRepositoriesSettingValue
- OrganizationOrderField
- ProjectCardArchivedState
- ProjectCardState
- ProjectColumnPurpose
- ProjectOrderField
- ProjectState
- PullRequestOrderField
- PullRequestReviewCommentState
- PullRequestReviewEvent
- PullRequestReviewState
- PullRequestState
- PullRequestTimelineItemsItemType
- ReactionContent
- ReactionOrderField
- RefOrderField
- ReleaseOrderField
- ReportedContentClassifiers
- RepositoryAffiliation
- RepositoryContributionType
- RepositoryLockReason
- RepositoryOrderField
- RepositoryPermission
- RepositoryPrivacy
- RequestableCheckStatusState
- SamlDigestAlgorithm
- SamlSignatureAlgorithm
- SearchType
- SecurityAdvisoryEcosystem
- SecurityAdvisoryIdentifierType
- SecurityAdvisoryOrderField
- SecurityAdvisorySeverity
- SecurityVulnerabilityOrderField
- StarOrderField
- StatusState
- SubscriptionState
- TeamDiscussionCommentOrderField
- TeamDiscussionOrderField
- TeamMemberOrderField
- TeamMemberRole
- TeamMembershipType
- TeamOrderField
- TeamPrivacy
- TeamRepositoryOrderField
- TeamRole
- TopicSuggestionDeclineReason
- UserStatusOrderField
-
Unions
- Closer
- CollectionItemContent
- CreatedIssueOrRestrictedContribution
- CreatedPullRequestOrRestrictedContribution
- IssueOrPullRequest
- IssueTimelineItem
- IssueTimelineItems
- MilestoneItem
- ProjectCardItem
- PullRequestTimelineItem
- PullRequestTimelineItems
- PushAllowanceActor
- ReferencedSubject
- RenamedTitleSubject
- RequestedReviewer
- ReviewDismissalAllowanceActor
- SearchResultItem
-
Input Objects
- CheckAnnotationData
- CheckAnnotationRange
- CheckRunAction
- CheckRunFilter
- CheckRunOutput
- CheckRunOutputImage
- CheckSuiteAutoTriggerPreference
- CheckSuiteFilter
- CommitAuthor
- DeploymentOrder
- DraftPullRequestReviewComment
- GistOrder
- IssueFilters
- IssueOrder
- LanguageOrder
- MilestoneOrder
- OrganizationOrder
- ProjectOrder
- ReactionOrder
- RefOrder
- ReleaseOrder
- RepositoryOrder
- SecurityAdvisoryIdentifierFilter
- SecurityAdvisoryOrder
- SecurityVulnerabilityOrder
- StarOrder
- TeamDiscussionCommentOrder
- TeamDiscussionOrder
- TeamMemberOrder
- TeamOrder
- TeamRepositoryOrder
- UserStatusOrder
-
Scalars