diff --git a/Dockerfile b/Dockerfile index b8ddea383fa8..709c901dcc95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ # --------------------------------------------------------------- # To update the sha: # https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble -FROM ghcr.io/github/gh-base-image/gh-base-noble:20250529-200944-g9be5a274f AS base +FROM ghcr.io/github/gh-base-image/gh-base-noble:20250616-220726-g8823b63b3 AS base # Install curl for Node install and determining the early access branch # Install git for cloning docs-early-access & translations repos diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index e9996808119c..cbbee13e43bd 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,23 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [] + } + ], + "previewChanges": [], + "upcomingChanges": [ + { + "title": "The following changes will be made to the schema:", + "changes": [ + "

On member ClosedEvent.stateReason:stateReason will be removed. Effective 2025-10-01.

", + "

On member Issue.stateReason:stateReason will be removed. Effective 2025-10-01.

" + ] + } + ], + "date": "2025-06-17" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml index f8fc89d1e662..8a74750e9563 100644 --- a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml @@ -1512,6 +1512,18 @@ 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.' + 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: 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 e54fd6fb84fc..61070e97eb39 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -4641,6 +4641,7 @@ 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. @@ -19070,6 +19071,7 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ 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. @@ -19871,8 +19873,7 @@ enum IssueStateReason { COMPLETED """ - An issue that has been closed as a duplicate. To retrieve this value, set - `(enableDuplicate: true)` when querying the stateReason field. + An issue that has been closed as a duplicate. """ DUPLICATE diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 15e4734ea42c..d10420bd042a 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -13830,7 +13830,9 @@ "type": "IssueStateReason", "id": "issuestatereason", "kind": "enums", - "href": "/graphql/reference/enums#issuestatereason" + "href": "/graphql/reference/enums#issuestatereason", + "isDeprecated": true, + "deprecationReason": "

The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.

" }, { "name": "url", @@ -29819,7 +29821,9 @@ "href": "/graphql/reference/scalars#boolean" } } - ] + ], + "isDeprecated": true, + "deprecationReason": "

The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.

" }, { "name": "subIssues", @@ -89326,7 +89330,7 @@ }, { "name": "DUPLICATE", - "description": "

An issue that has been closed as a duplicate. To retrieve this value, set\n(enableDuplicate: true) when querying the stateReason field.

" + "description": "

An issue that has been closed as a duplicate.

" }, { "name": "NOT_PLANNED", diff --git a/src/graphql/data/fpt/upcoming-changes.json b/src/graphql/data/fpt/upcoming-changes.json index 5b69c55304b0..22a7637d8dd8 100644 --- a/src/graphql/data/fpt/upcoming-changes.json +++ b/src/graphql/data/fpt/upcoming-changes.json @@ -8881,6 +8881,22 @@ "date": "2025-10-01", "criticality": "breaking", "owner": "github/advisory-database" + }, + { + "location": "Issue.stateReason", + "description": "

stateReason will be removed.

", + "reason": "

The state reason for duplicate issue is now returned by default.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "issues" + }, + { + "location": "ClosedEvent.stateReason", + "description": "

stateReason will be removed.

", + "reason": "

The state reason for duplicate issue is now returned by default.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "issues" } ], "2025-09-04": [ diff --git a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml index f8fc89d1e662..8a74750e9563 100644 --- a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml @@ -1512,6 +1512,18 @@ 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.' + 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: 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 e54fd6fb84fc..61070e97eb39 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -4641,6 +4641,7 @@ 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. @@ -19070,6 +19071,7 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ 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. @@ -19871,8 +19873,7 @@ enum IssueStateReason { COMPLETED """ - An issue that has been closed as a duplicate. To retrieve this value, set - `(enableDuplicate: true)` when querying the stateReason field. + An issue that has been closed as a duplicate. """ DUPLICATE diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 15e4734ea42c..d10420bd042a 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -13830,7 +13830,9 @@ "type": "IssueStateReason", "id": "issuestatereason", "kind": "enums", - "href": "/graphql/reference/enums#issuestatereason" + "href": "/graphql/reference/enums#issuestatereason", + "isDeprecated": true, + "deprecationReason": "

The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.

" }, { "name": "url", @@ -29819,7 +29821,9 @@ "href": "/graphql/reference/scalars#boolean" } } - ] + ], + "isDeprecated": true, + "deprecationReason": "

The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.

" }, { "name": "subIssues", @@ -89326,7 +89330,7 @@ }, { "name": "DUPLICATE", - "description": "

An issue that has been closed as a duplicate. To retrieve this value, set\n(enableDuplicate: true) when querying the stateReason field.

" + "description": "

An issue that has been closed as a duplicate.

" }, { "name": "NOT_PLANNED", diff --git a/src/graphql/data/ghec/upcoming-changes.json b/src/graphql/data/ghec/upcoming-changes.json index 5b69c55304b0..22a7637d8dd8 100644 --- a/src/graphql/data/ghec/upcoming-changes.json +++ b/src/graphql/data/ghec/upcoming-changes.json @@ -8881,6 +8881,22 @@ "date": "2025-10-01", "criticality": "breaking", "owner": "github/advisory-database" + }, + { + "location": "Issue.stateReason", + "description": "

stateReason will be removed.

", + "reason": "

The state reason for duplicate issue is now returned by default.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "issues" + }, + { + "location": "ClosedEvent.stateReason", + "description": "

stateReason will be removed.

", + "reason": "

The state reason for duplicate issue is now returned by default.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "issues" } ], "2025-09-04": [