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 2018-12-14

  • December 14, 2018
  • Avatar for hubot hubot

The GraphQL schema includes these changes:

  • Field popularPullRequestContribution was added to object type ContributionsCollection
  • Field popularIssueContribution was added to object type ContributionsCollection
  • Field mostRecentCollectionWithoutActivity was added to object type ContributionsCollection
  • Field joinedGitHubContribution was added to object type ContributionsCollection
  • Field hasActivityInThePast was added to object type ContributionsCollection
  • Type CreatedPullRequestContributionEdge was added
  • Type CreatedIssueContributionEdge was added
  • Type CreatedPullRequestContribution was added
  • Type CreatedIssueContribution was added
  • Type Contribution was added
  • Type JoinedGitHubContribution was added

GraphQL Schema Changes for 2018-12-13

  • December 13, 2018
  • Avatar for hubot hubot

The GraphQL schema includes these changes:

  • Enum value UNPINNED_EVENT was added to enum IssueTimelineItemsItemType
  • Enum value PINNED_EVENT was added to enum IssueTimelineItemsItemType
  • Union member UnpinnedEvent was added to Union type IssueTimelineItems
  • Union member PinnedEvent was added to Union type IssueTimelineItems
  • Enum value UNPINNED_EVENT was added to enum PullRequestTimelineItemsItemType
  • Enum value PINNED_EVENT was added to enum PullRequestTimelineItemsItemType
  • Union member UnpinnedEvent was added to Union type PullRequestTimelineItems
  • Union member PinnedEvent was added to Union type PullRequestTimelineItems
  • Type UnpinIssueInput was added
  • Type UnpinIssuePayload was added
  • Type PinIssueInput was added
  • Type PinIssuePayload was added
  • Type UnpinnedEvent was added
  • Type PinnedEvent was added

The Pinned Issues Preview preview includes these changes:

  • Field unpinIssue was added to object type Mutation
  • Field pinIssue was added to object type Mutation
  • Field pinnedIssues was added to object type Repository
  • Type PinnedIssue was added
  • Type PinnedIssueEdge was added
  • Type PinnedIssueConnection was added

GraphQL Schema Changes for 2018-12-11

  • December 11, 2018
  • Avatar for hubot hubot

The GraphQL schema includes these changes:

  • Field tagName was added to object type Release

GraphQL Schema Changes for 2018-12-06

The GraphQL schema includes these changes:

  • Type CreateContentAttachmentInput was added
  • Type ContentReference was added
  • Type ContentAttachment was added
  • Type CreateContentAttachmentPayload was added

The Create content attachments preview includes these changes:

  • Field createContentAttachment was added to object type Mutation

GraphQL Schema Changes for 2018-12-03

The following changes will be made to the schema:

  • On member Organization.members: members will be removed. Use Organization.membersWithRole instead. Effective 2019-04-01.

The GraphQL schema includes these changes:

  • Field membersWithRole was added to object type Organization
  • Type OrganizationMemberRole was added
  • Type OrganizationMemberEdge was added
  • Type OrganizationMemberConnection was added

GraphQL Schema Changes for 2018-12-01

The GraphQL schema includes these changes:

  • Field contributionsCollection was added to object type User
  • Type ContributionCalendarDay was added
  • Type ContributionCalendarWeek was added
  • Type Date was added
  • Type ContributionCalendarMonth was added
  • Type ContributionCalendar was added
  • Type ContributionsCollection was added

GraphQL Schema Changes for 2018-11-16

  • November 16, 2018
  • Avatar for hubot hubot

The following changes will be made to the schema:

  • On member Migration.uploadUrlTemplate: uploadUrlTemplate will be removed. Use uploadUrl instead. Effective 2019-04-01.

GraphQL Schema Changes for 2018-11-12

  • November 12, 2018
  • Avatar for hubot hubot

The following changes will be made to the schema:

  • On member AddProjectCardPayload.projectColumn: Type for projectColumn will change from Project! to ProjectColumn. Effective 2019-01-01.

The GraphQL schema includes these changes:

  • Field commitOid was added to object type Deployment

GraphQL Schema Changes for 2018-11-07

The GraphQL schema includes these changes:

  • Enum value TRANSFERRED_EVENT was added to enum IssueTimelineItemsItemType
  • Union member TransferredEvent was added to Union type IssueTimelineItems
  • Union member TransferredEvent was added to Union type IssueTimelineItem
  • GistComment object implements Minimizable interface
  • Enum value TRANSFERRED_EVENT was added to enum PullRequestTimelineItemsItemType
  • Union member TransferredEvent was added to Union type PullRequestTimelineItems
  • PullRequestReviewComment object implements Minimizable interface
  • CommitComment object implements Minimizable interface
  • Commit object implements UniformResourceLocatable interface
  • IssueComment object implements Minimizable interface
  • Enum value DENIED was added to enum CommentCannotUpdateReason
  • Field viewerCanMinimize was added to object type GistComment
  • Field minimizedReason was added to object type GistComment
  • Field isMinimized was added to object type GistComment
  • Field viewerCanMinimize was added to object type PullRequestReviewComment
  • Field minimizedReason was added to object type PullRequestReviewComment
  • Field isMinimized was added to object type PullRequestReviewComment
  • Field viewerCanMinimize was added to object type CommitComment
  • Field minimizedReason was added to object type CommitComment
  • Field isMinimized was added to object type CommitComment
  • Field viewerCanMinimize was added to object type IssueComment
  • Field minimizedReason was added to object type IssueComment
  • Field isMinimized was added to object type IssueComment
  • Type UnminimizeCommentInput was added
  • Type UnminimizeCommentPayload was added
  • Type ReportedContentClassifiers was added
  • Type MinimizeCommentInput was added
  • Type MinimizeCommentPayload was added
  • Type TransferredEvent was added

The Minimize Comments Preview preview includes these changes:

  • Field unminimizeComment was added to object type Mutation
  • Field minimizeComment was added to object type Mutation
  • Type Minimizable was added

GraphQL Schema Changes for 2018-10-24

The Pull Requests Preview preview includes these changes:

  • Field updatePullRequest was added to object type Mutation
  • Field reopenPullRequest was added to object type Mutation
  • Field mergePullRequest was added to object type Mutation
  • Field deletePullRequestReviewComment was added to object type Mutation
  • Field createPullRequest was added to object type Mutation
  • Field closePullRequest was added to object type Mutation
  • Field files was added to object type PullRequest
  • Type UpdatePullRequestInput was added
  • Type UpdatePullRequestPayload was added
  • Type ReopenPullRequestInput was added
  • Type ReopenPullRequestPayload was added
  • Type MergePullRequestInput was added
  • Type MergePullRequestPayload was added
  • Type DeletePullRequestReviewCommentInput was added
  • Type DeletePullRequestReviewCommentPayload was added
  • Type CreatePullRequestInput was added
  • Type CreatePullRequestPayload was added
  • Type ClosePullRequestInput was added
  • Type ClosePullRequestPayload was added
  • Type PullRequestChangedFile was added
  • Type PullRequestChangedFileEdge was added
  • Type PullRequestChangedFileConnection was added