Skip to content

Commit afa494e

Browse files
committed
Add deprecation note to the docs.
1 parent 1a528b7 commit afa494e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/intro.rst

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Introduction
55
the JavaScript reference implementation for GraphQL_,
66
a query language for APIs created by Facebook.
77

8+
.. attention:: GraphQL-core-next has been deprecated.
9+
It is now released as GraphQL-core v3 and newer.
10+
811
`GraphQL`_ consists of three parts:
912

1013
* A type system that you define

src/graphql/version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __str__(self):
2828
version_info_js = VersionInfo(14, 4, 0, "final", 0)
2929

3030
warn(
31-
"Note: GraphQL-core-next has been deprecated.\n"
32-
" It is now available as GraphQL-core version 3 and newer.\n",
31+
"GraphQL-core-next has been discontinued."
32+
" It is now released as GraphQL-core v3 and newer.",
3333
DeprecationWarning,
3434
)

0 commit comments

Comments
 (0)