Skip to content

Releases: graphql-python/graphql-core-legacy

v2.0.0

25 Oct 17:36
Compare
Choose a tag to compare

Changelog

  • Moving context from the resolver arguments to info.context #133
  • New resolvers API. Moving from resolver(root, args, context, info) to resolver(root, info, **args) #133
  • Is Type of new syntax from is_type_of(result, context, info) to is_type_of(result, info) #133
  • Resolve type new syntax resolve_type(result, context, info) to resolve_type(result, info) #133
  • Subscriptions support #143
  • Improved exceptions on promises

v1.1.0

19 Apr 05:51
Compare
Choose a tag to compare

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-checking Promise 2cf4285
  • Include experimental executor c496eed
  • Errors are now None if empty in ExecutionResult 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

15 Nov 06:13
Compare
Choose a tag to compare

Changelog

  • Removed print statements 845b09b
  • Support for promise-like objects fcb885b
  • Added support for unicode message Exceptions 4aed47c
  • Added reraise method to GraphQLError 311b3b9

v0.5.2

01 Jun 04:29
Compare
Choose a tag to compare

Changelog

v0.5.1

01 Jun 04:26
Compare
Choose a tag to compare

Changelog

v0.5.0

12 May 07:38
Compare
Choose a tag to compare

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.* to graphql.*
  • Make tests relative to the directories

Breaking changes

Improve the executor to be closer to the reference implementation:

  • Uses Promise instead of Deferred as it simplifies the implementation. Use parallel resolvers automatically as default behavior when available. Use pypromise package. Related PR: #59

GraphQL-js Commit Checklist

v0.4.18

19 Apr 05:53
Compare
Choose a tag to compare

Same improvements as GraphQL-js v0.4.18.

https://github.com/graphql/graphql-js/releases/tag/v0.4.18

v0.4.17

19 Apr 05:33
Compare
Choose a tag to compare

Same improvements as GraphQL-js v0.4.17.

https://github.com/graphql/graphql-js/releases/tag/v0.4.17

v0.4.16

19 Apr 05:23
Compare
Choose a tag to compare

Same improvements as GraphQL-js v0.4.16.

https://github.com/graphql/graphql-js/releases/tag/v0.4.16

v0.4.15

18 Apr 06:37
Compare
Choose a tag to compare

Same improvements as GraphQL-js v0.4.15.

https://github.com/graphql/graphql-js/releases/tag/v0.4.15