Skip to content

Commit

Permalink
Release v3.1.4, matching GrapqhQL.js v15.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Apr 8, 2021
1 parent 1f50f43 commit 03c2b06
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 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 = 3.1.3
current_version = 3.1.4
commit = False
tag = False

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ a query language for APIs created by Facebook.
[![Python 3 Status](https://pyup.io/repos/github/graphql-python/graphql-core/python-3-shield.svg)](https://pyup.io/repos/github/graphql-python/graphql-core/)
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

The current version 3.1.3 of GraphQL-core is up-to-date with GraphQL.js version 15.2.0.
The current version 3.1.4 of GraphQL-core is up-to-date with GraphQL.js version 15.3.0.

An extensive test suite with over 2200 unit tests and 100% coverage comprises a
replication of the complete test suite of GraphQL.js, making sure this port is
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 = '3.1'
# The full version, including alpha/beta/rc tags.
version = release = '3.1.3'
version = release = '3.1.4'

# 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"
version = "3.1.3"
version = "3.1.4"
description = """
GraphQL-core is a Python port of GraphQL.js,
the JavaScript reference implementation for GraphQL."""
Expand Down
10 changes: 5 additions & 5 deletions src/graphql/language/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def __init__(
) -> None:
"""Initialize source input.
``name`` and ``location_offset`` are optional. They are useful for clients who
store GraphQL documents in source files; for example, if the GraphQL input
starts at line 40 in a file named Foo.graphql, it might be useful for ``name``
to be "Foo.graphql" and location to be ``(40, 0)``.
The ``name`` and ``location_offset`` parameters are optional, but they are
useful for clients who store GraphQL documents in source files. For example,
if the GraphQL input starts at line 40 in a file named ``Foo.graphql``, it might
be useful for ``name`` to be ``"Foo.graphql"`` and location to be ``(40, 0)``.
line and column in location_offset are 1-indexed
The ``line`` and ``column`` attributes in ``location_offset`` are 1-indexed.
"""
if not isinstance(body, str):
raise TypeError("body must be a string.")
Expand Down
4 changes: 2 additions & 2 deletions src/graphql/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
__all__ = ["version", "version_info", "version_js", "version_info_js"]


version = "3.1.3"
version = "3.1.4"

version_js = "15.2.0"
version_js = "15.3.0"


_re_version = re.compile(r"(\d+)\.(\d+)\.(\d+)(\D*)(\d*)")
Expand Down

0 comments on commit 03c2b06

Please sign in to comment.