diff --git a/LICENSE b/LICENSE index 33973268..84d20f65 100644 --- a/LICENSE +++ b/LICENSE @@ -1,8 +1,8 @@ MIT License -Copyright (c) 2017-2018 Facebook, Inc. (GraphQL.js) -Copyright (c) 2016 Syrus Akbary (GraphQL-core) -Copyright (c) 2018 Christoph Zwerschke (GraphQL-core-next) +Copyright (c) 2017-2019 Facebook, Inc. (GraphQL.js) +Copyright (c) 2016-2017 Syrus Akbary (GraphQL-core) +Copyright (c) 2018-2019 Christoph Zwerschke (GraphQL-core-next) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index fed0d466..f0a37bdf 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ 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.0.1 of GraphQL-core-next is up-to-date with GraphQL.js version +The current version 1.0.2 of GraphQL-core-next is up-to-date with GraphQL.js version 14.1.1. All parts of the API are covered by an extensive test suite of currently 1723 unit tests. diff --git a/docs/conf.py b/docs/conf.py index 58b366a2..d6a1fbb9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,7 +51,7 @@ # General information about the project. project = u'GraphQL-core-next' -copyright = u'2018, Christoph Zwerschke' +copyright = u'2019, Christoph Zwerschke' author = u'Christoph Zwerschke' # The version info for the project you're documenting, acts as replacement for @@ -61,7 +61,7 @@ # The short X.Y version. version = u'1.0' # The full version, including alpha/beta/rc tags. -release = u'1.0.1' +release = u'1.0.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/graphql/__init__.py b/graphql/__init__.py index c57de693..fdcd10a3 100644 --- a/graphql/__init__.py +++ b/graphql/__init__.py @@ -37,7 +37,7 @@ - :mod:`graphql/subscription`: Subscribe to data updates. """ -__version__ = "1.0.1" +__version__ = "1.0.2" __version_js__ = "14.1.1" # The primary entry point into fulfilling a GraphQL request. @@ -305,7 +305,7 @@ ) # Create, format, and print GraphQL errors. -from .error import GraphQLError, format_error, print_error +from .error import GraphQLError, format_error, print_error, INVALID # Utilities for operating on GraphQL type schema and parsed sources. from .utilities import ( @@ -598,6 +598,7 @@ "GraphQLError", "format_error", "print_error", + "INVALID", "get_introspection_query", "get_operation_ast", "get_operation_root_type", diff --git a/graphql/error/graphql_error.py b/graphql/error/graphql_error.py index c5438cd4..d7a71a35 100644 --- a/graphql/error/graphql_error.py +++ b/graphql/error/graphql_error.py @@ -128,6 +128,7 @@ def __init__( self.__context__ = original_error.__context__ if not extensions: try: + # noinspection PyUnresolvedReferences extensions = original_error.extensions # type: ignore except AttributeError: pass diff --git a/setup.cfg b/setup.cfg index 9adaf7a5..d6f9c726 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.1 +current_version = 1.0.2 commit = True tag = True