graphql-core

A Python 3.6+ port of the GraphQL.js reference implementation of GraphQL.

MIT License

Downloads
21M
Stars
497
Committers
34

Bot releases are hidden (Show)

graphql-core - v3.1.2

Published by Cito over 4 years ago

Patch release GraphQL-core v3.1.2, based on GraphQL.js v15.1.0.

This release includes the following improvements:

  • Added @specifiedBy directive
  • Extended type definitions (#89)
  • Enum type for visitor return values (#96)
  • Visitors can now use class and static methods
  • Lists in AST nodes are not optional any more (#98)

Thanks to everyone who helped with their feedback.

graphql-core - v3.0.5

Published by Cito over 4 years ago

Bugfix release GraphQL-core v3.0.5, based on GraphQL.js v14.6.0.

The following issues are fixed in this release:

  • Added type hint to default_field_resolver (#88)
  • Fixed memoization of collect_subfields (#91)
  • Fixed method name in Visitor docstring (#92)

Contributors to this release were:

@Cito, @hoefling, @nawatts, @rafalp

Thanks to everyone who helped by sending bug reports or pull requests.

graphql-core - v3.1.1

Published by Cito over 4 years ago

Bugfix release GraphQL-core v3.1.1, based on GraphQL.js v15.0.0.

The following issues are fixed in this release:

  • Fixed rendering of ReST in docstring (#84, #85, #86, #87)
  • Added type hint to default_field_resolver (#88)
  • Fixed memoization of collect_subfields (#91)
  • Fixed method name in Visitor docstring (#92)

Contributors to this release were:

@Cito, @hoefling, @nawatts, @rafalp

Thanks to everyone who helped by sending bug reports or pull requests.

graphql-core - v3.1.0

Published by Cito over 4 years ago

Final release of GraphQL-core v3.1.0, based on GraphQL.js v15.0.0.

See the three pre-releases v3.1.0b0, v3.1.0b1 and v3.1.0b2 for a complete list of changes.

graphql-core - v3.0.4

Published by Cito over 4 years ago

Patch release of GraphQL-core 3, based on GraphQL.js v14.6.0.

The primary fix is the new repository address github.com/graphql-python/graphql-core in the meta data.

graphql-core -

Published by Cito over 4 years ago

Third beta release of GraphQL-core 3.1, based on GraphQL.js v15.0.0rc2.

In addition to incorporating the latest changes from the master branch of GraphQL.js, this release also contains the following improvements:

  • Increased performance by using a faster isawaitable() function (#54).
  • Nodes and some other objects are now extensible and weak-referencable (#82).

We also renamed the repository on GitHub from graphql-python/graphql-core-next to graphql-python/graphql-core.

Contributors to this release were:

@Cito, @astronouth7303, @Hellzed and @qeternity

Thanks to everybody who contributed by sending bug reports or pull requests. Please continue to report any problems you find in this beta release, so that these can be fixed in the final v3.1 release.

graphql-core - v3.1.0b1

Published by Cito over 4 years ago

Second beta release of GraphQL-core 3.1, based on GraphQL.js v15.0.0rc2.

In addition to incorporating the latest changes in GraphQL.js v15.0.0rc2, this release also contains the following improvements and changes:

  • Following a change in GraphQL.js to keep the order of user provided types, the type map reducer for the GraphQLSchema has been removed.
  • We now support inheritance when evaluating the __typename attribute (#25).
  • FieldNodes and InputValueNodes are now only DefinitionNodes, not TypeDefinitionNodes.
  • The test suite now has 100% coverage, and less coverage will count as failure.

Contributors to this release were:

@Cito, @Hellzed

Thanks to everybody who contributed by sending bug reports or pull requests. Please continue to report any problems you find in this beta release, so that these can be fixed in the final v3.1 release.

graphql-core -

Published by Cito over 4 years ago

First beta release of GraphQL-core 3.1, based on GraphQL.js v15.0.0rc1.

In addition to incorporating the latest changes from GraphQL.js (see the list of changes in GraphQL.js v15.0.0a1, v15.0.0a2 and v15.0.0rc1), this release also contains the following improvements and changes:

  • Change: Use Undefined instead of INVALID which is now deprecated (#77)
  • Use explicit Optional type on arguments (#76)
  • Remove unnecessary result type annotation from __init__ methods (python/mypy#5677)
  • Better docstring for ast_from_value
  • Better docstring for lexicographic_sort_schema (#75)
  • Fixed a minor issue when coverting lists in ast_from_value()
  • Fixed a minor issue with MapAsyncIterator.athrow()
  • Improved test coverage (trying to reach 100% for final release)

Contributors to this release were:

@Cito, @hoefling

Thanks to everybody who contributed by sending bug reports or pull requests. Please continue to report any problems you find in this beta release, so that these can be fixed in the final v3.1 release.

graphql-core - v3.0.3

Published by Cito over 4 years ago

Patch release of GraphQL-core 3, based on GraphQL.js v14.6.0.

This is essentially the same as version 3.0.2 except for one minor change:

  • Added Undefined as a forward compatible alias for INVALID, which should be imported from the top level.
graphql-core - v3.0.2

Published by Cito over 4 years ago

Patch release of GraphQL-core 3, based on GraphQL.js v14.6.0.

This is essentially the same as version 3.0.1 except for one minor change:

  • Added the missing validation rules that could not be imported from the graphql and graphql.validation packages.

Some requirements have also been updated, and we officially support Python 3.8 now.

graphql-core - v3.0.1

Published by Cito almost 5 years ago

Patch release of GraphQL-core 3, based on GraphQL.js v14.5.8.

This is essentially the same as version 3.0.0 except for one minor change:

  • The utilities.get_introspection_query module has been renamed back to utilities.introspection_query, since that was the name used in GraphQL.js v14.5.8 - renaming the module will be postponed to a version that replicates GraphQL.js v15.0.0.

Note that the introspection_query constant was already deprecated in v14 and had not been ported to graphql-core, like some other deprecated features.

graphql-core - v3.0.0

Published by Cito almost 5 years ago

Final release of GraphQL-core 3, based on GraphQL.js v14.5.8.

GraphQL-core 3 is the successor to both GraphQL-core 2 and GraphQL-core-next.

In addition to porting the minor changes in GraphQL.js since v14.5.6, this release also contains the following improvements:

  • GraphQL-core 3 now officially supports Python 3.8
  • Use mypy 0.750 and the new semantic analyzer (#67)
  • Fix for possible sort errors in build_response() (#68)
  • Document the differences between GraphQL-core 3 and GraphQL.js (#24)

See also the changes in v3.0.0b0 and v3.0.0b1.

Contributors to this release were:

@Cito, @tebanep

Thanks to everyone who sent bug reports or pull requests.

graphql-core -

Published by Cito about 5 years ago

Second beta release of GraphQL-core 3, based on GraphQL.js v14.5.6.

GraphQL-core 3 is the successor to both GraphQL-core 2 and GraphQL-core-next.

In addition to incorporating the latest changes from GraphQL.js (see particularly the list of changes in GraphQL.js v14.5.5), this release also contains the following improvements and changes:

  • Changes: format_error now returns locations as a list of dicts (#62)
  • Bugs: Detect args passed to directive without args (#63)

Contributors to this release were:

@Cito, @Dodobibi, @ktosiek

Thanks to everybody who contributed by sending bug reports or pull requests. Please continue to report any problems you find in this beta release, so that these can be fixed in the final v3 release.

graphql-core -

Published by Cito about 5 years ago

First beta release of GraphQL-core 3, based on GraphQL.js v14.5.0.

GraphQL-core 3 is the successor to both GraphQL-core 2 and GraphQL-core-next.

In addition to incorporating the latest changes from GraphQL.js (see particularly the list of changes in GraphQL.js v14.5.0), this release also contains the following improvements and changes:

  • Features: Support using lazy descriptions for GraphQL types (#58)
  • Performance: Add pytest-benchmark and port the benchmarks from GraphQL.js (#55)
  • Performance: Use identity instead of hash for caching subfields in collect_subfields (#56)
  • Changes: Use FrozenLists in AST nodes (#45)
  • Changes: Changed is_nullish() to make it play nice with numpy arrays (#60)
  • Bugs: Fixed issue #43 with getting parse_literal via to_kwargs()
  • Bugs: Fix hash method for AST nodes (#45)
  • Docs: Fix typo in docs for using SDL (#48)
  • Docs: Update installation instructions (#50)
  • Docs: Run all code snippets as part of the test suite
  • Polish: Run type check also for functions without type annotations

Contributors to this release were:

@Cito, @CorrosiveKid, @delyanr, @ktosiek, @mvanlonden, @qqi0O0, @thomascobb

Thanks to everybody who contributed by sending bug reports or pull requests. Please continue to report any problems you find in this beta release, so that these can be fixed in the final v3 release.

graphql-core -

Published by Cito over 5 years ago

Bugfix release of GraphQL-core-next, based on GraphQL.js v14.4.0.

This release fixes a problem with getting parse_literal via to_kwargs() (#43).

Future versions of GraphQL-core-next will be released as GraphQL-core version 3 and up.

GraphQL-core-next has been discontinued as separate distribution.

graphql-core -

Published by Cito over 5 years ago

Public release of GraphQL-core-next, based on GraphQL.js v14.4.0.

In addition to incorporating the latest changes from GraphQL.js
(see particularly the list of changes in GraphQL.js v14.4.0),
this release also contains the following improvements and changes:

  • Made GraphQLError hashable (#35)
  • Fixed online documentation for GraphQLError
  • Support transformation of argument names (#41)
  • Support value transformation of input object types (#42)
  • Support custom type map reducers in GraphQLSchema
  • Allow comments on the last line of the query (#39)

Future versions of GraphQL-core-next will be released as GraphQL-core version 3 and up.

GraphQL-core-next has been discontinued as separate distribution.

graphql-core -

Published by Cito over 5 years ago

Public release of GraphQL-core-next, based on GraphQL.js v14.3.1.

This patch release contains the bug fix made in GraphQL.js v14.3.1 and some internal polishing.

graphql-core -

Published by Cito over 5 years ago

Public release of GraphQL-core-next, based on GraphQL.js v14.3.0.

In addition to incorporating the latest changes from GraphQL.js
(see the list of changes in GraphQL.js v14.3.0),
which include the addition of a new utility function strip_ignored_characters,
this release also contains the following improvements and changes:

  • specified_directives and similar lists are now read only lists (#31)
  • introspection_types is now a read only dict
  • Minor fixes in the Sphinx docs and some docstrings
graphql-core - v1.0.3

Published by Cito over 5 years ago

Public release of GraphQL-core-next, based on GraphQL.js v14.2.1.

In addition to incorporating the latest changes from GraphQL.js
(see particularly the list of changes in GraphQL.js v14.2.0),
this release also contains the following improvements and changes:

  • Check __typename not only as dict key, but also as object attribute (#25)
  • Made package PEP 561 compatible by adding py.typed file (#26)
  • Use poetry instead of pipenv for packaging (#22)
graphql-core - v1.0.2

Published by Cito over 5 years ago

Public release of GraphQL-core-next, based on GraphQL.js v14.1.1.

In addition to incorporating the latest changes from GraphQL.js,
this release also contains the following improvements and changes:

  • Add traceback to GraphQLErrors (#23)
  • Fix lexer issue with empty string (#18)
  • Keep a list of middleware resolvers (#16)
  • Support __typename attribute on data objects
  • Restrict output via inspect() in error messages
  • Remove contain_subset helper since it is not used any more
Package Rankings
Top 1.26% on Pypi.org
Top 32.44% on Anaconda.org
Top 9.78% on Spack.io
Top 12.33% on Conda-forge.org
Top 6.67% on Proxy.golang.org
Badges
Extracted from project README
PyPI version Documentation Status Code Style