Releases: graphql-python/graphql-core-legacy
Releases · graphql-python/graphql-core-legacy
v2.0.0
Changelog
- Moving context from the resolver arguments to
info.context
#133 - New resolvers API. Moving from
resolver(root, args, context, info)
toresolver(root, info, **args)
#133 - Is Type of new syntax from
is_type_of(result, context, info)
tois_type_of(result, info)
#133 - Resolve type new syntax
resolve_type(result, context, info)
toresolve_type(result, info)
#133 - Subscriptions support #143
- Improved exceptions on promises
v1.1.0
Included a new fast experimental executor that retrieves resolvers in query build time instead of runtime.
Changelog
- Use
promise
2.0 - Support for dataloader
- Use
is_thenable
instead of type-checkingPromise
2cf4285 - Include experimental executor c496eed
- Errors are now
None
if empty inExecutionResult
ec97284 - Accept custom middleware in experimental executor b10adc4
- Set the
Promises
wrap on field resolutions to be optional 29aba38 - Fix leaf type check 7b275a4
- Fix async wait for futures a9744ae
- Allow
resolve_type
to return a string 0d25124
v1.0.1
v0.5.2
Changelog
- Add right stacktrace to
Exception
graphql-python/graphql-core@1de69e5 - Use
promise.get()
instead ofpromise.value
graphql-python/graphql-core@11f0513 - Added
loop
option inAsyncioExecutor
graphql-python/graphql-core@3258d29
v0.5.1
Changelog
- Improve validation error message when field names conflict graphql-python/graphql-core@3caa3e0
v0.5.0
Changelog
Features
- Improve error handling #41
- Add ability to add custom errors (inheriting from
GraphQLError
) - Expose all the function and classes
- Move modules from
graphql.core.*
tographql.*
- Make tests relative to the directories
Breaking changes
Improve the executor to be closer to the reference implementation:
- Uses
Promise
instead ofDeferred
as it simplifies the implementation. Use parallel resolvers automatically as default behavior when available. Usepypromise
package. Related PR: #59
GraphQL-js Commit Checklist
- Allow edit nodes on enter and on leave: graphql/graphql-js@ecfdb3b + graphql/graphql-js@d2c005a
- Nit: fix missing quote in error message: graphql/graphql-js@db0924a
- Add test for parseLiteral on ComplexScalar: graphql/graphql-js@b3a5127
- Extract completeListValue function from CompleteValue: graphql/graphql-js@57d71e1...7a15a3f + graphql/graphql-js@533fc43
- [RFC] Proposed change to directive location introspection: graphql/graphql-js@e89c19d
- Fix error message for missing operation + tests: graphql/graphql-js@debf3d1 graphql/graphql-js@3278e86
- [RFC] Directives in schema language: graphql/graphql-js@fdafe32
- Updating schema parser to more closely match current state of RFC: graphql/graphql-js@b0885a0
- [RFC] Add Schema Definition to IDL graphql/graphql-js@8379e71
- Remove unused function parameters graphql/graphql-js@43992e3
- Include test for extending a schema that uses Enums graphql/graphql-js@37924d2
- Cache client schema exe function, and include test for unreferenced interface graphql/graphql-js@1083c7e
- Naming similarity graphql/graphql-js@3f6a7f4
- Move getTypeOf to execute.js and rename to defaultResolveTypeFn to mirror defaultResolveFn graphql/graphql-js@edc405a + graphql/graphql-js@a781b55
- Add tests and refine default resolve function. graphql/graphql-js@d506c23
- Add GraphQLSchema types field graphql/graphql-js@6a1f23e + Fix test graphql/graphql-js@09be751
- [RFC] Add explicit context arg to graphql execution graphql/graphql-js@d7cc6f9
- Improve coercion error messages graphql/graphql-js@dea5aac + Minor touch ups: graphql/graphql-js@136630f
- Clean up tests graphql/graphql-js@8514211
- Fix bug where @include directive is ignored if @Skip is present. graphql/graphql-js@d6da0bf + Spec compliant @skip/@include graphql/graphql-js@47f87fa
- Fix tests on abstract type invariant graphql/graphql-js@cf5b234
- Remove non spec compliant test graphql/graphql-js@07e627a
- Add tests for type comparators graphql/graphql-js@3201ebb
- Add sanity checks for schema to allow only a single query, mutation, subscription in schema graphql/graphql-js@ffe76c5
- RFC: Return type overlap validation graphql/graphql-js@c034de9
v0.4.18
Same improvements as GraphQL-js v0.4.18
.
v0.4.17
Same improvements as GraphQL-js v0.4.17
.
v0.4.16
Same improvements as GraphQL-js v0.4.16
.
v0.4.15
Same improvements as GraphQL-js v0.4.15
.