Skip to content

Commit 1a528b7

Browse files
committed
Prepare version 1.1.0
1 parent 5855dfc commit 1a528b7

File tree

5 files changed

+25
-8
lines changed

5 files changed

+25
-8
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.1.0b0
2+
current_version = 1.1.0
33
commit = False
44
tag = False
55

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,20 @@ a query language for APIs created by Facebook.
1212
[![Python 3 Status](https://pyup.io/repos/github/graphql-python/graphql-core-next/python-3-shield.svg)](https://pyup.io/repos/github/graphql-python/graphql-core-next/)
1313
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
1414

15-
The current version 1.1.0b0 of GraphQL-core-next is up-to-date with GraphQL.js version
15+
The current version 1.1.0 of GraphQL-core-next is up-to-date with GraphQL.js version
1616
14.4.0. All parts of the API are covered by an extensive test suite of currently 1882
1717
unit tests.
1818

19+
Development will be continued with the new distribution name GraphQL-core from now on.
20+
21+
22+
## GraphQL-core-next is now GraphQL-core 3
23+
24+
GraphQL-core-next has been discontinued as a separate Python distribution.
25+
Instead, it is now released as GraphQL-core version 3 and newer, replacing
26+
the existing GraphQL-core distribution. The old versions of GraphQL-core,
27+
which also support older Python versions, are still available.
28+
1929

2030
## Documentation
2131

@@ -207,9 +217,9 @@ Some restrictions (mostly in line with the design goals):
207217
and future development to members of the GraphQL-Python community.
208218

209219
The current version 2 of Graphene is using Graphql-core as core library for much of
210-
the heavy lifting. Note that it is not compatible with GraphQL-core-next.
220+
the heavy lifting. Note that Graphene 2 is not compatible with GraphQL-core-next.
211221
The new version 3 of Graphene however is planned to use GraphQL-core-next instead of
212-
GraphQL-core, and GraphQL-core-next will probably be renamed to Graphql-core 3.
222+
GraphQL-core, and GraphQL-core-next will be renamed to Graphql-core 3.
213223

214224
* [Ariadne](https://github.com/mirumee/ariadne) is a Python library for implementing
215225
GraphQL servers using schema-first approach created by Mirumee Software.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
# The short X.Y version.
6262
# version = u'1.1'
6363
# The full version, including alpha/beta/rc tags.
64-
version = release = u'1.1.0b0'
64+
version = release = u'1.1.0'
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "graphql-core-next"
3-
version = "1.1.0b0"
3+
version = "1.1.0"
44
description = """
55
GraphQL-core-next is a Python port of GraphQL.js,
66
the JavaScript reference implementation for GraphQL."""

src/graphql/version.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from typing import NamedTuple
2+
from warnings import warn
23

34
__all__ = ["version", "version_info", "version_js", "version_info_js"]
45

@@ -18,10 +19,16 @@ def __str__(self):
1819
return v
1920

2021

21-
version = "1.1.0b0"
22+
version = "1.1.0"
2223

23-
version_info = VersionInfo(1, 1, 0, "beta", 0)
24+
version_info = VersionInfo(1, 1, 0, "final", 0)
2425

2526
version_js = "14.4.0"
2627

2728
version_info_js = VersionInfo(14, 4, 0, "final", 0)
29+
30+
warn(
31+
"Note: GraphQL-core-next has been deprecated.\n"
32+
" It is now available as GraphQL-core version 3 and newer.\n",
33+
DeprecationWarning,
34+
)

0 commit comments

Comments
 (0)