From 665ec250c8478e378fb41d62fb876353c910f338 Mon Sep 17 00:00:00 2001 From: Octomerger Bot <63058869+Octomerger@users.noreply.github.com> Date: Sat, 1 Apr 2023 12:41:09 -0400 Subject: [PATCH] GraphQL schema update (#36083) Co-authored-by: rachmari --- .../graphql_upcoming_changes.public-ghae.yml | 6 ++++++ data/graphql/ghae/schema.docs-ghae.graphql | 9 +++++++-- .../ghec/graphql_upcoming_changes.public.yml | 6 ++++++ data/graphql/ghec/schema.docs.graphql | 9 +++++++-- .../graphql_upcoming_changes.public.yml | 6 ++++++ data/graphql/schema.docs.graphql | 9 +++++++-- src/graphql/data/dotcom/changelog.json | 20 +++++++++++++++++++ src/graphql/data/dotcom/schema.json | 8 +++++++- src/graphql/data/dotcom/upcoming-changes.json | 8 ++++++++ src/graphql/data/ghae/schema.json | 8 +++++++- src/graphql/data/ghae/upcoming-changes.json | 8 ++++++++ src/graphql/data/ghec/schema.json | 8 +++++++- src/graphql/data/ghec/upcoming-changes.json | 8 ++++++++ 13 files changed, 104 insertions(+), 9 deletions(-) diff --git a/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml b/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml index e1677460a7c2..f16f51076bed 100644 --- a/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml +++ b/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml @@ -172,6 +172,12 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: jamestran201 + - location: Commit.pushedDate + description: '`pushedDate` will be removed.' + reason: '`pushedDate` is no longer supported.' + date: '2023-07-01T00:00:00+00:00' + criticality: breaking + owner: darthwillis - location: MergeQueue.headOid description: '`headOid` will be removed. Use `entry.headOid` instead.' reason: '`headOid` will be removed.' diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index ca1d2549862c..77b8905678ed 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -4229,7 +4229,7 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl """ The datetime when this commit was pushed. """ - pushedDate: DateTime + pushedDate: DateTime @deprecated(reason: "`pushedDate` is no longer supported. Removal on 2023-07-01 UTC.") """ The Repository this commit belongs to @@ -8932,6 +8932,11 @@ enum DeploymentState { """ QUEUED + """ + The deployment was successful. + """ + SUCCESS + """ The deployment is waiting. """ @@ -36363,7 +36368,7 @@ input RequestReviewsInput { """ Add users to the set rather than replace. """ - union: Boolean + union: Boolean = false """ The Node IDs of the user to request. diff --git a/data/graphql/ghec/graphql_upcoming_changes.public.yml b/data/graphql/ghec/graphql_upcoming_changes.public.yml index b1289039cf9f..f9b8efb3e4f6 100644 --- a/data/graphql/ghec/graphql_upcoming_changes.public.yml +++ b/data/graphql/ghec/graphql_upcoming_changes.public.yml @@ -192,6 +192,12 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: jamestran201 + - location: Commit.pushedDate + description: '`pushedDate` will be removed.' + reason: '`pushedDate` is no longer supported.' + date: '2023-07-01T00:00:00+00:00' + criticality: breaking + owner: darthwillis - location: MergeQueue.headOid description: '`headOid` will be removed. Use `entry.headOid` instead.' reason: '`headOid` will be removed.' diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 93107177962b..f92e272c5e6a 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -4622,7 +4622,7 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl """ The datetime when this commit was pushed. """ - pushedDate: DateTime + pushedDate: DateTime @deprecated(reason: "`pushedDate` is no longer supported. Removal on 2023-07-01 UTC.") """ The Repository this commit belongs to @@ -9982,6 +9982,11 @@ enum DeploymentState { """ QUEUED + """ + The deployment was successful. + """ + SUCCESS + """ The deployment is waiting. """ @@ -43299,7 +43304,7 @@ input RequestReviewsInput { """ Add users to the set rather than replace. """ - union: Boolean + union: Boolean = false """ The Node IDs of the user to request. diff --git a/data/graphql/graphql_upcoming_changes.public.yml b/data/graphql/graphql_upcoming_changes.public.yml index b1289039cf9f..f9b8efb3e4f6 100644 --- a/data/graphql/graphql_upcoming_changes.public.yml +++ b/data/graphql/graphql_upcoming_changes.public.yml @@ -192,6 +192,12 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: jamestran201 + - location: Commit.pushedDate + description: '`pushedDate` will be removed.' + reason: '`pushedDate` is no longer supported.' + date: '2023-07-01T00:00:00+00:00' + criticality: breaking + owner: darthwillis - location: MergeQueue.headOid description: '`headOid` will be removed. Use `entry.headOid` instead.' reason: '`headOid` will be removed.' diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 93107177962b..f92e272c5e6a 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -4622,7 +4622,7 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl """ The datetime when this commit was pushed. """ - pushedDate: DateTime + pushedDate: DateTime @deprecated(reason: "`pushedDate` is no longer supported. Removal on 2023-07-01 UTC.") """ The Repository this commit belongs to @@ -9982,6 +9982,11 @@ enum DeploymentState { """ QUEUED + """ + The deployment was successful. + """ + SUCCESS + """ The deployment is waiting. """ @@ -43299,7 +43304,7 @@ input RequestReviewsInput { """ Add users to the set rather than replace. """ - union: Boolean + union: Boolean = false """ The Node IDs of the user to request. diff --git a/src/graphql/data/dotcom/changelog.json b/src/graphql/data/dotcom/changelog.json index 0019828bd887..d21732c94a26 100644 --- a/src/graphql/data/dotcom/changelog.json +++ b/src/graphql/data/dotcom/changelog.json @@ -1,4 +1,24 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Enum value SUCCESS was added to enum DeploymentState

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

On member Commit.pushedDate:pushedDate will be removed. Effective 2023-07-01.

" + ] + } + ], + "date": "2023-04-01" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/dotcom/schema.json b/src/graphql/data/dotcom/schema.json index 2cc08d37522c..3a4d89ca5696 100644 --- a/src/graphql/data/dotcom/schema.json +++ b/src/graphql/data/dotcom/schema.json @@ -12890,7 +12890,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

pushedDate is no longer supported. Removal on 2023-07-01 UTC.

" }, { "name": "repository", @@ -75911,6 +75913,10 @@ "name": "QUEUED", "description": "

The deployment has queued.

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

The deployment was successful.

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

The deployment is waiting.

" diff --git a/src/graphql/data/dotcom/upcoming-changes.json b/src/graphql/data/dotcom/upcoming-changes.json index 0977a21e4845..f99d7b31cd2a 100644 --- a/src/graphql/data/dotcom/upcoming-changes.json +++ b/src/graphql/data/dotcom/upcoming-changes.json @@ -169,6 +169,14 @@ "date": "2023-07-01", "criticality": "breaking", "owner": "github/merge_queue" + }, + { + "location": "Commit.pushedDate", + "description": "

pushedDate will be removed.

", + "reason": "

pushedDate is no longer supported.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "darthwillis" } ], "2023-04-01": [ diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index fbec4c3ed4eb..59cd42387057 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -10807,7 +10807,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

pushedDate is no longer supported. Removal on 2023-07-01 UTC.

" }, { "name": "repository", @@ -63252,6 +63254,10 @@ "name": "QUEUED", "description": "

The deployment has queued.

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

The deployment was successful.

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

The deployment is waiting.

" diff --git a/src/graphql/data/ghae/upcoming-changes.json b/src/graphql/data/ghae/upcoming-changes.json index 22c918923d19..001ce54ac03d 100644 --- a/src/graphql/data/ghae/upcoming-changes.json +++ b/src/graphql/data/ghae/upcoming-changes.json @@ -169,6 +169,14 @@ "date": "2023-07-01", "criticality": "breaking", "owner": "github/merge_queue" + }, + { + "location": "Commit.pushedDate", + "description": "

pushedDate will be removed.

", + "reason": "

pushedDate is no longer supported.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "darthwillis" } ], "2023-04-01": [ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 2cc08d37522c..3a4d89ca5696 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -12890,7 +12890,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

pushedDate is no longer supported. Removal on 2023-07-01 UTC.

" }, { "name": "repository", @@ -75911,6 +75913,10 @@ "name": "QUEUED", "description": "

The deployment has queued.

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

The deployment was successful.

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

The deployment is waiting.

" diff --git a/src/graphql/data/ghec/upcoming-changes.json b/src/graphql/data/ghec/upcoming-changes.json index 0977a21e4845..f99d7b31cd2a 100644 --- a/src/graphql/data/ghec/upcoming-changes.json +++ b/src/graphql/data/ghec/upcoming-changes.json @@ -169,6 +169,14 @@ "date": "2023-07-01", "criticality": "breaking", "owner": "github/merge_queue" + }, + { + "location": "Commit.pushedDate", + "description": "

pushedDate will be removed.

", + "reason": "

pushedDate is no longer supported.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "darthwillis" } ], "2023-04-01": [