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 2018-07-01
-
Breaking
commitwill be removed. Use ClosedEvent.closer instead.Affected schema members: ClosedEvent.commit
Reason:
ClosedEventmay be associated with other objects than a commit. -
Breaking
projectColumnwill be removed. UseProjectCard.columninstead.Affected schema members: ProjectCard.projectColumn
Reason: The associated column may be null if the card is in a pending state.
-
Breaking
isCrossReferencewill be removed. UseReferencedEvent.isCrossRepositoryinstead.Affected schema members: ReferencedEvent.isCrossReference
Reason:
isCrossReferencewill be renamed. -
Breaking
licensewill be removed. UseRepository.licenseInfoinstead.Affected schema members: Repository.license
Reason: Field
licensewill be replaced by a more detailed license object. -
Breaking
licensewill be removed. UseRepository.licenseInfoinstead.Affected schema members: RepositoryInfo.license
Reason: Field
licensewill be replaced by a more detailed license object. -
Breaking
reviewerwill be removed. UseReviewRequest.requestedReviewerinstead.Affected schema members: ReviewRequest.reviewer
Reason: Field
reviewerwill be changed in favor of returning a union type. -
Breaking
subjectwill be removed. UseReviewRequestRemovedEvent.requestedReviewerinstead.Affected schema members: ReviewRequestRemovedEvent.subject
Reason:
subjectwill be renamed. -
Breaking
subjectwill be removed. UseReviewRequestedEvent.requestedReviewerinstead.Affected schema members: ReviewRequestedEvent.subject
Reason:
subjectwill be renamed. -
Breaking
contributedRepositorieswill be removed. UseUser.repositoriesContributedToinstead.Affected schema members: User.contributedRepositories
Reason: Arguments for connection
contributedRepositoriesare getting redesigned.
-
Overview
-
Query
-
Mutations
- acceptTopicSuggestion
- addComment
- addProjectCard
- addProjectColumn
- addPullRequestReview
- addPullRequestReviewComment
- addReaction
- addStar
- createProject
- createTeamDiscussion
- createTeamDiscussionComment
- declineTopicSuggestion
- deleteProject
- deleteProjectCard
- deleteProjectColumn
- deletePullRequestReview
- deleteTeamDiscussion
- deleteTeamDiscussionComment
- dismissPullRequestReview
- lockLockable
- moveProjectCard
- moveProjectColumn
- removeOutsideCollaborator
- removeReaction
- removeStar
- requestReviews
- submitPullRequestReview
- updateProject
- updateProjectCard
- updateProjectColumn
- updatePullRequestReview
- updatePullRequestReviewComment
- updateSubscription
- updateTeamDiscussion
- updateTeamDiscussionComment
- updateTopics
-
Objects
- AddedToProjectEvent
- AssignedEvent
- BaseRefChangedEvent
- BaseRefForcePushedEvent
- Blame
- BlameRange
- Blob
- Bot
- ClosedEvent
- CodeOfConduct
- CommentDeletedEvent
- Commit
- CommitComment
- CommitCommentThread
- ConvertedNoteToIssueEvent
- CrossReferencedEvent
- DemilestonedEvent
- DependencyGraphDependency
- DependencyGraphManifest
- DeployKey
- DeployedEvent
- Deployment
- DeploymentStatus
- ExternalIdentity
- ExternalIdentitySamlAttributes
- ExternalIdentityScimAttributes
- GenericHovercardContext
- Gist
- GistComment
- GitActor
- GitHubMetadata
- GpgSignature
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- Hovercard
- Issue
- IssueComment
- Label
- LabeledEvent
- Language
- License
- LicenseRule
- LockedEvent
- MarketplaceCategory
- MarketplaceListing
- MentionedEvent
- MergedEvent
- Milestone
- MilestonedEvent
- MovedColumnsInProjectEvent
- Organization
- OrganizationIdentityProvider
- OrganizationInvitation
- OrganizationTeamsHovercardContext
- OrganizationsHovercardContext
- PageInfo
- Project
- ProjectCard
- ProjectColumn
- ProtectedBranch
- PublicKey
- PullRequest
- PullRequestCommit
- PullRequestReview
- PullRequestReviewComment
- PullRequestReviewThread
- PushAllowance
- RateLimit
- Reaction
- ReactionGroup
- Ref
- ReferencedEvent
- Release
- ReleaseAsset
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- Repository
- RepositoryInvitation
- RepositoryTopic
- RepositoryVulnerabilityAlert
- ReviewDismissalAllowance
- ReviewDismissedEvent
- ReviewRequest
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- SmimeSignature
- Status
- StatusContext
- SubscribedEvent
- SuggestedReviewer
- Tag
- Team
- TeamDiscussion
- TeamDiscussionComment
- TextMatch
- TextMatchHighlight
- Topic
- Tree
- TreeEntry
- UnassignedEvent
- UnknownSignature
- UnlabeledEvent
- UnlockedEvent
- UnsubscribedEvent
- User
- UserContentEdit
-
Interfaces
-
Enums
- CollaboratorAffiliation
- CommentAuthorAssociation
- CommentCannotUpdateReason
- DefaultRepositoryPermissionField
- DeploymentState
- DeploymentStatusState
- GistOrderField
- GistPrivacy
- GitSignatureState
- IssueOrderField
- IssuePubSubTopic
- IssueState
- LanguageOrderField
- LockReason
- MergeableState
- MilestoneOrderField
- MilestoneState
- OrderDirection
- OrganizationInvitationRole
- OrganizationInvitationType
- ProjectCardState
- ProjectOrderField
- ProjectState
- PullRequestPubSubTopic
- PullRequestReviewEvent
- PullRequestReviewState
- PullRequestState
- ReactionContent
- ReactionOrderField
- RefOrderField
- ReleaseOrderField
- RepositoryAffiliation
- RepositoryCollaboratorAffiliation
- RepositoryContributionType
- RepositoryLockReason
- RepositoryOrderField
- RepositoryPermission
- RepositoryPrivacy
- SearchType
- StarOrderField
- StatusState
- SubscriptionState
- TeamDiscussionCommentOrderField
- TeamDiscussionOrderField
- TeamMemberOrderField
- TeamMemberRole
- TeamMembershipType
- TeamOrderField
- TeamPrivacy
- TeamRepositoryOrderField
- TeamRole
- TopicSuggestionDeclineReason
-
Unions
-
Input Objects
-
Scalars