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