Skip to content

Repo sync #39338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 15, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
GraphQL schema update (#56651)
Co-authored-by: rsese <734194+rsese@users.noreply.github.com>
  • Loading branch information
docs-bot and rsese authored Jul 15, 2025
commit 4442df8ab2e34be16a63dcb6465ad2dd4862b0ca
21 changes: 21 additions & 0 deletions src/graphql/data/fpt/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Directive <code>deprecated</code> was removed from field <code>ClosedEvent.stateReason</code></p>",
"<p>Directive <code>deprecated</code> was removed from field <code>Issue.stateReason</code></p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [
{
"title": "The following changes will be made to the schema:",
"changes": [
"<p>On member <code>Issue.stateReason.enableDuplicate</code>:<code>enableDuplicate</code> will be removed. <strong>Effective 2025-10-01</strong>.</p>"
]
}
],
"date": "2025-07-15"
},
{
"schemaChanges": [
{
Expand Down
10 changes: 2 additions & 8 deletions src/graphql/data/fpt/graphql_upcoming_changes.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1512,14 +1512,8 @@ upcoming_changes:
date: '2025-09-04'
criticality: breaking
owner: github/issues_advanced_search
- location: ClosedEvent.stateReason
description: '`stateReason` will be removed.'
reason: The state reason for duplicate issue is now returned by default.
date: '2025-10-01T00:00:00+00:00'
criticality: breaking
owner: issues
- location: Issue.stateReason
description: '`stateReason` will be removed.'
- location: Issue.stateReason.enableDuplicate
description: '`enableDuplicate` will be removed.'
reason: The state reason for duplicate issue is now returned by default.
date: '2025-10-01T00:00:00+00:00'
criticality: breaking
Expand Down
6 changes: 4 additions & 2 deletions src/graphql/data/fpt/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4641,7 +4641,6 @@ type ClosedEvent implements Node & UniformResourceLocatable {
The reason the issue state was changed to closed.
"""
stateReason: IssueStateReason
@deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")

"""
The HTTP URL for this closed event.
Expand Down Expand Up @@ -19068,10 +19067,13 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
stateReason(
"""
Whether or not to return state reason for duplicates

**Upcoming Change on 2025-10-01 UTC**
**Description:** `enableDuplicate` will be removed.
**Reason:** The state reason for duplicate issue is now returned by default.
"""
enableDuplicate: Boolean = false
): IssueStateReason
@deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")

"""
A list of sub-issues associated with the Issue.
Expand Down
10 changes: 3 additions & 7 deletions src/graphql/data/fpt/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13830,9 +13830,7 @@
"type": "IssueStateReason",
"id": "issuestatereason",
"kind": "enums",
"href": "/graphql/reference/enums#issuestatereason",
"isDeprecated": true,
"deprecationReason": "<p>The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.</p>"
"href": "/graphql/reference/enums#issuestatereason"
},
{
"name": "url",
Expand Down Expand Up @@ -29813,17 +29811,15 @@
{
"name": "enableDuplicate",
"defaultValue": false,
"description": "<p>Whether or not to return state reason for duplicates.</p>",
"description": "<p>Whether or not to return state reason for duplicates</p>\n<p><strong>Upcoming Change on 2025-10-01 UTC</strong>\n<strong>Description:</strong> <code>enableDuplicate</code> will be removed.\n<strong>Reason:</strong> The state reason for duplicate issue is now returned by default.</p>",
"type": {
"name": "Boolean",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
}
}
],
"isDeprecated": true,
"deprecationReason": "<p>The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.</p>"
]
},
{
"name": "subIssues",
Expand Down
12 changes: 2 additions & 10 deletions src/graphql/data/fpt/upcoming-changes.json
Original file line number Diff line number Diff line change
Expand Up @@ -8883,16 +8883,8 @@
"owner": "github/advisory-database"
},
{
"location": "Issue.stateReason",
"description": "<p><code>stateReason</code> will be removed.</p>",
"reason": "<p>The state reason for duplicate issue is now returned by default.</p>",
"date": "2025-10-01",
"criticality": "breaking",
"owner": "issues"
},
{
"location": "ClosedEvent.stateReason",
"description": "<p><code>stateReason</code> will be removed.</p>",
"location": "Issue.stateReason.enableDuplicate",
"description": "<p><code>enableDuplicate</code> will be removed.</p>",
"reason": "<p>The state reason for duplicate issue is now returned by default.</p>",
"date": "2025-10-01",
"criticality": "breaking",
Expand Down
10 changes: 2 additions & 8 deletions src/graphql/data/ghec/graphql_upcoming_changes.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1512,14 +1512,8 @@ upcoming_changes:
date: '2025-09-04'
criticality: breaking
owner: github/issues_advanced_search
- location: ClosedEvent.stateReason
description: '`stateReason` will be removed.'
reason: The state reason for duplicate issue is now returned by default.
date: '2025-10-01T00:00:00+00:00'
criticality: breaking
owner: issues
- location: Issue.stateReason
description: '`stateReason` will be removed.'
- location: Issue.stateReason.enableDuplicate
description: '`enableDuplicate` will be removed.'
reason: The state reason for duplicate issue is now returned by default.
date: '2025-10-01T00:00:00+00:00'
criticality: breaking
Expand Down
6 changes: 4 additions & 2 deletions src/graphql/data/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4641,7 +4641,6 @@ type ClosedEvent implements Node & UniformResourceLocatable {
The reason the issue state was changed to closed.
"""
stateReason: IssueStateReason
@deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")

"""
The HTTP URL for this closed event.
Expand Down Expand Up @@ -19068,10 +19067,13 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
stateReason(
"""
Whether or not to return state reason for duplicates

**Upcoming Change on 2025-10-01 UTC**
**Description:** `enableDuplicate` will be removed.
**Reason:** The state reason for duplicate issue is now returned by default.
"""
enableDuplicate: Boolean = false
): IssueStateReason
@deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")

"""
A list of sub-issues associated with the Issue.
Expand Down
10 changes: 3 additions & 7 deletions src/graphql/data/ghec/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13830,9 +13830,7 @@
"type": "IssueStateReason",
"id": "issuestatereason",
"kind": "enums",
"href": "/graphql/reference/enums#issuestatereason",
"isDeprecated": true,
"deprecationReason": "<p>The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.</p>"
"href": "/graphql/reference/enums#issuestatereason"
},
{
"name": "url",
Expand Down Expand Up @@ -29813,17 +29811,15 @@
{
"name": "enableDuplicate",
"defaultValue": false,
"description": "<p>Whether or not to return state reason for duplicates.</p>",
"description": "<p>Whether or not to return state reason for duplicates</p>\n<p><strong>Upcoming Change on 2025-10-01 UTC</strong>\n<strong>Description:</strong> <code>enableDuplicate</code> will be removed.\n<strong>Reason:</strong> The state reason for duplicate issue is now returned by default.</p>",
"type": {
"name": "Boolean",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
}
}
],
"isDeprecated": true,
"deprecationReason": "<p>The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.</p>"
]
},
{
"name": "subIssues",
Expand Down
12 changes: 2 additions & 10 deletions src/graphql/data/ghec/upcoming-changes.json
Original file line number Diff line number Diff line change
Expand Up @@ -8883,16 +8883,8 @@
"owner": "github/advisory-database"
},
{
"location": "Issue.stateReason",
"description": "<p><code>stateReason</code> will be removed.</p>",
"reason": "<p>The state reason for duplicate issue is now returned by default.</p>",
"date": "2025-10-01",
"criticality": "breaking",
"owner": "issues"
},
{
"location": "ClosedEvent.stateReason",
"description": "<p><code>stateReason</code> will be removed.</p>",
"location": "Issue.stateReason.enableDuplicate",
"description": "<p><code>enableDuplicate</code> will be removed.</p>",
"reason": "<p>The state reason for duplicate issue is now returned by default.</p>",
"date": "2025-10-01",
"criticality": "breaking",
Expand Down