Skip to content

Commit fc7cedf

Browse files
GraphQL schema update (#59649)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
1 parent dce80a8 commit fc7cedf

File tree

9 files changed

+115
-8
lines changed

9 files changed

+115
-8
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": []
7+
}
8+
],
9+
"previewChanges": [],
10+
"upcomingChanges": [
11+
{
12+
"title": "The following changes will be made to the schema:",
13+
"changes": [
14+
"<p>On member <code>Team.viewerCanSubscribe</code>:<code>viewerCanSubscribe</code> will be removed. <strong>Effective 2026-07-01</strong>.</p>",
15+
"<p>On member <code>Team.viewerSubscription</code>:<code>viewerSubscription</code> will be removed. <strong>Effective 2026-07-01</strong>.</p>"
16+
]
17+
}
18+
],
19+
"date": "2026-02-13"
20+
},
221
{
322
"schemaChanges": [
423
{

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7982,3 +7982,19 @@ upcoming_changes:
79827982
date: '2026-04-01T00:00:00+00:00'
79837983
criticality: breaking
79847984
owner: audit_logs
7985+
- location: Team.viewerCanSubscribe
7986+
description: '`viewerCanSubscribe` will be removed.'
7987+
reason:
7988+
'`Team.viewerCanSubscribe` will be removed. Team notifications subscriptions
7989+
are being deprecated.'
7990+
date: '2026-07-01T00:00:00+00:00'
7991+
criticality: breaking
7992+
owner: peter-evans
7993+
- location: Team.viewerSubscription
7994+
description: '`viewerSubscription` will be removed.'
7995+
reason:
7996+
'`Team.viewerSubscription` will be removed. Team notifications subscriptions
7997+
are being deprecated.'
7998+
date: '2026-07-01T00:00:00+00:00'
7999+
criticality: breaking
8000+
owner: peter-evans

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61441,14 +61441,20 @@ type Team implements MemberStatusable & Node & Subscribable {
6144161441
viewerCanAdminister: Boolean!
6144261442

6144361443
"""
61444-
Check if the viewer is able to change their subscription status for the repository.
61444+
Check if the viewer is able to change their subscription status for the subscribable entity.
6144561445
"""
6144661446
viewerCanSubscribe: Boolean!
61447+
@deprecated(
61448+
reason: "`Team.viewerCanSubscribe` will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC."
61449+
)
6144761450

6144861451
"""
6144961452
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
6145061453
"""
6145161454
viewerSubscription: SubscriptionState
61455+
@deprecated(
61456+
reason: "`Team.viewerSubscription` will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC."
61457+
)
6145261458
}
6145361459

6145461460
"""

src/graphql/data/fpt/schema.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76563,19 +76563,23 @@
7656376563
},
7656476564
{
7656576565
"name": "viewerCanSubscribe",
76566-
"description": "<p>Check if the viewer is able to change their subscription status for the repository.</p>",
76566+
"description": "<p>Check if the viewer is able to change their subscription status for the subscribable entity.</p>",
7656776567
"type": "Boolean!",
7656876568
"id": "boolean",
7656976569
"kind": "scalars",
76570-
"href": "/graphql/reference/scalars#boolean"
76570+
"href": "/graphql/reference/scalars#boolean",
76571+
"isDeprecated": true,
76572+
"deprecationReason": "<p><code>Team.viewerCanSubscribe</code> will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.</p>"
7657176573
},
7657276574
{
7657376575
"name": "viewerSubscription",
7657476576
"description": "<p>Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.</p>",
7657576577
"type": "SubscriptionState",
7657676578
"id": "subscriptionstate",
7657776579
"kind": "enums",
76578-
"href": "/graphql/reference/enums#subscriptionstate"
76580+
"href": "/graphql/reference/enums#subscriptionstate",
76581+
"isDeprecated": true,
76582+
"deprecationReason": "<p><code>Team.viewerSubscription</code> will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.</p>"
7657976583
}
7658076584
]
7658176585
},

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
{
2+
"2026-07-01": [
3+
{
4+
"location": "Team.viewerSubscription",
5+
"description": "<p><code>viewerSubscription</code> will be removed.</p>",
6+
"reason": "<p><code>Team.viewerSubscription</code> will be removed. Team notifications subscriptions are being deprecated.</p>",
7+
"date": "2026-07-01",
8+
"criticality": "breaking",
9+
"owner": "peter-evans"
10+
},
11+
{
12+
"location": "Team.viewerCanSubscribe",
13+
"description": "<p><code>viewerCanSubscribe</code> will be removed.</p>",
14+
"reason": "<p><code>Team.viewerCanSubscribe</code> will be removed. Team notifications subscriptions are being deprecated.</p>",
15+
"date": "2026-07-01",
16+
"criticality": "breaking",
17+
"owner": "peter-evans"
18+
}
19+
],
220
"2026-04-01": [
321
{
422
"location": "TeamRemoveRepositoryAuditEntry.userUrl",

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7982,3 +7982,19 @@ upcoming_changes:
79827982
date: '2026-04-01T00:00:00+00:00'
79837983
criticality: breaking
79847984
owner: audit_logs
7985+
- location: Team.viewerCanSubscribe
7986+
description: '`viewerCanSubscribe` will be removed.'
7987+
reason:
7988+
'`Team.viewerCanSubscribe` will be removed. Team notifications subscriptions
7989+
are being deprecated.'
7990+
date: '2026-07-01T00:00:00+00:00'
7991+
criticality: breaking
7992+
owner: peter-evans
7993+
- location: Team.viewerSubscription
7994+
description: '`viewerSubscription` will be removed.'
7995+
reason:
7996+
'`Team.viewerSubscription` will be removed. Team notifications subscriptions
7997+
are being deprecated.'
7998+
date: '2026-07-01T00:00:00+00:00'
7999+
criticality: breaking
8000+
owner: peter-evans

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61441,14 +61441,20 @@ type Team implements MemberStatusable & Node & Subscribable {
6144161441
viewerCanAdminister: Boolean!
6144261442

6144361443
"""
61444-
Check if the viewer is able to change their subscription status for the repository.
61444+
Check if the viewer is able to change their subscription status for the subscribable entity.
6144561445
"""
6144661446
viewerCanSubscribe: Boolean!
61447+
@deprecated(
61448+
reason: "`Team.viewerCanSubscribe` will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC."
61449+
)
6144761450

6144861451
"""
6144961452
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
6145061453
"""
6145161454
viewerSubscription: SubscriptionState
61455+
@deprecated(
61456+
reason: "`Team.viewerSubscription` will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC."
61457+
)
6145261458
}
6145361459

6145461460
"""

src/graphql/data/ghec/schema.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76563,19 +76563,23 @@
7656376563
},
7656476564
{
7656576565
"name": "viewerCanSubscribe",
76566-
"description": "<p>Check if the viewer is able to change their subscription status for the repository.</p>",
76566+
"description": "<p>Check if the viewer is able to change their subscription status for the subscribable entity.</p>",
7656776567
"type": "Boolean!",
7656876568
"id": "boolean",
7656976569
"kind": "scalars",
76570-
"href": "/graphql/reference/scalars#boolean"
76570+
"href": "/graphql/reference/scalars#boolean",
76571+
"isDeprecated": true,
76572+
"deprecationReason": "<p><code>Team.viewerCanSubscribe</code> will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.</p>"
7657176573
},
7657276574
{
7657376575
"name": "viewerSubscription",
7657476576
"description": "<p>Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.</p>",
7657576577
"type": "SubscriptionState",
7657676578
"id": "subscriptionstate",
7657776579
"kind": "enums",
76578-
"href": "/graphql/reference/enums#subscriptionstate"
76580+
"href": "/graphql/reference/enums#subscriptionstate",
76581+
"isDeprecated": true,
76582+
"deprecationReason": "<p><code>Team.viewerSubscription</code> will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.</p>"
7657976583
}
7658076584
]
7658176585
},

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
{
2+
"2026-07-01": [
3+
{
4+
"location": "Team.viewerSubscription",
5+
"description": "<p><code>viewerSubscription</code> will be removed.</p>",
6+
"reason": "<p><code>Team.viewerSubscription</code> will be removed. Team notifications subscriptions are being deprecated.</p>",
7+
"date": "2026-07-01",
8+
"criticality": "breaking",
9+
"owner": "peter-evans"
10+
},
11+
{
12+
"location": "Team.viewerCanSubscribe",
13+
"description": "<p><code>viewerCanSubscribe</code> will be removed.</p>",
14+
"reason": "<p><code>Team.viewerCanSubscribe</code> will be removed. Team notifications subscriptions are being deprecated.</p>",
15+
"date": "2026-07-01",
16+
"criticality": "breaking",
17+
"owner": "peter-evans"
18+
}
19+
],
220
"2026-04-01": [
321
{
422
"location": "TeamRemoveRepositoryAuditEntry.userUrl",

0 commit comments

Comments
 (0)