From 68960f49b867bfcd2c149edf32edc58994cbba71 Mon Sep 17 00:00:00 2001 From: Rachael Rose Renk <91027132+rachaelrenk@users.noreply.github.com> Date: Fri, 28 Mar 2025 12:50:43 -0600 Subject: [PATCH 1/3] Create direct-data-access.md (#55037) From 36eaafca5e89209457217d119320e5cd11d293bf Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Fri, 28 Mar 2025 12:16:58 -0700 Subject: [PATCH 2/3] Change 418 status to 429 (#55034) --- src/shielding/middleware/rate-limit.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shielding/middleware/rate-limit.ts b/src/shielding/middleware/rate-limit.ts index e22f8a0f44f3..e3e1712216a7 100644 --- a/src/shielding/middleware/rate-limit.ts +++ b/src/shielding/middleware/rate-limit.ts @@ -72,8 +72,7 @@ export function createRateLimiter(max = MAX, isAPILimiter = false) { res.status(options.statusCode).send(options.message) }, - // Temporary so that we can see what is coming from Fastly v app level - statusCode: 418, // "i'm a teapot" + message: 'Express rate limiter: Too Many Requests', }) } From d14c52c1f6d90148a3e373525e9941019cb3aa5c Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Fri, 28 Mar 2025 12:35:56 -0700 Subject: [PATCH 3/3] Re-enabled graphql pipeline (#55033) --- src/graphql/data/fpt/changelog.json | 88 ++ .../fpt/graphql_upcoming_changes.public.yml | 146 ++ src/graphql/data/fpt/schema.docs.graphql | 790 ++++++++++- src/graphql/data/fpt/schema.json | 1196 ++++++++++++++++- src/graphql/data/fpt/upcoming-changes.json | 154 +++ .../ghec/graphql_upcoming_changes.public.yml | 146 ++ src/graphql/data/ghec/schema.docs.graphql | 790 ++++++++++- src/graphql/data/ghec/schema.json | 1196 ++++++++++++++++- src/graphql/data/ghec/upcoming-changes.json | 154 +++ src/graphql/scripts/build-changelog.js | 1 + 10 files changed, 4571 insertions(+), 90 deletions(-) diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index ee9dba016f9d..5bf8721e0f51 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,92 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type CreateIssueTypeInput was added

", + "

Type CreateIssueTypePayload was added

", + "

Type DeleteIssueTypeInput was added

", + "

Type DeleteIssueTypePayload was added

", + "

Type IssueType was added

", + "

Type IssueTypeAddedEvent was added

", + "

Type IssueTypeChangedEvent was added

", + "

Type IssueTypeColor was added

", + "

Type IssueTypeConnection was added

", + "

Type IssueTypeEdge was added

", + "

Type IssueTypeOrder was added

", + "

Type IssueTypeOrderField was added

", + "

Type IssueTypeRemovedEvent was added

", + "

Type PullRequestAllowedMergeMethods was added

", + "

Type RepositoryVulnerabilityAlertDependencyRelationship was added

", + "

Type UpdateIssueIssueTypeInput was added

", + "

Type UpdateIssueIssueTypePayload was added

", + "

Type UpdateIssueTypeInput was added

", + "

Type UpdateIssueTypePayload was added

", + "

Input field issueTypeId of type ID was added to input object type CreateIssueInput

", + "

Field packageUrl was added to object type DependencyGraphDependency

", + "

Field issueType was added to object type Issue

", + "

Field type was added to object type IssueTemplate

", + "

Member IssueTypeAddedEvent was added to Union type IssueTimelineItems

", + "

Member IssueTypeChangedEvent was added to Union type IssueTimelineItems

", + "

Member IssueTypeRemovedEvent was added to Union type IssueTimelineItems

", + "

Enum value 'ISSUE_TYPE_ADDED_EVENTwas added to enumIssueTimelineItemsItemType'

", + "

Enum value 'ISSUE_TYPE_CHANGED_EVENTwas added to enumIssueTimelineItemsItemType'

", + "

Enum value 'ISSUE_TYPE_REMOVED_EVENTwas added to enumIssueTimelineItemsItemType'

", + "

Field descriptionHTML was added to object type Milestone

", + "

Field createIssueType was added to object type Mutation

", + "

Field deleteIssueType was added to object type Mutation

", + "

Field updateIssueIssueType was added to object type Mutation

", + "

Field updateIssueType was added to object type Mutation

", + "

Field issueTypes was added to object type Organization

", + "

Enum value 'ISSUE_TYPEwas added to enumProjectV2FieldType'

", + "

Field automaticCopilotCodeReviewEnabled was added to object type PullRequestParameters

", + "

Field PullRequestParameters.allowedMergeMethods changed type from '[String!]to[PullRequestAllowedMergeMethods!]'

", + "

Input field automaticCopilotCodeReviewEnabled of type Boolean was added to input object type PullRequestParametersInput

", + "

Input field PullRequestParametersInput.allowedMergeMethods changed type from '[String!]to[PullRequestAllowedMergeMethods!]'

", + "

Member IssueTypeAddedEvent was added to Union type PullRequestTimelineItems

", + "

Member IssueTypeChangedEvent was added to Union type PullRequestTimelineItems

", + "

Member IssueTypeRemovedEvent was added to Union type PullRequestTimelineItems

", + "

Enum value 'ISSUE_TYPE_ADDED_EVENTwas added to enumPullRequestTimelineItemsItemType'

", + "

Enum value 'ISSUE_TYPE_CHANGED_EVENTwas added to enumPullRequestTimelineItemsItemType'

", + "

Enum value 'ISSUE_TYPE_REMOVED_EVENTwas added to enumPullRequestTimelineItemsItemType'

", + "

Field issueType was added to object type Repository

", + "

Field issueTypes was added to object type Repository

", + "

Field dependencyRelationship was added to object type RepositoryVulnerabilityAlert

", + "

Enum value 'ISSUE_ADVANCEDwas added to enumSearchType'

", + "

Input field issueTypeId of type ID was added to input object type UpdateIssueInput

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [ + { + "title": "The following changes will be made to the schema:", + "changes": [ + "

On member AddedToProjectEvent.project:project will be removed. Effective 2025-04-01.

", + "

On member ConvertedNoteToIssueEvent.project:project will be removed. Effective 2025-04-01.

", + "

On member CreateIssueTypeInput.isPrivate:isPrivate will be removed. Effective 2025-04-01.

", + "

On member Issue.projectCards:projectCards will be removed. Effective 2025-04-01.

", + "

On member IssueType.isPrivate:isPrivate will be removed. Effective 2025-04-01.

", + "

On member MovedColumnsInProjectEvent.project:project will be removed. Effective 2025-04-01.

", + "

On member Organization.viewerCanCreateProjects:viewerCanCreateProjects will be removed. Effective 2025-04-01.

", + "

On member ProjectCardArchivedState.ARCHIVED:ARCHIVED will be removed. Effective 2025-04-01.

", + "

On member ProjectCardArchivedState.NOT_ARCHIVED:NOT_ARCHIVED will be removed. Effective 2025-04-01.

", + "

On member ProjectOwner.id:id will be removed. Effective 2025-04-01.

", + "

On member ProjectOwner.projectsResourcePath:projectsResourcePath will be removed. Effective 2025-04-01.

", + "

On member ProjectOwner.projectsUrl:projectsUrl will be removed. Effective 2025-04-01.

", + "

On member ProjectOwner.viewerCanCreateProjects:viewerCanCreateProjects will be removed. Effective 2025-04-01.

", + "

On member PullRequest.projectCards:projectCards will be removed. Effective 2025-04-01.

", + "

On member RemovedFromProjectEvent.project:project will be removed. Effective 2025-04-01.

", + "

On member Repository.viewerCanCreateProjects:viewerCanCreateProjects will be removed. Effective 2025-04-01.

", + "

On member UpdateIssueTypeInput.isPrivate:isPrivate will be removed. Effective 2025-04-01.

", + "

On member User.viewerCanCreateProjects:viewerCanCreateProjects will be removed. Effective 2025-04-01.

", + "

On member SearchType.ISSUE_ADVANCED:ISSUE_ADVANCED will be removed. Effective 2025-09-04.

" + ] + } + ], + "date": "2025-03-27" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml index e19c30dd14a9..d54ae169ae9f 100644 --- a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml @@ -674,6 +674,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: AddedToProjectEvent.project + description: '`project` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: AddedToProjectEvent.projectCard description: '`projectCard` will be removed.' reason: @@ -730,6 +738,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: vaindil + - location: ConvertedNoteToIssueEvent.project + description: '`project` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: ConvertedNoteToIssueEvent.projectCard description: '`projectCard` will be removed.' reason: @@ -738,6 +754,12 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: CreateIssueTypeInput.isPrivate + description: '`isPrivate` will be removed.' + reason: Private issue types are being deprecated and can no longer be created. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/issues - location: Enterprise.announcement description: '`announcement` will be removed. Use the `announcementBanner` object @@ -802,6 +824,20 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: authentication + - location: Issue.projectCards + description: '`projectCards` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: IssueType.isPrivate + description: '`isPrivate` will be removed.' + reason: Private issue types are being deprecated and can no longer be created. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/issues - location: MovedColumnsInProjectEvent.databaseId description: '`databaseId` will be removed.' reason: @@ -818,6 +854,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: MovedColumnsInProjectEvent.project + description: '`project` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: MovedColumnsInProjectEvent.projectCard description: '`projectCard` will be removed.' reason: @@ -1018,6 +1062,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: Organization.viewerCanCreateProjects + description: '`viewerCanCreateProjects` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: Project.body description: '`body` will be removed.' reason: @@ -1250,6 +1302,22 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: ProjectCardArchivedState.ARCHIVED + description: '`ARCHIVED` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: ProjectCardArchivedState.NOT_ARCHIVED + description: '`NOT_ARCHIVED` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: ProjectColumn.cards description: '`cards` will be removed.' reason: @@ -1330,6 +1398,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: ProjectOwner.id + description: '`id` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: ProjectOwner.project description: '`project` will be removed.' reason: @@ -1346,6 +1422,30 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: ProjectOwner.projectsResourcePath + description: '`projectsResourcePath` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: ProjectOwner.projectsUrl + description: '`projectsUrl` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: ProjectOwner.viewerCanCreateProjects + description: '`viewerCanCreateProjects` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: ProjectProgress.doneCount description: '`doneCount` will be removed.' reason: @@ -1442,6 +1542,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: dewski + - location: PullRequest.projectCards + description: '`projectCards` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: RemovedFromProjectEvent.databaseId description: '`databaseId` will be removed.' reason: @@ -1450,6 +1558,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: RemovedFromProjectEvent.project + description: '`project` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: RemovedFromProjectEvent.projectColumnName description: '`projectColumnName` will be removed.' reason: @@ -1474,6 +1590,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: Repository.viewerCanCreateProjects + description: '`viewerCanCreateProjects` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: SearchShortcutQueryProjectTerm.project description: '`project` will be removed.' reason: @@ -1482,6 +1606,12 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: UpdateIssueTypeInput.isPrivate + description: '`isPrivate` will be removed.' + reason: Private issue types are being deprecated and can no longer be created. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/issues - location: User.project description: '`project` will be removed.' reason: @@ -1498,6 +1628,22 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: User.viewerCanCreateProjects + description: '`viewerCanCreateProjects` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: SearchType.ISSUE_ADVANCED + description: '`ISSUE_ADVANCED` will be removed.' + reason: + Search for issues and pull requests will be overridden by advanced search + on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/. + date: '2025-09-04' + criticality: breaking + owner: github/issues_advanced_search - location: SecurityAdvisory.cvss description: '`cvss` will be removed. New `cvss_severities` field will now contain diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 5a682b411f59..98cfcfd421f0 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -1,7 +1,3 @@ -directive @requiredCapabilities( - requiredCapabilities: [String!] -) on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION - """ Marks an element of a GraphQL schema as only available via a preview header """ @@ -1289,6 +1285,9 @@ type AddedToProjectEvent implements Node { Project referenced by event. """ project: Project + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Project card referenced by this project event. @@ -6920,6 +6919,9 @@ type ConvertedNoteToIssueEvent implements Node { Project referenced by event. """ project: Project + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Project card referenced by this project event. @@ -7753,6 +7755,11 @@ input CreateIssueInput { """ issueTemplate: String + """ + The Node ID of the issue type for this issue + """ + issueTypeId: ID @possibleTypes(concreteTypes: ["IssueType"]) + """ An array of Node IDs of labels for this issue. """ @@ -7799,6 +7806,65 @@ type CreateIssuePayload { issue: Issue } +""" +Autogenerated input type of CreateIssueType +""" +input CreateIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Color for the issue type + """ + color: IssueTypeColor + + """ + Description of the new issue type + """ + description: String + + """ + Whether or not the issue type is enabled on the org level + """ + isEnabled: Boolean! + + """ + Whether or not the issue type is restricted to issues in private repositories + + **Upcoming Change on 2025-04-01 UTC** + **Description:** `isPrivate` will be removed. + **Reason:** Private issue types are being deprecated and can no longer be created. + """ + isPrivate: Boolean + + """ + Name of the new issue type + """ + name: String! + + """ + The ID for the organization on which the issue type is created + """ + ownerId: ID! @possibleTypes(concreteTypes: ["Organization"]) +} + +""" +Autogenerated return type of CreateIssueType. +""" +type CreateIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created issue type + """ + issueType: IssueType +} + """ Autogenerated input type of CreateLabel """ @@ -9642,6 +9708,36 @@ type DeleteIssuePayload { repository: Repository } +""" +Autogenerated input type of DeleteIssueType +""" +input DeleteIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue type to delete + """ + issueTypeId: ID! @possibleTypes(concreteTypes: ["IssueType"]) +} + +""" +Autogenerated return type of DeleteIssueType. +""" +type DeleteIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the deleted issue type + """ + deletedIssueTypeId: ID +} + """ Autogenerated input type of DeleteLabel """ @@ -10318,6 +10414,11 @@ type DependencyGraphDependency { """ packageName: String! + """ + Public preview: The dependency package URL + """ + packageUrl: URI + """ Public preview: The relationship of the dependency. Can be direct, transitive, or unknown """ @@ -16701,7 +16802,8 @@ input FileExtensionRestrictionParametersInput { } """ -Prevent commits that include changes in specified file paths from being pushed to the commit graph. +Prevent commits that include changes in specified file and folder paths from +being pushed to the commit graph. This includes absolute paths that contain file names. """ type FilePathRestrictionParameters { """ @@ -16711,7 +16813,8 @@ type FilePathRestrictionParameters { } """ -Prevent commits that include changes in specified file paths from being pushed to the commit graph. +Prevent commits that include changes in specified file and folder paths from +being pushed to the commit graph. This includes absolute paths that contain file names. """ input FilePathRestrictionParametersInput { """ @@ -18538,6 +18641,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ isReadByViewer: Boolean + """ + The issue type for this Issue + """ + issueType: IssueType + """ A list of labels associated with the object. """ @@ -18672,6 +18780,9 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ last: Int ): ProjectCardConnection! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ List of project items associated with this issue. @@ -19687,6 +19798,11 @@ type IssueTemplate { The suggested issue title. """ title: String + + """ + The suggested issue type + """ + type: IssueType } """ @@ -19768,6 +19884,9 @@ union IssueTimelineItems = | DemilestonedEvent | DisconnectedEvent | IssueComment + | IssueTypeAddedEvent + | IssueTypeChangedEvent + | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent @@ -19907,6 +20026,21 @@ enum IssueTimelineItemsItemType { """ ISSUE_COMMENT + """ + Represents a 'issue_type_added' event on a given issue. + """ + ISSUE_TYPE_ADDED_EVENT + + """ + Represents a 'issue_type_changed' event on a given issue. + """ + ISSUE_TYPE_CHANGED_EVENT + + """ + Represents a 'issue_type_removed' event on a given issue. + """ + ISSUE_TYPE_REMOVED_EVENT + """ Represents a 'labeled' event on a given issue or pull request. """ @@ -20028,6 +20162,289 @@ enum IssueTimelineItemsItemType { USER_BLOCKED_EVENT } +""" +Represents the type of Issue. +""" +type IssueType implements Node { + """ + The issue type's color. + """ + color: IssueTypeColor! + + """ + The issue type's description. + """ + description: String + + """ + The Node ID of the IssueType object + """ + id: ID! + + """ + The issue type's enabled state. + """ + isEnabled: Boolean! + + """ + Whether the issue type is publicly visible. + """ + isPrivate: Boolean! + @deprecated( + reason: "Private issue types are being deprecated and can no longer be created. Removal on 2025-04-01 UTC." + ) + + """ + The issues with this issue type in the given repository. + """ + issues( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Filtering options for issues returned from the connection. + """ + filterBy: IssueFilters + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + A list of label names to filter the pull requests by. + """ + labels: [String!] + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issues returned from the connection. + """ + orderBy: IssueOrder + + """ + Target repository to load the issues from. + """ + repositoryId: ID! + + """ + A list of states to filter the issues by. + """ + states: [IssueState!] + ): IssueConnection! + + """ + The issue type's name. + """ + name: String! +} + +""" +Represents a 'issue_type_added' event on a given issue. +""" +type IssueTypeAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the IssueTypeAddedEvent object + """ + id: ID! + + """ + The issue type added. + """ + issueType: IssueType +} + +""" +Represents a 'issue_type_changed' event on a given issue. +""" +type IssueTypeChangedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the IssueTypeChangedEvent object + """ + id: ID! + + """ + The issue type added. + """ + issueType: IssueType + + """ + The issue type removed. + """ + prevIssueType: IssueType +} + +""" +The possible color for an issue type +""" +enum IssueTypeColor { + """ + blue + """ + BLUE + + """ + gray + """ + GRAY + + """ + green + """ + GREEN + + """ + orange + """ + ORANGE + + """ + pink + """ + PINK + + """ + purple + """ + PURPLE + + """ + red + """ + RED + + """ + yellow + """ + YELLOW +} + +""" +The connection type for IssueType. +""" +type IssueTypeConnection { + """ + A list of edges. + """ + edges: [IssueTypeEdge] + + """ + A list of nodes. + """ + nodes: [IssueType] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type IssueTypeEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: IssueType +} + +""" +Ordering options for issue types connections +""" +input IssueTypeOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order issue types by. + """ + field: IssueTypeOrderField! +} + +""" +Properties by which issue type connections can be ordered. +""" +enum IssueTypeOrderField { + """ + Order issue types by creation time + """ + CREATED_AT + + """ + Order issue types by name + """ + NAME +} + +""" +Represents a 'issue_type_removed' event on a given issue. +""" +type IssueTypeRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the IssueTypeRemovedEvent object + """ + id: ID! + + """ + The issue type removed. + """ + issueType: IssueType +} + """ Represents a user signing up for a GitHub account. """ @@ -21491,27 +21908,27 @@ type MarketplaceListingEdge { } """ -Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. +Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. """ type MaxFilePathLengthParameters { """ - The maximum amount of characters allowed in file paths + The maximum amount of characters allowed in file paths. """ maxFilePathLength: Int! } """ -Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. +Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. """ input MaxFilePathLengthParametersInput { """ - The maximum amount of characters allowed in file paths + The maximum amount of characters allowed in file paths. """ maxFilePathLength: Int! } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit graph. +Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. """ type MaxFileSizeParameters { """ @@ -21521,7 +21938,7 @@ type MaxFileSizeParameters { } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit graph. +Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. """ input MaxFileSizeParametersInput { """ @@ -22766,6 +23183,11 @@ type Milestone implements Closable & Node & UniformResourceLocatable { """ description: String + """ + The HTML rendered description of the milestone using GitHub Flavored Markdown. + """ + descriptionHTML: String + """ Identifies the due date of the milestone. """ @@ -23234,6 +23656,9 @@ type MovedColumnsInProjectEvent implements Node { Project referenced by event. """ project: Project + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Project card referenced by this project event. @@ -23886,6 +24311,16 @@ type Mutation { input: CreateIssueInput! ): CreateIssuePayload + """ + Creates a new issue type + """ + createIssueType( + """ + Parameters for CreateIssueType + """ + input: CreateIssueTypeInput! + ): CreateIssueTypePayload + """ Creates a new label. """ @@ -24160,6 +24595,16 @@ type Mutation { input: DeleteIssueCommentInput! ): DeleteIssueCommentPayload + """ + Delete an issue type + """ + deleteIssueType( + """ + Parameters for DeleteIssueType + """ + input: DeleteIssueTypeInput! + ): DeleteIssueTypePayload + """ Deletes a label. """ @@ -25475,6 +25920,26 @@ type Mutation { input: UpdateIssueCommentInput! ): UpdateIssueCommentPayload + """ + Updates the issue type on an issue + """ + updateIssueIssueType( + """ + Parameters for UpdateIssueIssueType + """ + input: UpdateIssueIssueTypeInput! + ): UpdateIssueIssueTypePayload + + """ + Update an issue type + """ + updateIssueType( + """ + Parameters for UpdateIssueType + """ + input: UpdateIssueTypeInput! + ): UpdateIssueTypePayload + """ Updates an existing label. """ @@ -29776,6 +30241,36 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No """ isVerified: Boolean! + """ + A list of the organization's issue types + """ + issueTypes( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issue types returned from the connection. + """ + orderBy: IssueTypeOrder = {field: CREATED_AT, direction: ASC} + ): IssueTypeConnection + """ Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. @@ -30914,6 +31409,9 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No Can the current viewer create new projects on this owner. """ viewerCanCreateProjects: Boolean! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Viewer can create repositories on this organization @@ -33709,11 +34207,17 @@ enum ProjectCardArchivedState { A project card that is archived """ ARCHIVED + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ A project card that is not archived """ NOT_ARCHIVED + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) } """ @@ -34069,6 +34573,9 @@ interface ProjectOwner { The Node ID of the ProjectOwner object """ id: ID! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Find project by number. @@ -34130,16 +34637,25 @@ interface ProjectOwner { The HTTP path listing owners projects """ projectsResourcePath: URI! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ The HTTP URL listing owners projects """ projectsUrl: URI! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Can the current viewer create new projects on this owner. """ viewerCanCreateProjects: Boolean! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) } """ @@ -34940,6 +35456,11 @@ enum ProjectV2FieldType { """ DATE + """ + Issue type + """ + ISSUE_TYPE + """ Iteration """ @@ -37798,6 +38319,9 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ last: Int ): ProjectCardConnection! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ List of project items associated with this pull request. @@ -38282,6 +38806,26 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab viewerSubscription: SubscriptionState } +""" +Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. +""" +enum PullRequestAllowedMergeMethods { + """ + Add all commits from the head branch to the base branch with a merge commit. + """ + MERGE + + """ + Add all commits from the head branch onto the base branch individually. + """ + REBASE + + """ + Combine all commits from the head branch into a single commit in the base branch. + """ + SQUASH +} + """ The possible methods for updating a pull request's head branch with the base branch. """ @@ -38635,7 +39179,13 @@ type PullRequestParameters { Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. """ - allowedMergeMethods: [String!] + allowedMergeMethods: [PullRequestAllowedMergeMethods!] + + """ + This field is in beta and subject to change. Automatically request review from + Copilot for new pull requests, if the author has access to Copilot code review. + """ + automaticCopilotCodeReviewEnabled: Boolean! """ New, reviewable commits pushed will dismiss previous pull request review approvals. @@ -38671,7 +39221,13 @@ input PullRequestParametersInput { Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. """ - allowedMergeMethods: [String!] + allowedMergeMethods: [PullRequestAllowedMergeMethods!] + + """ + This argument is in beta and subject to change. Automatically request review + from Copilot for new pull requests, if the author has access to Copilot code review. + """ + automaticCopilotCodeReviewEnabled: Boolean """ New, reviewable commits pushed will dismiss previous pull request review approvals. @@ -39947,6 +40503,9 @@ union PullRequestTimelineItems = | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment + | IssueTypeAddedEvent + | IssueTypeChangedEvent + | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent @@ -40177,6 +40736,21 @@ enum PullRequestTimelineItemsItemType { """ ISSUE_COMMENT + """ + Represents a 'issue_type_added' event on a given issue. + """ + ISSUE_TYPE_ADDED_EVENT + + """ + Represents a 'issue_type_changed' event on a given issue. + """ + ISSUE_TYPE_CHANGED_EVENT + + """ + Represents a 'issue_type_removed' event on a given issue. + """ + ISSUE_TYPE_REMOVED_EVENT + """ Represents a 'labeled' event on a given issue or pull request. """ @@ -42879,6 +43453,9 @@ type RemovedFromProjectEvent implements Node { Project referenced by event. """ project: Project + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Column name referenced by this project event. @@ -46171,6 +46748,46 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ issueTemplates: [IssueTemplate!] + """ + Returns a single issue type by name + """ + issueType( + """ + Issue type name. + """ + name: String! + ): IssueType + + """ + A list of the repository's issue types + """ + issueTypes( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issue types returned from the connection. + """ + orderBy: IssueTypeOrder = {field: CREATED_AT, direction: ASC} + ): IssueTypeConnection + """ A list of issues that have been opened in the repository. """ @@ -47121,6 +47738,9 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent Can the current viewer create new projects on this owner. """ viewerCanCreateProjects: Boolean! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Check if the viewer is able to change their subscription status for the repository. @@ -48690,7 +49310,8 @@ enum RepositoryRuleType { FILE_EXTENSION_RESTRICTION """ - Prevent commits that include changes in specified file paths from being pushed to the commit graph. + Prevent commits that include changes in specified file and folder paths from + being pushed to the commit graph. This includes absolute paths that contain file names. """ FILE_PATH_RESTRICTION @@ -48700,12 +49321,12 @@ enum RepositoryRuleType { LOCK_BRANCH """ - Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. + Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. """ MAX_FILE_PATH_LENGTH """ - Prevent commits that exceed a specified file size limit from being pushed to the commit graph. + Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. """ MAX_FILE_SIZE @@ -49434,6 +50055,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode { """ dependabotUpdate: DependabotUpdate + """ + The relationship of an alert's dependency. + """ + dependencyRelationship: RepositoryVulnerabilityAlertDependencyRelationship + """ The scope of an alert's dependency """ @@ -49535,6 +50161,26 @@ type RepositoryVulnerabilityAlertConnection { totalCount: Int! } +""" +The possible relationships of an alert's dependency. +""" +enum RepositoryVulnerabilityAlertDependencyRelationship { + """ + A direct dependency of your project + """ + DIRECT + + """ + A transitive dependency of your project + """ + TRANSITIVE + + """ + The relationship is unknown + """ + UNKNOWN +} + """ The possible scopes of an alert's dependency. """ @@ -50839,6 +51485,14 @@ enum SearchType { """ ISSUE + """ + Returns results matching issues in repositories. + """ + ISSUE_ADVANCED + @deprecated( + reason: "Search for issues and pull requests will be overridden by advanced search on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/. Removal on 2025-09-04 UTC." + ) + """ Returns results matching repositories. """ @@ -60537,6 +61191,11 @@ input UpdateIssueInput { """ id: ID! @possibleTypes(concreteTypes: ["Issue"]) + """ + The ID of the Issue Type for this issue. + """ + issueTypeId: ID @possibleTypes(concreteTypes: ["IssueType"]) + """ An array of Node IDs of labels for this issue. """ @@ -60563,6 +61222,41 @@ input UpdateIssueInput { title: String } +""" +Autogenerated input type of UpdateIssueIssueType +""" +input UpdateIssueIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue to update + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The ID of the issue type to update on the issue + """ + issueTypeId: ID @possibleTypes(concreteTypes: ["IssueType"]) +} + +""" +Autogenerated return type of UpdateIssueIssueType. +""" +type UpdateIssueIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated issue + """ + issue: Issue +} + """ Autogenerated return type of UpdateIssue. """ @@ -60583,6 +61277,65 @@ type UpdateIssuePayload { issue: Issue } +""" +Autogenerated input type of UpdateIssueType +""" +input UpdateIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Color for the issue type + """ + color: IssueTypeColor + + """ + The description of the issue type + """ + description: String + + """ + Whether or not the issue type is enabled for the organization + """ + isEnabled: Boolean + + """ + Whether or not the issue type is restricted to issues in private repositories + + **Upcoming Change on 2025-04-01 UTC** + **Description:** `isPrivate` will be removed. + **Reason:** Private issue types are being deprecated and can no longer be created. + """ + isPrivate: Boolean + + """ + The ID of the issue type to update + """ + issueTypeId: ID! @possibleTypes(concreteTypes: ["IssueType"]) + + """ + The name of the issue type + """ + name: String +} + +""" +Autogenerated return type of UpdateIssueType. +""" +type UpdateIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated issue type + """ + issueType: IssueType +} + """ Autogenerated input type of UpdateLabel """ @@ -63761,6 +64514,9 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & Can the current viewer create new projects on this owner. """ viewerCanCreateProjects: Boolean! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Whether or not the viewer is able to follow the user. diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 09478d28d576..1204d85e0a45 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -3035,6 +3035,40 @@ } ] }, + { + "name": "createIssueType", + "kind": "mutations", + "id": "createissuetype", + "href": "/graphql/reference/mutations#createissuetype", + "description": "

Creates a new issue type.

", + "inputFields": [ + { + "name": "input", + "type": "CreateIssueTypeInput!", + "id": "createissuetypeinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#createissuetypeinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issueType", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype", + "description": "

The newly created issue type.

" + } + ] + }, { "name": "createLabel", "kind": "mutations", @@ -3945,6 +3979,40 @@ } ] }, + { + "name": "deleteIssueType", + "kind": "mutations", + "id": "deleteissuetype", + "href": "/graphql/reference/mutations#deleteissuetype", + "description": "

Delete an issue type.

", + "inputFields": [ + { + "name": "input", + "type": "DeleteIssueTypeInput!", + "id": "deleteissuetypeinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#deleteissuetypeinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "deletedIssueTypeId", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The ID of the deleted issue type.

" + } + ] + }, { "name": "deleteLabel", "kind": "mutations", @@ -8659,6 +8727,74 @@ } ] }, + { + "name": "updateIssueIssueType", + "kind": "mutations", + "id": "updateissueissuetype", + "href": "/graphql/reference/mutations#updateissueissuetype", + "description": "

Updates the issue type on an issue.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateIssueIssueTypeInput!", + "id": "updateissueissuetypeinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updateissueissuetypeinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The updated issue.

" + } + ] + }, + { + "name": "updateIssueType", + "kind": "mutations", + "id": "updateissuetype", + "href": "/graphql/reference/mutations#updateissuetype", + "description": "

Update an issue type.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateIssueTypeInput!", + "id": "updateissuetypeinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updateissuetypeinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issueType", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype", + "description": "

The updated issue type.

" + } + ] + }, { "name": "updateLabel", "kind": "mutations", @@ -10046,7 +10182,9 @@ "type": "Project", "id": "project", "kind": "objects", - "href": "/graphql/reference/objects#project" + "href": "/graphql/reference/objects#project", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectCard", @@ -16764,7 +16902,9 @@ "type": "Project", "id": "project", "kind": "objects", - "href": "/graphql/reference/objects#project" + "href": "/graphql/reference/objects#project", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectCard", @@ -17845,6 +17985,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "packageUrl", + "description": "

Public preview: The dependency package URL.

", + "type": "URI", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + }, { "name": "relationship", "description": "

Public preview: The relationship of the dependency. Can be direct, transitive, or unknown.

", @@ -26880,7 +27028,7 @@ "kind": "objects", "id": "filepathrestrictionparameters", "href": "/graphql/reference/objects#filepathrestrictionparameters", - "description": "

Prevent commits that include changes in specified file paths from being pushed to the commit graph.

", + "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

", "fields": [ { "name": "restrictedFilePaths", @@ -28923,6 +29071,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "issueType", + "description": "

The issue type for this Issue.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + }, { "name": "labels", "description": "

A list of labels associated with the object.

", @@ -29181,7 +29337,9 @@ "href": "/graphql/reference/scalars#int" } } - ] + ], + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectItems", @@ -30744,6 +30902,14 @@ "id": "string", "kind": "scalars", "href": "/graphql/reference/scalars#string" + }, + { + "name": "type", + "description": "

The suggested issue type.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" } ] }, @@ -30903,6 +31069,390 @@ } ] }, + { + "name": "IssueType", + "kind": "objects", + "id": "issuetype", + "href": "/graphql/reference/objects#issuetype", + "description": "

Represents the type of Issue.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "color", + "description": "

The issue type's color.

", + "type": "IssueTypeColor!", + "id": "issuetypecolor", + "kind": "enums", + "href": "/graphql/reference/enums#issuetypecolor" + }, + { + "name": "description", + "description": "

The issue type's description.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "

The Node ID of the IssueType object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "isEnabled", + "description": "

The issue type's enabled state.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "isPrivate", + "description": "

Whether the issue type is publicly visible.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Private issue types are being deprecated and can no longer be created. Removal on 2025-04-01 UTC.

" + }, + { + "name": "issues", + "description": "

The issues with this issue type in the given repository.

", + "type": "IssueConnection!", + "id": "issueconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issueconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "filterBy", + "description": "

Filtering options for issues returned from the connection.

", + "type": { + "name": "IssueFilters", + "id": "issuefilters", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issuefilters" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "labels", + "description": "

A list of label names to filter the pull requests by.

", + "type": { + "name": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for issues returned from the connection.

", + "type": { + "name": "IssueOrder", + "id": "issueorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issueorder" + } + }, + { + "name": "repositoryId", + "description": "

Target repository to load the issues from.

", + "type": { + "name": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + }, + { + "name": "states", + "description": "

A list of states to filter the issues by.

", + "type": { + "name": "[IssueState!]", + "id": "issuestate", + "kind": "enums", + "href": "/graphql/reference/enums#issuestate" + } + } + ] + }, + { + "name": "name", + "description": "

The issue type's name.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, + { + "name": "IssueTypeAddedEvent", + "kind": "objects", + "id": "issuetypeaddedevent", + "href": "/graphql/reference/objects#issuetypeaddedevent", + "description": "

Represents aissue_type_addedevent on a given issue.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "id", + "description": "

The Node ID of the IssueTypeAddedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "issueType", + "description": "

The issue type added.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + } + ] + }, + { + "name": "IssueTypeChangedEvent", + "kind": "objects", + "id": "issuetypechangedevent", + "href": "/graphql/reference/objects#issuetypechangedevent", + "description": "

Represents aissue_type_changedevent on a given issue.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "id", + "description": "

The Node ID of the IssueTypeChangedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "issueType", + "description": "

The issue type added.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + }, + { + "name": "prevIssueType", + "description": "

The issue type removed.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + } + ] + }, + { + "name": "IssueTypeConnection", + "kind": "objects", + "id": "issuetypeconnection", + "href": "/graphql/reference/objects#issuetypeconnection", + "description": "

The connection type for IssueType.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[IssueTypeEdge]", + "id": "issuetypeedge", + "kind": "objects", + "href": "/graphql/reference/objects#issuetypeedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[IssueType]", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "IssueTypeEdge", + "kind": "objects", + "id": "issuetypeedge", + "href": "/graphql/reference/objects#issuetypeedge", + "description": "

An edge in a connection.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "

The item at the end of the edge.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + } + ] + }, + { + "name": "IssueTypeRemovedEvent", + "kind": "objects", + "id": "issuetyperemovedevent", + "href": "/graphql/reference/objects#issuetyperemovedevent", + "description": "

Represents aissue_type_removedevent on a given issue.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "id", + "description": "

The Node ID of the IssueTypeRemovedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "issueType", + "description": "

The issue type removed.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + } + ] + }, { "name": "JoinedGitHubContribution", "kind": "objects", @@ -32696,7 +33246,7 @@ "kind": "objects", "id": "maxfilepathlengthparameters", "href": "/graphql/reference/objects#maxfilepathlengthparameters", - "description": "

Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.

", + "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

", "fields": [ { "name": "maxFilePathLength", @@ -32713,7 +33263,7 @@ "kind": "objects", "id": "maxfilesizeparameters", "href": "/graphql/reference/objects#maxfilesizeparameters", - "description": "

Prevent commits that exceed a specified file size limit from being pushed to the commit graph.

", + "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

", "fields": [ { "name": "maxFileSize", @@ -34045,6 +34595,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "descriptionHTML", + "description": "

The HTML rendered description of the milestone using GitHub Flavored Markdown.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "dueOn", "description": "

Identifies the due date of the milestone.

", @@ -34519,7 +35077,9 @@ "type": "Project", "id": "project", "kind": "objects", - "href": "/graphql/reference/objects#project" + "href": "/graphql/reference/objects#project", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectCard", @@ -40889,6 +41449,66 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "issueTypes", + "description": "

A list of the organization's issue types.

", + "type": "IssueTypeConnection", + "id": "issuetypeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issuetypeconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for issue types returned from the connection.

", + "type": { + "name": "IssueTypeOrder", + "id": "issuetypeorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issuetypeorder" + } + } + ] + }, { "name": "itemShowcase", "description": "

Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

", @@ -43065,7 +43685,9 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "viewerCanCreateRepositories", @@ -51719,7 +52341,9 @@ "href": "/graphql/reference/scalars#int" } } - ] + ], + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectItems", @@ -53135,10 +53759,18 @@ { "name": "allowedMergeMethods", "description": "

Array of allowed merge methods. Allowed values include merge, squash, and\nrebase. At least one option must be enabled.

", - "type": "[String!]", - "id": "string", + "type": "[PullRequestAllowedMergeMethods!]", + "id": "pullrequestallowedmergemethods", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestallowedmergemethods" + }, + { + "name": "automaticCopilotCodeReviewEnabled", + "description": "

This field is in beta and subject to change. Automatically request review from\nCopilot for new pull requests, if the author has access to Copilot code review.

", + "type": "Boolean!", + "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#boolean" }, { "name": "dismissStaleReviewsOnPush", @@ -57171,7 +57803,9 @@ "type": "Project", "id": "project", "kind": "objects", - "href": "/graphql/reference/objects#project" + "href": "/graphql/reference/objects#project", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectColumnName", @@ -62625,6 +63259,86 @@ "kind": "objects", "href": "/graphql/reference/objects#issuetemplate" }, + { + "name": "issueType", + "description": "

Returns a single issue type by name.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype", + "arguments": [ + { + "name": "name", + "description": "

Issue type name.

", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, + { + "name": "issueTypes", + "description": "

A list of the repository's issue types.

", + "type": "IssueTypeConnection", + "id": "issuetypeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issuetypeconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for issue types returned from the connection.

", + "type": { + "name": "IssueTypeOrder", + "id": "issuetypeorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issuetypeorder" + } + } + ] + }, { "name": "issues", "description": "

A list of issues that have been opened in the repository.

", @@ -64445,7 +65159,9 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "viewerCanSubscribe", @@ -66543,6 +67259,14 @@ "kind": "objects", "href": "/graphql/reference/objects#dependabotupdate" }, + { + "name": "dependencyRelationship", + "description": "

The relationship of an alert's dependency.

", + "type": "RepositoryVulnerabilityAlertDependencyRelationship", + "id": "repositoryvulnerabilityalertdependencyrelationship", + "kind": "enums", + "href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyrelationship" + }, { "name": "dependencyScope", "description": "

The scope of an alert's dependency.

", @@ -78680,7 +79404,9 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "viewerCanFollow", @@ -82012,7 +82738,9 @@ "type": "ID!", "id": "id", "kind": "scalars", - "href": "/graphql/reference/scalars#id" + "href": "/graphql/reference/scalars#id", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "project", @@ -82124,7 +82852,9 @@ "type": "URI!", "id": "uri", "kind": "scalars", - "href": "/graphql/reference/scalars#uri" + "href": "/graphql/reference/scalars#uri", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectsUrl", @@ -82132,7 +82862,9 @@ "type": "URI!", "id": "uri", "kind": "scalars", - "href": "/graphql/reference/scalars#uri" + "href": "/graphql/reference/scalars#uri", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "viewerCanCreateProjects", @@ -82140,7 +82872,9 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" } ] }, @@ -85960,6 +86694,18 @@ "name": "ISSUE_COMMENT", "description": "

Represents a comment on an Issue.

" }, + { + "name": "ISSUE_TYPE_ADDED_EVENT", + "description": "

Represents aissue_type_addedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_CHANGED_EVENT", + "description": "

Represents aissue_type_changedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_REMOVED_EVENT", + "description": "

Represents aissue_type_removedevent on a given issue.

" + }, { "name": "LABELED_EVENT", "description": "

Represents alabeledevent on a given issue or pull request.

" @@ -86058,6 +86804,64 @@ } ] }, + { + "name": "IssueTypeColor", + "kind": "enums", + "id": "issuetypecolor", + "href": "/graphql/reference/enums#issuetypecolor", + "description": "

The possible color for an issue type.

", + "values": [ + { + "name": "BLUE", + "description": "

blue.

" + }, + { + "name": "GRAY", + "description": "

gray.

" + }, + { + "name": "GREEN", + "description": "

green.

" + }, + { + "name": "ORANGE", + "description": "

orange.

" + }, + { + "name": "PINK", + "description": "

pink.

" + }, + { + "name": "PURPLE", + "description": "

purple.

" + }, + { + "name": "RED", + "description": "

red.

" + }, + { + "name": "YELLOW", + "description": "

yellow.

" + } + ] + }, + { + "name": "IssueTypeOrderField", + "kind": "enums", + "id": "issuetypeorderfield", + "href": "/graphql/reference/enums#issuetypeorderfield", + "description": "

Properties by which issue type connections can be ordered.

", + "values": [ + { + "name": "CREATED_AT", + "description": "

Order issue types by creation time.

" + }, + { + "name": "NAME", + "description": "

Order issue types by name.

" + } + ] + }, { "name": "LabelOrderField", "kind": "enums", @@ -87365,6 +88169,10 @@ "name": "DATE", "description": "

Date.

" }, + { + "name": "ISSUE_TYPE", + "description": "

Issue type.

" + }, { "name": "ITERATION", "description": "

Iteration.

" @@ -87712,6 +88520,27 @@ } ] }, + { + "name": "PullRequestAllowedMergeMethods", + "kind": "enums", + "id": "pullrequestallowedmergemethods", + "href": "/graphql/reference/enums#pullrequestallowedmergemethods", + "description": "

Array of allowed merge methods. Allowed values include merge, squash, and rebase. At least one option must be enabled.

", + "values": [ + { + "name": "MERGE", + "description": "

Add all commits from the head branch to the base branch with a merge commit.

" + }, + { + "name": "REBASE", + "description": "

Add all commits from the head branch onto the base branch individually.

" + }, + { + "name": "SQUASH", + "description": "

Combine all commits from the head branch into a single commit in the base branch.

" + } + ] + }, { "name": "PullRequestBranchUpdateMethod", "kind": "enums", @@ -88012,6 +88841,18 @@ "name": "ISSUE_COMMENT", "description": "

Represents a comment on an Issue.

" }, + { + "name": "ISSUE_TYPE_ADDED_EVENT", + "description": "

Represents aissue_type_addedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_CHANGED_EVENT", + "description": "

Represents aissue_type_changedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_REMOVED_EVENT", + "description": "

Represents aissue_type_removedevent on a given issue.

" + }, { "name": "LABELED_EVENT", "description": "

Represents alabeledevent on a given issue or pull request.

" @@ -88781,7 +89622,7 @@ }, { "name": "FILE_PATH_RESTRICTION", - "description": "

Prevent commits that include changes in specified file paths from being pushed to the commit graph.

" + "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" }, { "name": "LOCK_BRANCH", @@ -88789,11 +89630,11 @@ }, { "name": "MAX_FILE_PATH_LENGTH", - "description": "

Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.

" + "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" }, { "name": "MAX_FILE_SIZE", - "description": "

Prevent commits that exceed a specified file size limit from being pushed to the commit graph.

" + "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" }, { "name": "MAX_REF_UPDATES", @@ -88928,6 +89769,27 @@ } ] }, + { + "name": "RepositoryVulnerabilityAlertDependencyRelationship", + "kind": "enums", + "id": "repositoryvulnerabilityalertdependencyrelationship", + "href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyrelationship", + "description": "

The possible relationships of an alert's dependency.

", + "values": [ + { + "name": "DIRECT", + "description": "

A direct dependency of your project.

" + }, + { + "name": "TRANSITIVE", + "description": "

A transitive dependency of your project.

" + }, + { + "name": "UNKNOWN", + "description": "

The relationship is unknown.

" + } + ] + }, { "name": "RepositoryVulnerabilityAlertDependencyScope", "kind": "enums", @@ -89119,6 +89981,10 @@ "name": "ISSUE", "description": "

Returns results matching issues in repositories.

" }, + { + "name": "ISSUE_ADVANCED", + "description": "

Returns results matching issues in repositories.

" + }, { "name": "REPOSITORY", "description": "

Returns results matching repositories.

" @@ -91554,6 +92420,21 @@ "id": "issuecomment", "href": "/graphql/reference/objects#issuecomment" }, + { + "name": "IssueTypeAddedEvent", + "id": "issuetypeaddedevent", + "href": "/graphql/reference/objects#issuetypeaddedevent" + }, + { + "name": "IssueTypeChangedEvent", + "id": "issuetypechangedevent", + "href": "/graphql/reference/objects#issuetypechangedevent" + }, + { + "name": "IssueTypeRemovedEvent", + "id": "issuetyperemovedevent", + "href": "/graphql/reference/objects#issuetyperemovedevent" + }, { "name": "LabeledEvent", "id": "labeledevent", @@ -92556,6 +93437,21 @@ "id": "issuecomment", "href": "/graphql/reference/objects#issuecomment" }, + { + "name": "IssueTypeAddedEvent", + "id": "issuetypeaddedevent", + "href": "/graphql/reference/objects#issuetypeaddedevent" + }, + { + "name": "IssueTypeChangedEvent", + "id": "issuetypechangedevent", + "href": "/graphql/reference/objects#issuetypechangedevent" + }, + { + "name": "IssueTypeRemovedEvent", + "id": "issuetyperemovedevent", + "href": "/graphql/reference/objects#issuetyperemovedevent" + }, { "name": "LabeledEvent", "id": "labeledevent", @@ -96533,6 +97429,15 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "issueTypeId", + "description": "

The Node ID of the issue type for this issue.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, { "name": "labelIds", "description": "

An array of Node IDs of labels for this issue.

", @@ -96588,6 +97493,72 @@ } ] }, + { + "name": "CreateIssueTypeInput", + "kind": "inputObjects", + "id": "createissuetypeinput", + "href": "/graphql/reference/input-objects#createissuetypeinput", + "description": "

Autogenerated input type of CreateIssueType.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "color", + "description": "

Color for the issue type.

", + "type": "IssueTypeColor", + "id": "issuetypecolor", + "kind": "enums", + "href": "/graphql/reference/enums#issuetypecolor" + }, + { + "name": "description", + "description": "

Description of the new issue type.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "isEnabled", + "description": "

Whether or not the issue type is enabled on the org level.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "isPrivate", + "description": "

Whether or not the issue type is restricted to issues in private repositories

\n

Upcoming Change on 2025-04-01 UTC\nDescription: isPrivate will be removed.\nReason: Private issue types are being deprecated and can no longer be created.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "name", + "description": "

Name of the new issue type.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "ownerId", + "description": "

The ID for the organization on which the issue type is created.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "CreateLabelInput", "kind": "inputObjects", @@ -97968,6 +98939,32 @@ } ] }, + { + "name": "DeleteIssueTypeInput", + "kind": "inputObjects", + "id": "deleteissuetypeinput", + "href": "/graphql/reference/input-objects#deleteissuetypeinput", + "description": "

Autogenerated input type of DeleteIssueType.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueTypeId", + "description": "

The ID of the issue type to delete.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DeleteLabelInput", "kind": "inputObjects", @@ -99178,7 +100175,7 @@ "kind": "inputObjects", "id": "filepathrestrictionparametersinput", "href": "/graphql/reference/input-objects#filepathrestrictionparametersinput", - "description": "

Prevent commits that include changes in specified file paths from being pushed to the commit graph.

", + "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

", "inputFields": [ { "name": "restrictedFilePaths", @@ -99648,6 +100645,31 @@ } ] }, + { + "name": "IssueTypeOrder", + "kind": "inputObjects", + "id": "issuetypeorder", + "href": "/graphql/reference/input-objects#issuetypeorder", + "description": "

Ordering options for issue types connections.

", + "inputFields": [ + { + "name": "direction", + "description": "

The ordering direction.

", + "type": "OrderDirection!", + "id": "orderdirection", + "kind": "enums", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order issue types by.

", + "type": "IssueTypeOrderField!", + "id": "issuetypeorderfield", + "kind": "enums", + "href": "/graphql/reference/enums#issuetypeorderfield" + } + ] + }, { "name": "LabelOrder", "kind": "inputObjects", @@ -99979,7 +101001,7 @@ "kind": "inputObjects", "id": "maxfilepathlengthparametersinput", "href": "/graphql/reference/input-objects#maxfilepathlengthparametersinput", - "description": "

Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.

", + "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

", "inputFields": [ { "name": "maxFilePathLength", @@ -99996,7 +101018,7 @@ "kind": "inputObjects", "id": "maxfilesizeparametersinput", "href": "/graphql/reference/input-objects#maxfilesizeparametersinput", - "description": "

Prevent commits that exceed a specified file size limit from being pushed to the commit graph.

", + "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

", "inputFields": [ { "name": "maxFileSize", @@ -101097,10 +102119,18 @@ { "name": "allowedMergeMethods", "description": "

Array of allowed merge methods. Allowed values include merge, squash, and\nrebase. At least one option must be enabled.

", - "type": "[String!]", - "id": "string", + "type": "[PullRequestAllowedMergeMethods!]", + "id": "pullrequestallowedmergemethods", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestallowedmergemethods" + }, + { + "name": "automaticCopilotCodeReviewEnabled", + "description": "

This argument is in beta and subject to change. Automatically request review\nfrom Copilot for new pull requests, if the author has access to Copilot code review.

", + "type": "Boolean", + "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#boolean" }, { "name": "dismissStaleReviewsOnPush", @@ -105576,6 +106606,15 @@ "href": "/graphql/reference/scalars#id", "isDeprecated": false }, + { + "name": "issueTypeId", + "description": "

The ID of the Issue Type for this issue.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, { "name": "labelIds", "description": "

An array of Node IDs of labels for this issue.

", @@ -105620,6 +106659,107 @@ } ] }, + { + "name": "UpdateIssueIssueTypeInput", + "kind": "inputObjects", + "id": "updateissueissuetypeinput", + "href": "/graphql/reference/input-objects#updateissueissuetypeinput", + "description": "

Autogenerated input type of UpdateIssueIssueType.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueId", + "description": "

The ID of the issue to update.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "issueTypeId", + "description": "

The ID of the issue type to update on the issue.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "UpdateIssueTypeInput", + "kind": "inputObjects", + "id": "updateissuetypeinput", + "href": "/graphql/reference/input-objects#updateissuetypeinput", + "description": "

Autogenerated input type of UpdateIssueType.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "color", + "description": "

Color for the issue type.

", + "type": "IssueTypeColor", + "id": "issuetypecolor", + "kind": "enums", + "href": "/graphql/reference/enums#issuetypecolor" + }, + { + "name": "description", + "description": "

The description of the issue type.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "isEnabled", + "description": "

Whether or not the issue type is enabled for the organization.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "isPrivate", + "description": "

Whether or not the issue type is restricted to issues in private repositories

\n

Upcoming Change on 2025-04-01 UTC\nDescription: isPrivate will be removed.\nReason: Private issue types are being deprecated and can no longer be created.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "issueTypeId", + "description": "

The ID of the issue type to update.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "name", + "description": "

The name of the issue type.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "UpdateLabelInput", "kind": "inputObjects", diff --git a/src/graphql/data/fpt/upcoming-changes.json b/src/graphql/data/fpt/upcoming-changes.json index a9e005a96bd7..273c5726d2a8 100644 --- a/src/graphql/data/fpt/upcoming-changes.json +++ b/src/graphql/data/fpt/upcoming-changes.json @@ -9,7 +9,25 @@ "owner": "github/advisory-database" } ], + "2025-09-04": [ + { + "location": "SearchType.ISSUE_ADVANCED", + "description": "

ISSUE_ADVANCED will be removed.

", + "reason": "

Search for issues and pull requests will be overridden by advanced search on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/.

", + "date": "2025-09-04", + "criticality": "breaking", + "owner": "github/issues_advanced_search" + } + ], "2025-04-01": [ + { + "location": "User.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "User.projects", "description": "

projects will be removed.

", @@ -26,6 +44,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "UpdateIssueTypeInput.isPrivate", + "description": "

isPrivate will be removed.

", + "reason": "

Private issue types are being deprecated and can no longer be created.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/issues" + }, { "location": "SearchShortcutQueryProjectTerm.project", "description": "

project will be removed.

", @@ -34,6 +60,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "Repository.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "Repository.projects", "description": "

projects will be removed.

", @@ -58,6 +92,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "RemovedFromProjectEvent.project", + "description": "

project will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "RemovedFromProjectEvent.databaseId", "description": "

databaseId will be removed.

", @@ -66,6 +108,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "PullRequest.projectCards", + "description": "

projectCards will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "ProjectV2Workflow.databaseId", "description": "

databaseId will be removed. Use fullDatabaseId instead.

", @@ -162,6 +212,30 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "ProjectOwner.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, + { + "location": "ProjectOwner.projectsUrl", + "description": "

projectsUrl will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, + { + "location": "ProjectOwner.projectsResourcePath", + "description": "

projectsResourcePath will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "ProjectOwner.projects", "description": "

projects will be removed.

", @@ -178,6 +252,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "ProjectOwner.id", + "description": "

id will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "ProjectColumn.url", "description": "

url will be removed.

", @@ -258,6 +340,22 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "ProjectCardArchivedState.NOT_ARCHIVED", + "description": "

NOT_ARCHIVED will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, + { + "location": "ProjectCardArchivedState.ARCHIVED", + "description": "

ARCHIVED will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "ProjectCard.url", "description": "

url will be removed.

", @@ -490,6 +588,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "Organization.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "Organization.projects", "description": "

projects will be removed.

", @@ -682,6 +788,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "MovedColumnsInProjectEvent.project", + "description": "

project will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "MovedColumnsInProjectEvent.previousProjectColumnName", "description": "

previousProjectColumnName will be removed.

", @@ -698,6 +812,22 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "IssueType.isPrivate", + "description": "

isPrivate will be removed.

", + "reason": "

Private issue types are being deprecated and can no longer be created.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/issues" + }, + { + "location": "Issue.projectCards", + "description": "

projectCards will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "EnterpriseOwnerInfo.outsideCollaborators.hasTwoFactorEnabled", "description": "

hasTwoFactorEnabled will be removed. Use two_factor_method_security instead.

", @@ -754,6 +884,14 @@ "criticality": "breaking", "owner": "vaindil" }, + { + "location": "CreateIssueTypeInput.isPrivate", + "description": "

isPrivate will be removed.

", + "reason": "

Private issue types are being deprecated and can no longer be created.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/issues" + }, { "location": "ConvertedNoteToIssueEvent.projectCard", "description": "

projectCard will be removed.

", @@ -762,6 +900,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "ConvertedNoteToIssueEvent.project", + "description": "

project will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "AnnouncementBannerI.announcementUserDismissible", "description": "

announcementUserDismissible will be removed. Use the announcementBanner object instead.

", @@ -810,6 +956,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "AddedToProjectEvent.project", + "description": "

project will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "AddedToProjectEvent.databaseId", "description": "

databaseId will be removed.

", diff --git a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml index e19c30dd14a9..d54ae169ae9f 100644 --- a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml @@ -674,6 +674,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: AddedToProjectEvent.project + description: '`project` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: AddedToProjectEvent.projectCard description: '`projectCard` will be removed.' reason: @@ -730,6 +738,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: vaindil + - location: ConvertedNoteToIssueEvent.project + description: '`project` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: ConvertedNoteToIssueEvent.projectCard description: '`projectCard` will be removed.' reason: @@ -738,6 +754,12 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: CreateIssueTypeInput.isPrivate + description: '`isPrivate` will be removed.' + reason: Private issue types are being deprecated and can no longer be created. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/issues - location: Enterprise.announcement description: '`announcement` will be removed. Use the `announcementBanner` object @@ -802,6 +824,20 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: authentication + - location: Issue.projectCards + description: '`projectCards` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: IssueType.isPrivate + description: '`isPrivate` will be removed.' + reason: Private issue types are being deprecated and can no longer be created. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/issues - location: MovedColumnsInProjectEvent.databaseId description: '`databaseId` will be removed.' reason: @@ -818,6 +854,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: MovedColumnsInProjectEvent.project + description: '`project` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: MovedColumnsInProjectEvent.projectCard description: '`projectCard` will be removed.' reason: @@ -1018,6 +1062,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: Organization.viewerCanCreateProjects + description: '`viewerCanCreateProjects` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: Project.body description: '`body` will be removed.' reason: @@ -1250,6 +1302,22 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: ProjectCardArchivedState.ARCHIVED + description: '`ARCHIVED` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: ProjectCardArchivedState.NOT_ARCHIVED + description: '`NOT_ARCHIVED` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: ProjectColumn.cards description: '`cards` will be removed.' reason: @@ -1330,6 +1398,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: ProjectOwner.id + description: '`id` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: ProjectOwner.project description: '`project` will be removed.' reason: @@ -1346,6 +1422,30 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: ProjectOwner.projectsResourcePath + description: '`projectsResourcePath` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: ProjectOwner.projectsUrl + description: '`projectsUrl` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: ProjectOwner.viewerCanCreateProjects + description: '`viewerCanCreateProjects` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: ProjectProgress.doneCount description: '`doneCount` will be removed.' reason: @@ -1442,6 +1542,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: dewski + - location: PullRequest.projectCards + description: '`projectCards` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: RemovedFromProjectEvent.databaseId description: '`databaseId` will be removed.' reason: @@ -1450,6 +1558,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: RemovedFromProjectEvent.project + description: '`project` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: RemovedFromProjectEvent.projectColumnName description: '`projectColumnName` will be removed.' reason: @@ -1474,6 +1590,14 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: Repository.viewerCanCreateProjects + description: '`viewerCanCreateProjects` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex - location: SearchShortcutQueryProjectTerm.project description: '`project` will be removed.' reason: @@ -1482,6 +1606,12 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: UpdateIssueTypeInput.isPrivate + description: '`isPrivate` will be removed.' + reason: Private issue types are being deprecated and can no longer be created. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/issues - location: User.project description: '`project` will be removed.' reason: @@ -1498,6 +1628,22 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex + - location: User.viewerCanCreateProjects + description: '`viewerCanCreateProjects` will be removed.' + reason: + 'Projects (classic) is being deprecated in favor of the new Projects experience, + see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.' + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: github/memex + - location: SearchType.ISSUE_ADVANCED + description: '`ISSUE_ADVANCED` will be removed.' + reason: + Search for issues and pull requests will be overridden by advanced search + on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/. + date: '2025-09-04' + criticality: breaking + owner: github/issues_advanced_search - location: SecurityAdvisory.cvss description: '`cvss` will be removed. New `cvss_severities` field will now contain diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 5a682b411f59..98cfcfd421f0 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -1,7 +1,3 @@ -directive @requiredCapabilities( - requiredCapabilities: [String!] -) on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION - """ Marks an element of a GraphQL schema as only available via a preview header """ @@ -1289,6 +1285,9 @@ type AddedToProjectEvent implements Node { Project referenced by event. """ project: Project + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Project card referenced by this project event. @@ -6920,6 +6919,9 @@ type ConvertedNoteToIssueEvent implements Node { Project referenced by event. """ project: Project + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Project card referenced by this project event. @@ -7753,6 +7755,11 @@ input CreateIssueInput { """ issueTemplate: String + """ + The Node ID of the issue type for this issue + """ + issueTypeId: ID @possibleTypes(concreteTypes: ["IssueType"]) + """ An array of Node IDs of labels for this issue. """ @@ -7799,6 +7806,65 @@ type CreateIssuePayload { issue: Issue } +""" +Autogenerated input type of CreateIssueType +""" +input CreateIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Color for the issue type + """ + color: IssueTypeColor + + """ + Description of the new issue type + """ + description: String + + """ + Whether or not the issue type is enabled on the org level + """ + isEnabled: Boolean! + + """ + Whether or not the issue type is restricted to issues in private repositories + + **Upcoming Change on 2025-04-01 UTC** + **Description:** `isPrivate` will be removed. + **Reason:** Private issue types are being deprecated and can no longer be created. + """ + isPrivate: Boolean + + """ + Name of the new issue type + """ + name: String! + + """ + The ID for the organization on which the issue type is created + """ + ownerId: ID! @possibleTypes(concreteTypes: ["Organization"]) +} + +""" +Autogenerated return type of CreateIssueType. +""" +type CreateIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created issue type + """ + issueType: IssueType +} + """ Autogenerated input type of CreateLabel """ @@ -9642,6 +9708,36 @@ type DeleteIssuePayload { repository: Repository } +""" +Autogenerated input type of DeleteIssueType +""" +input DeleteIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue type to delete + """ + issueTypeId: ID! @possibleTypes(concreteTypes: ["IssueType"]) +} + +""" +Autogenerated return type of DeleteIssueType. +""" +type DeleteIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the deleted issue type + """ + deletedIssueTypeId: ID +} + """ Autogenerated input type of DeleteLabel """ @@ -10318,6 +10414,11 @@ type DependencyGraphDependency { """ packageName: String! + """ + Public preview: The dependency package URL + """ + packageUrl: URI + """ Public preview: The relationship of the dependency. Can be direct, transitive, or unknown """ @@ -16701,7 +16802,8 @@ input FileExtensionRestrictionParametersInput { } """ -Prevent commits that include changes in specified file paths from being pushed to the commit graph. +Prevent commits that include changes in specified file and folder paths from +being pushed to the commit graph. This includes absolute paths that contain file names. """ type FilePathRestrictionParameters { """ @@ -16711,7 +16813,8 @@ type FilePathRestrictionParameters { } """ -Prevent commits that include changes in specified file paths from being pushed to the commit graph. +Prevent commits that include changes in specified file and folder paths from +being pushed to the commit graph. This includes absolute paths that contain file names. """ input FilePathRestrictionParametersInput { """ @@ -18538,6 +18641,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ isReadByViewer: Boolean + """ + The issue type for this Issue + """ + issueType: IssueType + """ A list of labels associated with the object. """ @@ -18672,6 +18780,9 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ last: Int ): ProjectCardConnection! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ List of project items associated with this issue. @@ -19687,6 +19798,11 @@ type IssueTemplate { The suggested issue title. """ title: String + + """ + The suggested issue type + """ + type: IssueType } """ @@ -19768,6 +19884,9 @@ union IssueTimelineItems = | DemilestonedEvent | DisconnectedEvent | IssueComment + | IssueTypeAddedEvent + | IssueTypeChangedEvent + | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent @@ -19907,6 +20026,21 @@ enum IssueTimelineItemsItemType { """ ISSUE_COMMENT + """ + Represents a 'issue_type_added' event on a given issue. + """ + ISSUE_TYPE_ADDED_EVENT + + """ + Represents a 'issue_type_changed' event on a given issue. + """ + ISSUE_TYPE_CHANGED_EVENT + + """ + Represents a 'issue_type_removed' event on a given issue. + """ + ISSUE_TYPE_REMOVED_EVENT + """ Represents a 'labeled' event on a given issue or pull request. """ @@ -20028,6 +20162,289 @@ enum IssueTimelineItemsItemType { USER_BLOCKED_EVENT } +""" +Represents the type of Issue. +""" +type IssueType implements Node { + """ + The issue type's color. + """ + color: IssueTypeColor! + + """ + The issue type's description. + """ + description: String + + """ + The Node ID of the IssueType object + """ + id: ID! + + """ + The issue type's enabled state. + """ + isEnabled: Boolean! + + """ + Whether the issue type is publicly visible. + """ + isPrivate: Boolean! + @deprecated( + reason: "Private issue types are being deprecated and can no longer be created. Removal on 2025-04-01 UTC." + ) + + """ + The issues with this issue type in the given repository. + """ + issues( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Filtering options for issues returned from the connection. + """ + filterBy: IssueFilters + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + A list of label names to filter the pull requests by. + """ + labels: [String!] + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issues returned from the connection. + """ + orderBy: IssueOrder + + """ + Target repository to load the issues from. + """ + repositoryId: ID! + + """ + A list of states to filter the issues by. + """ + states: [IssueState!] + ): IssueConnection! + + """ + The issue type's name. + """ + name: String! +} + +""" +Represents a 'issue_type_added' event on a given issue. +""" +type IssueTypeAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the IssueTypeAddedEvent object + """ + id: ID! + + """ + The issue type added. + """ + issueType: IssueType +} + +""" +Represents a 'issue_type_changed' event on a given issue. +""" +type IssueTypeChangedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the IssueTypeChangedEvent object + """ + id: ID! + + """ + The issue type added. + """ + issueType: IssueType + + """ + The issue type removed. + """ + prevIssueType: IssueType +} + +""" +The possible color for an issue type +""" +enum IssueTypeColor { + """ + blue + """ + BLUE + + """ + gray + """ + GRAY + + """ + green + """ + GREEN + + """ + orange + """ + ORANGE + + """ + pink + """ + PINK + + """ + purple + """ + PURPLE + + """ + red + """ + RED + + """ + yellow + """ + YELLOW +} + +""" +The connection type for IssueType. +""" +type IssueTypeConnection { + """ + A list of edges. + """ + edges: [IssueTypeEdge] + + """ + A list of nodes. + """ + nodes: [IssueType] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type IssueTypeEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: IssueType +} + +""" +Ordering options for issue types connections +""" +input IssueTypeOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order issue types by. + """ + field: IssueTypeOrderField! +} + +""" +Properties by which issue type connections can be ordered. +""" +enum IssueTypeOrderField { + """ + Order issue types by creation time + """ + CREATED_AT + + """ + Order issue types by name + """ + NAME +} + +""" +Represents a 'issue_type_removed' event on a given issue. +""" +type IssueTypeRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the IssueTypeRemovedEvent object + """ + id: ID! + + """ + The issue type removed. + """ + issueType: IssueType +} + """ Represents a user signing up for a GitHub account. """ @@ -21491,27 +21908,27 @@ type MarketplaceListingEdge { } """ -Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. +Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. """ type MaxFilePathLengthParameters { """ - The maximum amount of characters allowed in file paths + The maximum amount of characters allowed in file paths. """ maxFilePathLength: Int! } """ -Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. +Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. """ input MaxFilePathLengthParametersInput { """ - The maximum amount of characters allowed in file paths + The maximum amount of characters allowed in file paths. """ maxFilePathLength: Int! } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit graph. +Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. """ type MaxFileSizeParameters { """ @@ -21521,7 +21938,7 @@ type MaxFileSizeParameters { } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit graph. +Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. """ input MaxFileSizeParametersInput { """ @@ -22766,6 +23183,11 @@ type Milestone implements Closable & Node & UniformResourceLocatable { """ description: String + """ + The HTML rendered description of the milestone using GitHub Flavored Markdown. + """ + descriptionHTML: String + """ Identifies the due date of the milestone. """ @@ -23234,6 +23656,9 @@ type MovedColumnsInProjectEvent implements Node { Project referenced by event. """ project: Project + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Project card referenced by this project event. @@ -23886,6 +24311,16 @@ type Mutation { input: CreateIssueInput! ): CreateIssuePayload + """ + Creates a new issue type + """ + createIssueType( + """ + Parameters for CreateIssueType + """ + input: CreateIssueTypeInput! + ): CreateIssueTypePayload + """ Creates a new label. """ @@ -24160,6 +24595,16 @@ type Mutation { input: DeleteIssueCommentInput! ): DeleteIssueCommentPayload + """ + Delete an issue type + """ + deleteIssueType( + """ + Parameters for DeleteIssueType + """ + input: DeleteIssueTypeInput! + ): DeleteIssueTypePayload + """ Deletes a label. """ @@ -25475,6 +25920,26 @@ type Mutation { input: UpdateIssueCommentInput! ): UpdateIssueCommentPayload + """ + Updates the issue type on an issue + """ + updateIssueIssueType( + """ + Parameters for UpdateIssueIssueType + """ + input: UpdateIssueIssueTypeInput! + ): UpdateIssueIssueTypePayload + + """ + Update an issue type + """ + updateIssueType( + """ + Parameters for UpdateIssueType + """ + input: UpdateIssueTypeInput! + ): UpdateIssueTypePayload + """ Updates an existing label. """ @@ -29776,6 +30241,36 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No """ isVerified: Boolean! + """ + A list of the organization's issue types + """ + issueTypes( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issue types returned from the connection. + """ + orderBy: IssueTypeOrder = {field: CREATED_AT, direction: ASC} + ): IssueTypeConnection + """ Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. @@ -30914,6 +31409,9 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No Can the current viewer create new projects on this owner. """ viewerCanCreateProjects: Boolean! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Viewer can create repositories on this organization @@ -33709,11 +34207,17 @@ enum ProjectCardArchivedState { A project card that is archived """ ARCHIVED + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ A project card that is not archived """ NOT_ARCHIVED + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) } """ @@ -34069,6 +34573,9 @@ interface ProjectOwner { The Node ID of the ProjectOwner object """ id: ID! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Find project by number. @@ -34130,16 +34637,25 @@ interface ProjectOwner { The HTTP path listing owners projects """ projectsResourcePath: URI! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ The HTTP URL listing owners projects """ projectsUrl: URI! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Can the current viewer create new projects on this owner. """ viewerCanCreateProjects: Boolean! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) } """ @@ -34940,6 +35456,11 @@ enum ProjectV2FieldType { """ DATE + """ + Issue type + """ + ISSUE_TYPE + """ Iteration """ @@ -37798,6 +38319,9 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ last: Int ): ProjectCardConnection! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ List of project items associated with this pull request. @@ -38282,6 +38806,26 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab viewerSubscription: SubscriptionState } +""" +Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. +""" +enum PullRequestAllowedMergeMethods { + """ + Add all commits from the head branch to the base branch with a merge commit. + """ + MERGE + + """ + Add all commits from the head branch onto the base branch individually. + """ + REBASE + + """ + Combine all commits from the head branch into a single commit in the base branch. + """ + SQUASH +} + """ The possible methods for updating a pull request's head branch with the base branch. """ @@ -38635,7 +39179,13 @@ type PullRequestParameters { Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. """ - allowedMergeMethods: [String!] + allowedMergeMethods: [PullRequestAllowedMergeMethods!] + + """ + This field is in beta and subject to change. Automatically request review from + Copilot for new pull requests, if the author has access to Copilot code review. + """ + automaticCopilotCodeReviewEnabled: Boolean! """ New, reviewable commits pushed will dismiss previous pull request review approvals. @@ -38671,7 +39221,13 @@ input PullRequestParametersInput { Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. """ - allowedMergeMethods: [String!] + allowedMergeMethods: [PullRequestAllowedMergeMethods!] + + """ + This argument is in beta and subject to change. Automatically request review + from Copilot for new pull requests, if the author has access to Copilot code review. + """ + automaticCopilotCodeReviewEnabled: Boolean """ New, reviewable commits pushed will dismiss previous pull request review approvals. @@ -39947,6 +40503,9 @@ union PullRequestTimelineItems = | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment + | IssueTypeAddedEvent + | IssueTypeChangedEvent + | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent @@ -40177,6 +40736,21 @@ enum PullRequestTimelineItemsItemType { """ ISSUE_COMMENT + """ + Represents a 'issue_type_added' event on a given issue. + """ + ISSUE_TYPE_ADDED_EVENT + + """ + Represents a 'issue_type_changed' event on a given issue. + """ + ISSUE_TYPE_CHANGED_EVENT + + """ + Represents a 'issue_type_removed' event on a given issue. + """ + ISSUE_TYPE_REMOVED_EVENT + """ Represents a 'labeled' event on a given issue or pull request. """ @@ -42879,6 +43453,9 @@ type RemovedFromProjectEvent implements Node { Project referenced by event. """ project: Project + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Column name referenced by this project event. @@ -46171,6 +46748,46 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ issueTemplates: [IssueTemplate!] + """ + Returns a single issue type by name + """ + issueType( + """ + Issue type name. + """ + name: String! + ): IssueType + + """ + A list of the repository's issue types + """ + issueTypes( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issue types returned from the connection. + """ + orderBy: IssueTypeOrder = {field: CREATED_AT, direction: ASC} + ): IssueTypeConnection + """ A list of issues that have been opened in the repository. """ @@ -47121,6 +47738,9 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent Can the current viewer create new projects on this owner. """ viewerCanCreateProjects: Boolean! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Check if the viewer is able to change their subscription status for the repository. @@ -48690,7 +49310,8 @@ enum RepositoryRuleType { FILE_EXTENSION_RESTRICTION """ - Prevent commits that include changes in specified file paths from being pushed to the commit graph. + Prevent commits that include changes in specified file and folder paths from + being pushed to the commit graph. This includes absolute paths that contain file names. """ FILE_PATH_RESTRICTION @@ -48700,12 +49321,12 @@ enum RepositoryRuleType { LOCK_BRANCH """ - Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. + Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. """ MAX_FILE_PATH_LENGTH """ - Prevent commits that exceed a specified file size limit from being pushed to the commit graph. + Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. """ MAX_FILE_SIZE @@ -49434,6 +50055,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode { """ dependabotUpdate: DependabotUpdate + """ + The relationship of an alert's dependency. + """ + dependencyRelationship: RepositoryVulnerabilityAlertDependencyRelationship + """ The scope of an alert's dependency """ @@ -49535,6 +50161,26 @@ type RepositoryVulnerabilityAlertConnection { totalCount: Int! } +""" +The possible relationships of an alert's dependency. +""" +enum RepositoryVulnerabilityAlertDependencyRelationship { + """ + A direct dependency of your project + """ + DIRECT + + """ + A transitive dependency of your project + """ + TRANSITIVE + + """ + The relationship is unknown + """ + UNKNOWN +} + """ The possible scopes of an alert's dependency. """ @@ -50839,6 +51485,14 @@ enum SearchType { """ ISSUE + """ + Returns results matching issues in repositories. + """ + ISSUE_ADVANCED + @deprecated( + reason: "Search for issues and pull requests will be overridden by advanced search on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/. Removal on 2025-09-04 UTC." + ) + """ Returns results matching repositories. """ @@ -60537,6 +61191,11 @@ input UpdateIssueInput { """ id: ID! @possibleTypes(concreteTypes: ["Issue"]) + """ + The ID of the Issue Type for this issue. + """ + issueTypeId: ID @possibleTypes(concreteTypes: ["IssueType"]) + """ An array of Node IDs of labels for this issue. """ @@ -60563,6 +61222,41 @@ input UpdateIssueInput { title: String } +""" +Autogenerated input type of UpdateIssueIssueType +""" +input UpdateIssueIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue to update + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The ID of the issue type to update on the issue + """ + issueTypeId: ID @possibleTypes(concreteTypes: ["IssueType"]) +} + +""" +Autogenerated return type of UpdateIssueIssueType. +""" +type UpdateIssueIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated issue + """ + issue: Issue +} + """ Autogenerated return type of UpdateIssue. """ @@ -60583,6 +61277,65 @@ type UpdateIssuePayload { issue: Issue } +""" +Autogenerated input type of UpdateIssueType +""" +input UpdateIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Color for the issue type + """ + color: IssueTypeColor + + """ + The description of the issue type + """ + description: String + + """ + Whether or not the issue type is enabled for the organization + """ + isEnabled: Boolean + + """ + Whether or not the issue type is restricted to issues in private repositories + + **Upcoming Change on 2025-04-01 UTC** + **Description:** `isPrivate` will be removed. + **Reason:** Private issue types are being deprecated and can no longer be created. + """ + isPrivate: Boolean + + """ + The ID of the issue type to update + """ + issueTypeId: ID! @possibleTypes(concreteTypes: ["IssueType"]) + + """ + The name of the issue type + """ + name: String +} + +""" +Autogenerated return type of UpdateIssueType. +""" +type UpdateIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated issue type + """ + issueType: IssueType +} + """ Autogenerated input type of UpdateLabel """ @@ -63761,6 +64514,9 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & Can the current viewer create new projects on this owner. """ viewerCanCreateProjects: Boolean! + @deprecated( + reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC." + ) """ Whether or not the viewer is able to follow the user. diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 09478d28d576..1204d85e0a45 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -3035,6 +3035,40 @@ } ] }, + { + "name": "createIssueType", + "kind": "mutations", + "id": "createissuetype", + "href": "/graphql/reference/mutations#createissuetype", + "description": "

Creates a new issue type.

", + "inputFields": [ + { + "name": "input", + "type": "CreateIssueTypeInput!", + "id": "createissuetypeinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#createissuetypeinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issueType", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype", + "description": "

The newly created issue type.

" + } + ] + }, { "name": "createLabel", "kind": "mutations", @@ -3945,6 +3979,40 @@ } ] }, + { + "name": "deleteIssueType", + "kind": "mutations", + "id": "deleteissuetype", + "href": "/graphql/reference/mutations#deleteissuetype", + "description": "

Delete an issue type.

", + "inputFields": [ + { + "name": "input", + "type": "DeleteIssueTypeInput!", + "id": "deleteissuetypeinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#deleteissuetypeinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "deletedIssueTypeId", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The ID of the deleted issue type.

" + } + ] + }, { "name": "deleteLabel", "kind": "mutations", @@ -8659,6 +8727,74 @@ } ] }, + { + "name": "updateIssueIssueType", + "kind": "mutations", + "id": "updateissueissuetype", + "href": "/graphql/reference/mutations#updateissueissuetype", + "description": "

Updates the issue type on an issue.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateIssueIssueTypeInput!", + "id": "updateissueissuetypeinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updateissueissuetypeinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The updated issue.

" + } + ] + }, + { + "name": "updateIssueType", + "kind": "mutations", + "id": "updateissuetype", + "href": "/graphql/reference/mutations#updateissuetype", + "description": "

Update an issue type.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateIssueTypeInput!", + "id": "updateissuetypeinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updateissuetypeinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issueType", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype", + "description": "

The updated issue type.

" + } + ] + }, { "name": "updateLabel", "kind": "mutations", @@ -10046,7 +10182,9 @@ "type": "Project", "id": "project", "kind": "objects", - "href": "/graphql/reference/objects#project" + "href": "/graphql/reference/objects#project", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectCard", @@ -16764,7 +16902,9 @@ "type": "Project", "id": "project", "kind": "objects", - "href": "/graphql/reference/objects#project" + "href": "/graphql/reference/objects#project", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectCard", @@ -17845,6 +17985,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "packageUrl", + "description": "

Public preview: The dependency package URL.

", + "type": "URI", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + }, { "name": "relationship", "description": "

Public preview: The relationship of the dependency. Can be direct, transitive, or unknown.

", @@ -26880,7 +27028,7 @@ "kind": "objects", "id": "filepathrestrictionparameters", "href": "/graphql/reference/objects#filepathrestrictionparameters", - "description": "

Prevent commits that include changes in specified file paths from being pushed to the commit graph.

", + "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

", "fields": [ { "name": "restrictedFilePaths", @@ -28923,6 +29071,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "issueType", + "description": "

The issue type for this Issue.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + }, { "name": "labels", "description": "

A list of labels associated with the object.

", @@ -29181,7 +29337,9 @@ "href": "/graphql/reference/scalars#int" } } - ] + ], + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectItems", @@ -30744,6 +30902,14 @@ "id": "string", "kind": "scalars", "href": "/graphql/reference/scalars#string" + }, + { + "name": "type", + "description": "

The suggested issue type.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" } ] }, @@ -30903,6 +31069,390 @@ } ] }, + { + "name": "IssueType", + "kind": "objects", + "id": "issuetype", + "href": "/graphql/reference/objects#issuetype", + "description": "

Represents the type of Issue.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "color", + "description": "

The issue type's color.

", + "type": "IssueTypeColor!", + "id": "issuetypecolor", + "kind": "enums", + "href": "/graphql/reference/enums#issuetypecolor" + }, + { + "name": "description", + "description": "

The issue type's description.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "

The Node ID of the IssueType object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "isEnabled", + "description": "

The issue type's enabled state.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "isPrivate", + "description": "

Whether the issue type is publicly visible.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Private issue types are being deprecated and can no longer be created. Removal on 2025-04-01 UTC.

" + }, + { + "name": "issues", + "description": "

The issues with this issue type in the given repository.

", + "type": "IssueConnection!", + "id": "issueconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issueconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "filterBy", + "description": "

Filtering options for issues returned from the connection.

", + "type": { + "name": "IssueFilters", + "id": "issuefilters", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issuefilters" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "labels", + "description": "

A list of label names to filter the pull requests by.

", + "type": { + "name": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for issues returned from the connection.

", + "type": { + "name": "IssueOrder", + "id": "issueorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issueorder" + } + }, + { + "name": "repositoryId", + "description": "

Target repository to load the issues from.

", + "type": { + "name": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + }, + { + "name": "states", + "description": "

A list of states to filter the issues by.

", + "type": { + "name": "[IssueState!]", + "id": "issuestate", + "kind": "enums", + "href": "/graphql/reference/enums#issuestate" + } + } + ] + }, + { + "name": "name", + "description": "

The issue type's name.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, + { + "name": "IssueTypeAddedEvent", + "kind": "objects", + "id": "issuetypeaddedevent", + "href": "/graphql/reference/objects#issuetypeaddedevent", + "description": "

Represents aissue_type_addedevent on a given issue.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "id", + "description": "

The Node ID of the IssueTypeAddedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "issueType", + "description": "

The issue type added.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + } + ] + }, + { + "name": "IssueTypeChangedEvent", + "kind": "objects", + "id": "issuetypechangedevent", + "href": "/graphql/reference/objects#issuetypechangedevent", + "description": "

Represents aissue_type_changedevent on a given issue.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "id", + "description": "

The Node ID of the IssueTypeChangedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "issueType", + "description": "

The issue type added.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + }, + { + "name": "prevIssueType", + "description": "

The issue type removed.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + } + ] + }, + { + "name": "IssueTypeConnection", + "kind": "objects", + "id": "issuetypeconnection", + "href": "/graphql/reference/objects#issuetypeconnection", + "description": "

The connection type for IssueType.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[IssueTypeEdge]", + "id": "issuetypeedge", + "kind": "objects", + "href": "/graphql/reference/objects#issuetypeedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[IssueType]", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "IssueTypeEdge", + "kind": "objects", + "id": "issuetypeedge", + "href": "/graphql/reference/objects#issuetypeedge", + "description": "

An edge in a connection.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "

The item at the end of the edge.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + } + ] + }, + { + "name": "IssueTypeRemovedEvent", + "kind": "objects", + "id": "issuetyperemovedevent", + "href": "/graphql/reference/objects#issuetyperemovedevent", + "description": "

Represents aissue_type_removedevent on a given issue.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "id", + "description": "

The Node ID of the IssueTypeRemovedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "issueType", + "description": "

The issue type removed.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype" + } + ] + }, { "name": "JoinedGitHubContribution", "kind": "objects", @@ -32696,7 +33246,7 @@ "kind": "objects", "id": "maxfilepathlengthparameters", "href": "/graphql/reference/objects#maxfilepathlengthparameters", - "description": "

Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.

", + "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

", "fields": [ { "name": "maxFilePathLength", @@ -32713,7 +33263,7 @@ "kind": "objects", "id": "maxfilesizeparameters", "href": "/graphql/reference/objects#maxfilesizeparameters", - "description": "

Prevent commits that exceed a specified file size limit from being pushed to the commit graph.

", + "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

", "fields": [ { "name": "maxFileSize", @@ -34045,6 +34595,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "descriptionHTML", + "description": "

The HTML rendered description of the milestone using GitHub Flavored Markdown.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "dueOn", "description": "

Identifies the due date of the milestone.

", @@ -34519,7 +35077,9 @@ "type": "Project", "id": "project", "kind": "objects", - "href": "/graphql/reference/objects#project" + "href": "/graphql/reference/objects#project", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectCard", @@ -40889,6 +41449,66 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "issueTypes", + "description": "

A list of the organization's issue types.

", + "type": "IssueTypeConnection", + "id": "issuetypeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issuetypeconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for issue types returned from the connection.

", + "type": { + "name": "IssueTypeOrder", + "id": "issuetypeorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issuetypeorder" + } + } + ] + }, { "name": "itemShowcase", "description": "

Showcases a selection of repositories and gists that the profile owner has\neither curated or that have been selected automatically based on popularity.

", @@ -43065,7 +43685,9 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "viewerCanCreateRepositories", @@ -51719,7 +52341,9 @@ "href": "/graphql/reference/scalars#int" } } - ] + ], + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectItems", @@ -53135,10 +53759,18 @@ { "name": "allowedMergeMethods", "description": "

Array of allowed merge methods. Allowed values include merge, squash, and\nrebase. At least one option must be enabled.

", - "type": "[String!]", - "id": "string", + "type": "[PullRequestAllowedMergeMethods!]", + "id": "pullrequestallowedmergemethods", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestallowedmergemethods" + }, + { + "name": "automaticCopilotCodeReviewEnabled", + "description": "

This field is in beta and subject to change. Automatically request review from\nCopilot for new pull requests, if the author has access to Copilot code review.

", + "type": "Boolean!", + "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#boolean" }, { "name": "dismissStaleReviewsOnPush", @@ -57171,7 +57803,9 @@ "type": "Project", "id": "project", "kind": "objects", - "href": "/graphql/reference/objects#project" + "href": "/graphql/reference/objects#project", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectColumnName", @@ -62625,6 +63259,86 @@ "kind": "objects", "href": "/graphql/reference/objects#issuetemplate" }, + { + "name": "issueType", + "description": "

Returns a single issue type by name.

", + "type": "IssueType", + "id": "issuetype", + "kind": "objects", + "href": "/graphql/reference/objects#issuetype", + "arguments": [ + { + "name": "name", + "description": "

Issue type name.

", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, + { + "name": "issueTypes", + "description": "

A list of the repository's issue types.

", + "type": "IssueTypeConnection", + "id": "issuetypeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issuetypeconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for issue types returned from the connection.

", + "type": { + "name": "IssueTypeOrder", + "id": "issuetypeorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issuetypeorder" + } + } + ] + }, { "name": "issues", "description": "

A list of issues that have been opened in the repository.

", @@ -64445,7 +65159,9 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "viewerCanSubscribe", @@ -66543,6 +67259,14 @@ "kind": "objects", "href": "/graphql/reference/objects#dependabotupdate" }, + { + "name": "dependencyRelationship", + "description": "

The relationship of an alert's dependency.

", + "type": "RepositoryVulnerabilityAlertDependencyRelationship", + "id": "repositoryvulnerabilityalertdependencyrelationship", + "kind": "enums", + "href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyrelationship" + }, { "name": "dependencyScope", "description": "

The scope of an alert's dependency.

", @@ -78680,7 +79404,9 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "viewerCanFollow", @@ -82012,7 +82738,9 @@ "type": "ID!", "id": "id", "kind": "scalars", - "href": "/graphql/reference/scalars#id" + "href": "/graphql/reference/scalars#id", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "project", @@ -82124,7 +82852,9 @@ "type": "URI!", "id": "uri", "kind": "scalars", - "href": "/graphql/reference/scalars#uri" + "href": "/graphql/reference/scalars#uri", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "projectsUrl", @@ -82132,7 +82862,9 @@ "type": "URI!", "id": "uri", "kind": "scalars", - "href": "/graphql/reference/scalars#uri" + "href": "/graphql/reference/scalars#uri", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" }, { "name": "viewerCanCreateProjects", @@ -82140,7 +82872,9 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

" } ] }, @@ -85960,6 +86694,18 @@ "name": "ISSUE_COMMENT", "description": "

Represents a comment on an Issue.

" }, + { + "name": "ISSUE_TYPE_ADDED_EVENT", + "description": "

Represents aissue_type_addedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_CHANGED_EVENT", + "description": "

Represents aissue_type_changedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_REMOVED_EVENT", + "description": "

Represents aissue_type_removedevent on a given issue.

" + }, { "name": "LABELED_EVENT", "description": "

Represents alabeledevent on a given issue or pull request.

" @@ -86058,6 +86804,64 @@ } ] }, + { + "name": "IssueTypeColor", + "kind": "enums", + "id": "issuetypecolor", + "href": "/graphql/reference/enums#issuetypecolor", + "description": "

The possible color for an issue type.

", + "values": [ + { + "name": "BLUE", + "description": "

blue.

" + }, + { + "name": "GRAY", + "description": "

gray.

" + }, + { + "name": "GREEN", + "description": "

green.

" + }, + { + "name": "ORANGE", + "description": "

orange.

" + }, + { + "name": "PINK", + "description": "

pink.

" + }, + { + "name": "PURPLE", + "description": "

purple.

" + }, + { + "name": "RED", + "description": "

red.

" + }, + { + "name": "YELLOW", + "description": "

yellow.

" + } + ] + }, + { + "name": "IssueTypeOrderField", + "kind": "enums", + "id": "issuetypeorderfield", + "href": "/graphql/reference/enums#issuetypeorderfield", + "description": "

Properties by which issue type connections can be ordered.

", + "values": [ + { + "name": "CREATED_AT", + "description": "

Order issue types by creation time.

" + }, + { + "name": "NAME", + "description": "

Order issue types by name.

" + } + ] + }, { "name": "LabelOrderField", "kind": "enums", @@ -87365,6 +88169,10 @@ "name": "DATE", "description": "

Date.

" }, + { + "name": "ISSUE_TYPE", + "description": "

Issue type.

" + }, { "name": "ITERATION", "description": "

Iteration.

" @@ -87712,6 +88520,27 @@ } ] }, + { + "name": "PullRequestAllowedMergeMethods", + "kind": "enums", + "id": "pullrequestallowedmergemethods", + "href": "/graphql/reference/enums#pullrequestallowedmergemethods", + "description": "

Array of allowed merge methods. Allowed values include merge, squash, and rebase. At least one option must be enabled.

", + "values": [ + { + "name": "MERGE", + "description": "

Add all commits from the head branch to the base branch with a merge commit.

" + }, + { + "name": "REBASE", + "description": "

Add all commits from the head branch onto the base branch individually.

" + }, + { + "name": "SQUASH", + "description": "

Combine all commits from the head branch into a single commit in the base branch.

" + } + ] + }, { "name": "PullRequestBranchUpdateMethod", "kind": "enums", @@ -88012,6 +88841,18 @@ "name": "ISSUE_COMMENT", "description": "

Represents a comment on an Issue.

" }, + { + "name": "ISSUE_TYPE_ADDED_EVENT", + "description": "

Represents aissue_type_addedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_CHANGED_EVENT", + "description": "

Represents aissue_type_changedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_REMOVED_EVENT", + "description": "

Represents aissue_type_removedevent on a given issue.

" + }, { "name": "LABELED_EVENT", "description": "

Represents alabeledevent on a given issue or pull request.

" @@ -88781,7 +89622,7 @@ }, { "name": "FILE_PATH_RESTRICTION", - "description": "

Prevent commits that include changes in specified file paths from being pushed to the commit graph.

" + "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" }, { "name": "LOCK_BRANCH", @@ -88789,11 +89630,11 @@ }, { "name": "MAX_FILE_PATH_LENGTH", - "description": "

Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.

" + "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" }, { "name": "MAX_FILE_SIZE", - "description": "

Prevent commits that exceed a specified file size limit from being pushed to the commit graph.

" + "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" }, { "name": "MAX_REF_UPDATES", @@ -88928,6 +89769,27 @@ } ] }, + { + "name": "RepositoryVulnerabilityAlertDependencyRelationship", + "kind": "enums", + "id": "repositoryvulnerabilityalertdependencyrelationship", + "href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyrelationship", + "description": "

The possible relationships of an alert's dependency.

", + "values": [ + { + "name": "DIRECT", + "description": "

A direct dependency of your project.

" + }, + { + "name": "TRANSITIVE", + "description": "

A transitive dependency of your project.

" + }, + { + "name": "UNKNOWN", + "description": "

The relationship is unknown.

" + } + ] + }, { "name": "RepositoryVulnerabilityAlertDependencyScope", "kind": "enums", @@ -89119,6 +89981,10 @@ "name": "ISSUE", "description": "

Returns results matching issues in repositories.

" }, + { + "name": "ISSUE_ADVANCED", + "description": "

Returns results matching issues in repositories.

" + }, { "name": "REPOSITORY", "description": "

Returns results matching repositories.

" @@ -91554,6 +92420,21 @@ "id": "issuecomment", "href": "/graphql/reference/objects#issuecomment" }, + { + "name": "IssueTypeAddedEvent", + "id": "issuetypeaddedevent", + "href": "/graphql/reference/objects#issuetypeaddedevent" + }, + { + "name": "IssueTypeChangedEvent", + "id": "issuetypechangedevent", + "href": "/graphql/reference/objects#issuetypechangedevent" + }, + { + "name": "IssueTypeRemovedEvent", + "id": "issuetyperemovedevent", + "href": "/graphql/reference/objects#issuetyperemovedevent" + }, { "name": "LabeledEvent", "id": "labeledevent", @@ -92556,6 +93437,21 @@ "id": "issuecomment", "href": "/graphql/reference/objects#issuecomment" }, + { + "name": "IssueTypeAddedEvent", + "id": "issuetypeaddedevent", + "href": "/graphql/reference/objects#issuetypeaddedevent" + }, + { + "name": "IssueTypeChangedEvent", + "id": "issuetypechangedevent", + "href": "/graphql/reference/objects#issuetypechangedevent" + }, + { + "name": "IssueTypeRemovedEvent", + "id": "issuetyperemovedevent", + "href": "/graphql/reference/objects#issuetyperemovedevent" + }, { "name": "LabeledEvent", "id": "labeledevent", @@ -96533,6 +97429,15 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "issueTypeId", + "description": "

The Node ID of the issue type for this issue.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, { "name": "labelIds", "description": "

An array of Node IDs of labels for this issue.

", @@ -96588,6 +97493,72 @@ } ] }, + { + "name": "CreateIssueTypeInput", + "kind": "inputObjects", + "id": "createissuetypeinput", + "href": "/graphql/reference/input-objects#createissuetypeinput", + "description": "

Autogenerated input type of CreateIssueType.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "color", + "description": "

Color for the issue type.

", + "type": "IssueTypeColor", + "id": "issuetypecolor", + "kind": "enums", + "href": "/graphql/reference/enums#issuetypecolor" + }, + { + "name": "description", + "description": "

Description of the new issue type.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "isEnabled", + "description": "

Whether or not the issue type is enabled on the org level.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "isPrivate", + "description": "

Whether or not the issue type is restricted to issues in private repositories

\n

Upcoming Change on 2025-04-01 UTC\nDescription: isPrivate will be removed.\nReason: Private issue types are being deprecated and can no longer be created.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "name", + "description": "

Name of the new issue type.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "ownerId", + "description": "

The ID for the organization on which the issue type is created.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "CreateLabelInput", "kind": "inputObjects", @@ -97968,6 +98939,32 @@ } ] }, + { + "name": "DeleteIssueTypeInput", + "kind": "inputObjects", + "id": "deleteissuetypeinput", + "href": "/graphql/reference/input-objects#deleteissuetypeinput", + "description": "

Autogenerated input type of DeleteIssueType.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueTypeId", + "description": "

The ID of the issue type to delete.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DeleteLabelInput", "kind": "inputObjects", @@ -99178,7 +100175,7 @@ "kind": "inputObjects", "id": "filepathrestrictionparametersinput", "href": "/graphql/reference/input-objects#filepathrestrictionparametersinput", - "description": "

Prevent commits that include changes in specified file paths from being pushed to the commit graph.

", + "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

", "inputFields": [ { "name": "restrictedFilePaths", @@ -99648,6 +100645,31 @@ } ] }, + { + "name": "IssueTypeOrder", + "kind": "inputObjects", + "id": "issuetypeorder", + "href": "/graphql/reference/input-objects#issuetypeorder", + "description": "

Ordering options for issue types connections.

", + "inputFields": [ + { + "name": "direction", + "description": "

The ordering direction.

", + "type": "OrderDirection!", + "id": "orderdirection", + "kind": "enums", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order issue types by.

", + "type": "IssueTypeOrderField!", + "id": "issuetypeorderfield", + "kind": "enums", + "href": "/graphql/reference/enums#issuetypeorderfield" + } + ] + }, { "name": "LabelOrder", "kind": "inputObjects", @@ -99979,7 +101001,7 @@ "kind": "inputObjects", "id": "maxfilepathlengthparametersinput", "href": "/graphql/reference/input-objects#maxfilepathlengthparametersinput", - "description": "

Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.

", + "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

", "inputFields": [ { "name": "maxFilePathLength", @@ -99996,7 +101018,7 @@ "kind": "inputObjects", "id": "maxfilesizeparametersinput", "href": "/graphql/reference/input-objects#maxfilesizeparametersinput", - "description": "

Prevent commits that exceed a specified file size limit from being pushed to the commit graph.

", + "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

", "inputFields": [ { "name": "maxFileSize", @@ -101097,10 +102119,18 @@ { "name": "allowedMergeMethods", "description": "

Array of allowed merge methods. Allowed values include merge, squash, and\nrebase. At least one option must be enabled.

", - "type": "[String!]", - "id": "string", + "type": "[PullRequestAllowedMergeMethods!]", + "id": "pullrequestallowedmergemethods", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestallowedmergemethods" + }, + { + "name": "automaticCopilotCodeReviewEnabled", + "description": "

This argument is in beta and subject to change. Automatically request review\nfrom Copilot for new pull requests, if the author has access to Copilot code review.

", + "type": "Boolean", + "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#boolean" }, { "name": "dismissStaleReviewsOnPush", @@ -105576,6 +106606,15 @@ "href": "/graphql/reference/scalars#id", "isDeprecated": false }, + { + "name": "issueTypeId", + "description": "

The ID of the Issue Type for this issue.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, { "name": "labelIds", "description": "

An array of Node IDs of labels for this issue.

", @@ -105620,6 +106659,107 @@ } ] }, + { + "name": "UpdateIssueIssueTypeInput", + "kind": "inputObjects", + "id": "updateissueissuetypeinput", + "href": "/graphql/reference/input-objects#updateissueissuetypeinput", + "description": "

Autogenerated input type of UpdateIssueIssueType.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueId", + "description": "

The ID of the issue to update.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "issueTypeId", + "description": "

The ID of the issue type to update on the issue.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "UpdateIssueTypeInput", + "kind": "inputObjects", + "id": "updateissuetypeinput", + "href": "/graphql/reference/input-objects#updateissuetypeinput", + "description": "

Autogenerated input type of UpdateIssueType.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "color", + "description": "

Color for the issue type.

", + "type": "IssueTypeColor", + "id": "issuetypecolor", + "kind": "enums", + "href": "/graphql/reference/enums#issuetypecolor" + }, + { + "name": "description", + "description": "

The description of the issue type.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "isEnabled", + "description": "

Whether or not the issue type is enabled for the organization.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "isPrivate", + "description": "

Whether or not the issue type is restricted to issues in private repositories

\n

Upcoming Change on 2025-04-01 UTC\nDescription: isPrivate will be removed.\nReason: Private issue types are being deprecated and can no longer be created.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "issueTypeId", + "description": "

The ID of the issue type to update.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "name", + "description": "

The name of the issue type.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "UpdateLabelInput", "kind": "inputObjects", diff --git a/src/graphql/data/ghec/upcoming-changes.json b/src/graphql/data/ghec/upcoming-changes.json index a9e005a96bd7..273c5726d2a8 100644 --- a/src/graphql/data/ghec/upcoming-changes.json +++ b/src/graphql/data/ghec/upcoming-changes.json @@ -9,7 +9,25 @@ "owner": "github/advisory-database" } ], + "2025-09-04": [ + { + "location": "SearchType.ISSUE_ADVANCED", + "description": "

ISSUE_ADVANCED will be removed.

", + "reason": "

Search for issues and pull requests will be overridden by advanced search on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/.

", + "date": "2025-09-04", + "criticality": "breaking", + "owner": "github/issues_advanced_search" + } + ], "2025-04-01": [ + { + "location": "User.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "User.projects", "description": "

projects will be removed.

", @@ -26,6 +44,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "UpdateIssueTypeInput.isPrivate", + "description": "

isPrivate will be removed.

", + "reason": "

Private issue types are being deprecated and can no longer be created.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/issues" + }, { "location": "SearchShortcutQueryProjectTerm.project", "description": "

project will be removed.

", @@ -34,6 +60,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "Repository.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "Repository.projects", "description": "

projects will be removed.

", @@ -58,6 +92,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "RemovedFromProjectEvent.project", + "description": "

project will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "RemovedFromProjectEvent.databaseId", "description": "

databaseId will be removed.

", @@ -66,6 +108,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "PullRequest.projectCards", + "description": "

projectCards will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "ProjectV2Workflow.databaseId", "description": "

databaseId will be removed. Use fullDatabaseId instead.

", @@ -162,6 +212,30 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "ProjectOwner.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, + { + "location": "ProjectOwner.projectsUrl", + "description": "

projectsUrl will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, + { + "location": "ProjectOwner.projectsResourcePath", + "description": "

projectsResourcePath will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "ProjectOwner.projects", "description": "

projects will be removed.

", @@ -178,6 +252,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "ProjectOwner.id", + "description": "

id will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "ProjectColumn.url", "description": "

url will be removed.

", @@ -258,6 +340,22 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "ProjectCardArchivedState.NOT_ARCHIVED", + "description": "

NOT_ARCHIVED will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, + { + "location": "ProjectCardArchivedState.ARCHIVED", + "description": "

ARCHIVED will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "ProjectCard.url", "description": "

url will be removed.

", @@ -490,6 +588,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "Organization.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "Organization.projects", "description": "

projects will be removed.

", @@ -682,6 +788,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "MovedColumnsInProjectEvent.project", + "description": "

project will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "MovedColumnsInProjectEvent.previousProjectColumnName", "description": "

previousProjectColumnName will be removed.

", @@ -698,6 +812,22 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "IssueType.isPrivate", + "description": "

isPrivate will be removed.

", + "reason": "

Private issue types are being deprecated and can no longer be created.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/issues" + }, + { + "location": "Issue.projectCards", + "description": "

projectCards will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "EnterpriseOwnerInfo.outsideCollaborators.hasTwoFactorEnabled", "description": "

hasTwoFactorEnabled will be removed. Use two_factor_method_security instead.

", @@ -754,6 +884,14 @@ "criticality": "breaking", "owner": "vaindil" }, + { + "location": "CreateIssueTypeInput.isPrivate", + "description": "

isPrivate will be removed.

", + "reason": "

Private issue types are being deprecated and can no longer be created.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/issues" + }, { "location": "ConvertedNoteToIssueEvent.projectCard", "description": "

projectCard will be removed.

", @@ -762,6 +900,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "ConvertedNoteToIssueEvent.project", + "description": "

project will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "AnnouncementBannerI.announcementUserDismissible", "description": "

announcementUserDismissible will be removed. Use the announcementBanner object instead.

", @@ -810,6 +956,14 @@ "criticality": "breaking", "owner": "github/memex" }, + { + "location": "AddedToProjectEvent.project", + "description": "

project will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + }, { "location": "AddedToProjectEvent.databaseId", "description": "

databaseId will be removed.

", diff --git a/src/graphql/scripts/build-changelog.js b/src/graphql/scripts/build-changelog.js index 9ef9dfcd2a72..1d806966ee0b 100644 --- a/src/graphql/scripts/build-changelog.js +++ b/src/graphql/scripts/build-changelog.js @@ -308,6 +308,7 @@ const CHANGES_TO_IGNORE = [ ChangeType.TypeDescriptionAdded, ChangeType.DirectiveUsageFieldDefinitionAdded, ChangeType.DirectiveUsageArgumentDefinitionAdded, + ChangeType.DirectiveUsageEnumValueAdded, ] export default { createChangelogEntry, cleanPreviewTitle, previewAnchor, prependDatedEntry }