Skip to content

Commit 12e16d9

Browse files
committed
Bump watershed to 2030
1 parent 879730f commit 12e16d9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/GraphQLOverHTTP.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,13 @@ client gets something useful, it should indicate the media types it supports.
255255
If the client supplies an `Accept` header, the client SHOULD include the media
256256
type `application/graphql-response+json` in the `Accept` header.
257257

258-
Note: From 1st Jan 2025, every _server_ and _client_ must support
258+
Note: From 1st Jan 2030, every _server_ and _client_ must support
259259
`application/graphql-response+json`, so including this in the Accept header
260260
should give your client compatibility with any _server_.
261261

262262
### Legacy Watershed
263263

264-
Before `2025-01-01T00:00:00Z`, if the client supplies an `Accept` header, the
264+
Before `2030-01-01T00:00:00Z`, if the client supplies an `Accept` header, the
265265
header SHOULD include the `application/json` media type. After this watershed,
266266
this is no longer necessary.
267267

@@ -469,19 +469,19 @@ these replies may come from non-compliant HTTP servers or proxies somewhere in
469469
the request chain). For this reason, this specification introduces the
470470
`application/graphql-response+json` media type on responses; however, to give
471471
existing servers time to move over, it is not required to be supported until 1st
472-
January 2025.
472+
January 2030.
473473

474474
### Legacy watershed
475475

476-
From 1st January 2025 (`2025-01-01T00:00:00Z`), a server MUST support any
476+
From 1st January 2030 (`2030-01-01T00:00:00Z`), a server MUST support any
477477
_GraphQL-over-HTTP request_ which accepts the
478478
`application/graphql-response+json` media type (as indicated by the `Accept`
479479
header) using the UTF-8 encoding.
480480

481-
Before 1st January 2025 (`2025-01-01T00:00:00Z`), if the client does not supply
481+
Before 1st January 2030 (`2030-01-01T00:00:00Z`), if the client does not supply
482482
an `Accept` header, the server SHOULD treat the _GraphQL-over-HTTP request_ as
483-
if it had `Accept: application/json`. From 1st January 2025
484-
(`2025-01-01T00:00:00Z`), if the client does not supply an `Accept` header, the
483+
if it had `Accept: application/json`. From 1st January 2030
484+
(`2030-01-01T00:00:00Z`), if the client does not supply an `Accept` header, the
485485
server SHOULD treat the _GraphQL-over-HTTP request_ as if it had
486486
`Accept: application/graphql-response+json`.
487487

0 commit comments

Comments
 (0)