Skip to content

Commit 4442df8

Browse files
docs-botrsese
andauthored
GraphQL schema update (#56651)
Co-authored-by: rsese <734194+rsese@users.noreply.github.com>
1 parent d0fe048 commit 4442df8

9 files changed

+43
-54
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Directive <code>deprecated</code> was removed from field <code>ClosedEvent.stateReason</code></p>",
8+
"<p>Directive <code>deprecated</code> was removed from field <code>Issue.stateReason</code></p>"
9+
]
10+
}
11+
],
12+
"previewChanges": [],
13+
"upcomingChanges": [
14+
{
15+
"title": "The following changes will be made to the schema:",
16+
"changes": [
17+
"<p>On member <code>Issue.stateReason.enableDuplicate</code>:<code>enableDuplicate</code> will be removed. <strong>Effective 2025-10-01</strong>.</p>"
18+
]
19+
}
20+
],
21+
"date": "2025-07-15"
22+
},
223
{
324
"schemaChanges": [
425
{

src/graphql/data/fpt/graphql_upcoming_changes.public.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,14 +1512,8 @@ upcoming_changes:
15121512
date: '2025-09-04'
15131513
criticality: breaking
15141514
owner: github/issues_advanced_search
1515-
- location: ClosedEvent.stateReason
1516-
description: '`stateReason` will be removed.'
1517-
reason: The state reason for duplicate issue is now returned by default.
1518-
date: '2025-10-01T00:00:00+00:00'
1519-
criticality: breaking
1520-
owner: issues
1521-
- location: Issue.stateReason
1522-
description: '`stateReason` will be removed.'
1515+
- location: Issue.stateReason.enableDuplicate
1516+
description: '`enableDuplicate` will be removed.'
15231517
reason: The state reason for duplicate issue is now returned by default.
15241518
date: '2025-10-01T00:00:00+00:00'
15251519
criticality: breaking

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4641,7 +4641,6 @@ type ClosedEvent implements Node & UniformResourceLocatable {
46414641
The reason the issue state was changed to closed.
46424642
"""
46434643
stateReason: IssueStateReason
4644-
@deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")
46454644

46464645
"""
46474646
The HTTP URL for this closed event.
@@ -19068,10 +19067,13 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
1906819067
stateReason(
1906919068
"""
1907019069
Whether or not to return state reason for duplicates
19070+
19071+
**Upcoming Change on 2025-10-01 UTC**
19072+
**Description:** `enableDuplicate` will be removed.
19073+
**Reason:** The state reason for duplicate issue is now returned by default.
1907119074
"""
1907219075
enableDuplicate: Boolean = false
1907319076
): IssueStateReason
19074-
@deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")
1907519077

1907619078
"""
1907719079
A list of sub-issues associated with the Issue.

src/graphql/data/fpt/schema.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13830,9 +13830,7 @@
1383013830
"type": "IssueStateReason",
1383113831
"id": "issuestatereason",
1383213832
"kind": "enums",
13833-
"href": "/graphql/reference/enums#issuestatereason",
13834-
"isDeprecated": true,
13835-
"deprecationReason": "<p>The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.</p>"
13833+
"href": "/graphql/reference/enums#issuestatereason"
1383613834
},
1383713835
{
1383813836
"name": "url",
@@ -29813,17 +29811,15 @@
2981329811
{
2981429812
"name": "enableDuplicate",
2981529813
"defaultValue": false,
29816-
"description": "<p>Whether or not to return state reason for duplicates.</p>",
29814+
"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>",
2981729815
"type": {
2981829816
"name": "Boolean",
2981929817
"id": "boolean",
2982029818
"kind": "scalars",
2982129819
"href": "/graphql/reference/scalars#boolean"
2982229820
}
2982329821
}
29824-
],
29825-
"isDeprecated": true,
29826-
"deprecationReason": "<p>The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.</p>"
29822+
]
2982729823
},
2982829824
{
2982929825
"name": "subIssues",

src/graphql/data/fpt/upcoming-changes.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8883,16 +8883,8 @@
88838883
"owner": "github/advisory-database"
88848884
},
88858885
{
8886-
"location": "Issue.stateReason",
8887-
"description": "<p><code>stateReason</code> will be removed.</p>",
8888-
"reason": "<p>The state reason for duplicate issue is now returned by default.</p>",
8889-
"date": "2025-10-01",
8890-
"criticality": "breaking",
8891-
"owner": "issues"
8892-
},
8893-
{
8894-
"location": "ClosedEvent.stateReason",
8895-
"description": "<p><code>stateReason</code> will be removed.</p>",
8886+
"location": "Issue.stateReason.enableDuplicate",
8887+
"description": "<p><code>enableDuplicate</code> will be removed.</p>",
88968888
"reason": "<p>The state reason for duplicate issue is now returned by default.</p>",
88978889
"date": "2025-10-01",
88988890
"criticality": "breaking",

src/graphql/data/ghec/graphql_upcoming_changes.public.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,14 +1512,8 @@ upcoming_changes:
15121512
date: '2025-09-04'
15131513
criticality: breaking
15141514
owner: github/issues_advanced_search
1515-
- location: ClosedEvent.stateReason
1516-
description: '`stateReason` will be removed.'
1517-
reason: The state reason for duplicate issue is now returned by default.
1518-
date: '2025-10-01T00:00:00+00:00'
1519-
criticality: breaking
1520-
owner: issues
1521-
- location: Issue.stateReason
1522-
description: '`stateReason` will be removed.'
1515+
- location: Issue.stateReason.enableDuplicate
1516+
description: '`enableDuplicate` will be removed.'
15231517
reason: The state reason for duplicate issue is now returned by default.
15241518
date: '2025-10-01T00:00:00+00:00'
15251519
criticality: breaking

src/graphql/data/ghec/schema.docs.graphql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4641,7 +4641,6 @@ type ClosedEvent implements Node & UniformResourceLocatable {
46414641
The reason the issue state was changed to closed.
46424642
"""
46434643
stateReason: IssueStateReason
4644-
@deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")
46454644

46464645
"""
46474646
The HTTP URL for this closed event.
@@ -19068,10 +19067,13 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
1906819067
stateReason(
1906919068
"""
1907019069
Whether or not to return state reason for duplicates
19070+
19071+
**Upcoming Change on 2025-10-01 UTC**
19072+
**Description:** `enableDuplicate` will be removed.
19073+
**Reason:** The state reason for duplicate issue is now returned by default.
1907119074
"""
1907219075
enableDuplicate: Boolean = false
1907319076
): IssueStateReason
19074-
@deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")
1907519077

1907619078
"""
1907719079
A list of sub-issues associated with the Issue.

src/graphql/data/ghec/schema.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13830,9 +13830,7 @@
1383013830
"type": "IssueStateReason",
1383113831
"id": "issuestatereason",
1383213832
"kind": "enums",
13833-
"href": "/graphql/reference/enums#issuestatereason",
13834-
"isDeprecated": true,
13835-
"deprecationReason": "<p>The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.</p>"
13833+
"href": "/graphql/reference/enums#issuestatereason"
1383613834
},
1383713835
{
1383813836
"name": "url",
@@ -29813,17 +29811,15 @@
2981329811
{
2981429812
"name": "enableDuplicate",
2981529813
"defaultValue": false,
29816-
"description": "<p>Whether or not to return state reason for duplicates.</p>",
29814+
"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>",
2981729815
"type": {
2981829816
"name": "Boolean",
2981929817
"id": "boolean",
2982029818
"kind": "scalars",
2982129819
"href": "/graphql/reference/scalars#boolean"
2982229820
}
2982329821
}
29824-
],
29825-
"isDeprecated": true,
29826-
"deprecationReason": "<p>The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.</p>"
29822+
]
2982729823
},
2982829824
{
2982929825
"name": "subIssues",

src/graphql/data/ghec/upcoming-changes.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8883,16 +8883,8 @@
88838883
"owner": "github/advisory-database"
88848884
},
88858885
{
8886-
"location": "Issue.stateReason",
8887-
"description": "<p><code>stateReason</code> will be removed.</p>",
8888-
"reason": "<p>The state reason for duplicate issue is now returned by default.</p>",
8889-
"date": "2025-10-01",
8890-
"criticality": "breaking",
8891-
"owner": "issues"
8892-
},
8893-
{
8894-
"location": "ClosedEvent.stateReason",
8895-
"description": "<p><code>stateReason</code> will be removed.</p>",
8886+
"location": "Issue.stateReason.enableDuplicate",
8887+
"description": "<p><code>enableDuplicate</code> will be removed.</p>",
88968888
"reason": "<p>The state reason for duplicate issue is now returned by default.</p>",
88978889
"date": "2025-10-01",
88988890
"criticality": "breaking",

0 commit comments

Comments
 (0)