Skip to main content

2021 年 GraphQL 更改日志

GraphQL 架构从 2021 年更改。

Schema changes for 2021-12-15

The GraphQL schema includes these changes:

  • Type ProjectNextOrderField was added
  • Type RoleInOrganization was added
  • Type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput was added
  • Type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload was added
  • Argument viewerOrganizationRole: RoleInOrganization added to field Enterprise.organizations
  • Issue object implements ProjectNextOwner interface
  • Field projectNext was added to object type Issue
  • Field projectsNext was added to object type Issue
  • Field updateOrganizationAllowPrivateRepositoryForkingSetting was added to object type Mutation
  • Field membersCanForkPrivateRepositories was added to object type Organization
  • Argument query: String added to field Organization.projectsNext
  • Argument sortBy: ProjectNextOrderField added to field Organization.projectsNext
  • Argument query: String added to field ProjectNextOwner.projectsNext
  • Argument sortBy: ProjectNextOrderField added to field ProjectNextOwner.projectsNext
  • PullRequest object implements ProjectNextOwner interface
  • Field projectNext was added to object type PullRequest
  • Field projectsNext was added to object type PullRequest
  • Argument query: String added to field User.projectsNext
  • Argument sortBy: ProjectNextOrderField added to field User.projectsNext

Schema changes for 2021-12-11

The GraphQL schema includes these changes:

  • Type ConvertedToDiscussionEvent was added
  • Member ConvertedToDiscussionEvent was added to Union type IssueTimelineItems
  • Enum value 'CONVERTED_TO_DISCUSSION_EVENTwas added to enumIssueTimelineItemsItemType'
  • Member ConvertedToDiscussionEvent was added to Union type PullRequestTimelineItems
  • Enum value 'CONVERTED_TO_DISCUSSION_EVENTwas added to enumPullRequestTimelineItemsItemType'

Schema changes for 2021-12-09

The GraphQL schema includes these changes:

  • Argument filterByAssignable: Boolean added to field Repository.discussionCategories

Schema changes for 2021-12-03

The GraphQL schema includes these changes:

  • Type BranchActorAllowanceActor was added
  • Type BypassPullRequestAllowance was added
  • Type BypassPullRequestAllowanceConnection was added
  • Type BypassPullRequestAllowanceEdge was added
  • Type ContentAttachment was removed
  • Type ContentReference was removed
  • Type CreateContentAttachmentInput was removed
  • Type CreateContentAttachmentPayload was removed
  • Field bypassPullRequestAllowances was added to object type BranchProtectionRule
  • Input field bypassPullRequestActorIds was added to input object type CreateBranchProtectionRuleInput
  • Field createContentAttachment was removed from object type Mutation
  • Input field bypassPullRequestActorIds was added to input object type UpdateBranchProtectionRuleInput

Schema changes for 2021-11-18

The GraphQL schema includes these changes:

  • Type RequiredStatusCheckDescription was added
  • Type RequiredStatusCheckInput was added
  • Field requiredStatusChecks was added to object type BranchProtectionRule
  • Input field requiredStatusChecks was added to input object type CreateBranchProtectionRuleInput
  • Input field requiredStatusChecks was added to input object type UpdateBranchProtectionRuleInput

Schema changes for 2021-11-16

The GraphQL schema includes these changes:

  • Argument followRenames: Boolean added to field Organization.repository
  • Argument followRenames: Boolean added to field Query.repository
  • Argument followRenames: Boolean added to field RepositoryOwner.repository
  • Argument followRenames: Boolean added to field User.repository

Schema changes for 2021-11-10

The GraphQL schema includes these changes:

  • Type UpdatePullRequestBranchInput was added
  • Type UpdatePullRequestBranchPayload was added
  • Field updatePullRequestBranch was added to object type Mutation

Schema changes for 2021-10-29

The GraphQL schema includes these changes:

  • Type DismissReason was added
  • Type DismissRepositoryVulnerabilityAlertInput was added
  • Type DismissRepositoryVulnerabilityAlertPayload was added
  • Field dismissRepositoryVulnerabilityAlert was added to object type Mutation

Schema changes for 2021-10-22

The GraphQL schema includes these changes:

  • Type AddProjectNextItemInput was added
  • Type AddProjectNextItemPayload was added
  • Type DeleteProjectNextItemInput was added
  • Type DeleteProjectNextItemPayload was added
  • Type OIDCProvider was added
  • Type OIDCProviderType was added
  • Type ProjectNext was added
  • Type ProjectNextConnection was added
  • Type ProjectNextEdge was added
  • Type ProjectNextField was added
  • Type ProjectNextFieldConnection was added
  • Type ProjectNextFieldEdge was added
  • Type ProjectNextItem was added
  • Type ProjectNextItemConnection was added
  • Type ProjectNextItemContent was added
  • Type ProjectNextItemEdge was added
  • Type ProjectNextItemFieldValue was added
  • Type ProjectNextItemFieldValueConnection was added
  • Type ProjectNextItemFieldValueEdge was added
  • Type ProjectNextOwner was added
  • Type UpdateProjectNextItemFieldInput was added
  • Type UpdateProjectNextItemFieldPayload was added
  • Field oidcProvider was added to object type EnterpriseOwnerInfo
  • Field addProjectNextItem was added to object type Mutation
  • Field deleteProjectNextItem was added to object type Mutation
  • Field updateProjectNextItemField was added to object type Mutation
  • Organization object implements ProjectNextOwner interface
  • Field projectNext was added to object type Organization
  • Field projectsNext was added to object type Organization
  • User object implements ProjectNextOwner interface
  • Field projectNext was added to object type User
  • Field projectsNext was added to object type User

Schema changes for 2021-10-04

The GraphQL schema includes these changes:

  • Field repositories was added to object type Topic

Schema changes for 2021-09-23

The GraphQL schema includes these changes:

  • Enum value RUST was added to enum SecurityAdvisoryEcosystem

Schema changes for 2021-09-15

The GraphQL schema includes these changes:

  • Type UpdateSponsorshipPreferencesInput was added
  • Type UpdateSponsorshipPreferencesPayload was added
  • Field updateSponsorshipPreferences was added to object type Mutation

Schema changes for 2021-09-14

The GraphQL schema includes these changes:

  • Field forkingAllowed was added to object type Repository

Schema changes for 2021-09-09

The GraphQL schema includes these changes:

  • Type 'Base64String' was added
  • Type CancelSponsorshipInput was added
  • Type CancelSponsorshipPayload was added
  • Type CommitMessage was added
  • Type CommittableBranch was added
  • Type CreateCommitOnBranchInput was added
  • Type CreateCommitOnBranchPayload was added
  • Type FileAddition was added
  • Type FileChanges was added
  • Type FileDeletion was added
  • Field cancelSponsorship was added to object type Mutation
  • Field createCommitOnBranch was added to object type Mutation
  • Field sponsorsListing (deprecated) was removed from object type Query

Schema changes for 2021-09-03

The GraphQL schema includes these changes:

  • Field sponsorshipForViewerAsSponsorable was added to object type