mozilla / mozillians

Mozilla community directory -- A centralized directory of all Mozilla contributors!
https://mozillians.org/
BSD 3-Clause "New" or "Revised" License
288 stars 329 forks source link

Update graphql-core to 3.1.0 #4460

Closed pyup-bot closed 3 years ago

pyup-bot commented 4 years ago

This PR updates graphql-core from 2.1 to 3.1.0.

Changelog ### 3.1.0b2 ``` 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. ``` ### 3.1.0b1 ``` 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](https://github.com/graphql/graphql-js/releases/tag/v15.0.0-rc.2), this release also contains the following improvements and changes: * Following a [change in GraphQL.js](https://github.com/graphql/graphql-js/pull/2410) 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. ``` ### 3.1.0b0 ``` 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](https://github.com/graphql/graphql-js/releases/tag/v15.0.0-alpha.1), [v15.0.0a2](https://github.com/graphql/graphql-js/releases/tag/v15.0.0-alpha.2) and [v15.0.0rc1](https://github.com/graphql/graphql-js/releases/tag/v15.0.0-rc.1)), 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/mypy5677) * 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. ``` ### 3.0.4 ``` 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](https://github.com/graphql-python/graphql-core) in the meta data. ``` ### 3.0.3 ``` 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. ``` ### 3.0.2 ``` 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. ``` ### 3.0.1 ``` 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. ``` ### 3.0.0 ``` 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](https://github.com/graphql-python/graphql-core-next/releases/tag/v3.0.0b0) and [v3.0.0b1](https://github.com/graphql-python/graphql-core-next/releases/tag/v3.0.0b1). Contributors to this release were: Cito, tebanep Thanks to everyone who sent bug reports or pull requests. ``` ### 3.0.0b1 ``` 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](https://github.com/graphql/graphql-js/releases/tag/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. ``` ### 3.0.0b0 ``` 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](https://github.com/graphql/graphql-js/releases/tag/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. ``` ### 2.2.1 ``` Hotfix release with one fix: * Require rx<3 since new version is not compatible (235) ``` ### 2.2.0 ``` Changelog * Fix a typo in a deprecation warning 9202021fc87db9c175e115016cd53e5d9d085ac6 * Fix collections import for Python >3.3 cdb299df3efda82a09cbb282e561c6c8aaa2efdf * Add dict support for the default resolver 1760eaf995e2623aee4afca48ad5be0cd9098fbe * Fix UnicodeDecodeError in format_error 87b615605ac9724c4f945e220e67b5b2d0461424 * Add extensions support to GraphQLError 3ba7f9218bca7a039b109b103cf57b1511d970c7 * Add traceback to errors from failed promises 8f736b7a6b052c07347dbd57e00bc8221af71faa * Lots of internal clean up Full changelog: https://github.com/graphql-python/graphql-core/compare/v2.1.0...v2.2.0 ```
Links - PyPI: https://pypi.org/project/graphql-core - Changelog: https://pyup.io/changelogs/graphql-core/ - Repo: https://github.com/graphql-python/graphql-core