Skip to main content
Skip to content

2018 の GraphQL 変更ログ

GraphQL スキーマが 2018 年から変更されました。

この記事で

Schema changes for 2018-12-21

The GraphQL schema includes these changes:

  • Field firstPullRequestContribution was added to object type ContributionsCollection
  • Field firstIssueContribution was added to object type ContributionsCollection
  • Type CreatedPullRequestOrRestrictedContribution was added
  • Type RestrictedContribution was added
  • Type CreatedIssueOrRestrictedContribution was added

Schema changes for 2018-12-20

The GraphQL schema includes these changes:

  • Argument first: Int added to field Topic.relatedTopics

Schema changes for 2018-12-18

The Hovercards preview includes these changes:

  • Field hovercard was added to object type PullRequest
  • Field hovercard was added to object type Issue
  • Type ViewerHovercardContext was added
  • Type ReviewStatusHovercardContext was added

Schema changes for 2018-12-14

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

Schema changes for 2018-12-13

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](/graphql/overview/schema-previews#pinned-issues-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

Schema changes for 2018-12-11

The GraphQL schema includes these changes:

  • Field tagName was added to object type Release

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](/graphql/overview/schema-previews#create-content-attachments-preview) includes these changes:

  • Field createContentAttachment was added to object type Mutation

Schema changes for 2018-12-03

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

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.

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

Schema changes for 2018-11-16

The following changes will be made to the schema:

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

Schema changes for 2018-11-12

The GraphQL schema includes these changes:

  • Field commitOid was added to object type Deployment

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.

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 includes these changes:

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

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

Schema changes for 2018-10-19

The GraphQL schema includes these changes:

  • Argument ownerAffiliations: [RepositoryAffiliation] added to field Repository.forks
  • Argument ownerAffiliations: [RepositoryAffiliation] added to field RepositoryOwner.repositories
  • Argument ownerAffiliations: [RepositoryAffiliation] added to field RepositoryOwner.pinnedRepositories
  • Argument ownerAffiliations: [RepositoryAffiliation] added to field User.watching
  • Argument ownerAffiliations: [RepositoryAffiliation] added to field User.repositories
  • Argument ownerAffiliations: [RepositoryAffiliation] added to field User.pinnedRepositories
  • Argument ownerAffiliations: [RepositoryAffiliation] added to field Organization.repositories
  • Argument ownerAffiliations: [RepositoryAffiliation] added to field Organization.pinnedRepositories

Schema changes for 2018-10-16

The Access to GitHub Security Advisories preview includes these changes: