Skip to content

Commit

Permalink
Prepare version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Jul 13, 2019
1 parent 5855dfc commit 1a528b7
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.0b0
current_version = 1.1.0
commit = False
tag = False

Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,20 @@ a query language for APIs created by Facebook.
[![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/)
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

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

Development will be continued with the new distribution name GraphQL-core from now on.


## GraphQL-core-next is now GraphQL-core 3

GraphQL-core-next has been discontinued as a separate Python distribution.
Instead, it is now released as GraphQL-core version 3 and newer, replacing
the existing GraphQL-core distribution. The old versions of GraphQL-core,
which also support older Python versions, are still available.


## Documentation

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

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

* [Ariadne](https://github.com/mirumee/ariadne) is a Python library for implementing
GraphQL servers using schema-first approach created by Mirumee Software.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# The short X.Y version.
# version = u'1.1'
# The full version, including alpha/beta/rc tags.
version = release = u'1.1.0b0'
version = release = u'1.1.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "graphql-core-next"
version = "1.1.0b0"
version = "1.1.0"
description = """
GraphQL-core-next is a Python port of GraphQL.js,
the JavaScript reference implementation for GraphQL."""
Expand Down
11 changes: 9 additions & 2 deletions src/graphql/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import NamedTuple
from warnings import warn

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

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


version = "1.1.0b0"
version = "1.1.0"

version_info = VersionInfo(1, 1, 0, "beta", 0)
version_info = VersionInfo(1, 1, 0, "final", 0)

version_js = "14.4.0"

version_info_js = VersionInfo(14, 4, 0, "final", 0)

warn(
"Note: GraphQL-core-next has been deprecated.\n"
" It is now available as GraphQL-core version 3 and newer.\n",
DeprecationWarning,
)

0 comments on commit 1a528b7

Please sign in to comment.