Skip to content

Releases: graphql-python/graphene

Graphene 0.4.1 - Subsriptions and Relay improvements

22 Nov 02:46
Compare
Choose a tag to compare

Changelog

  • Added subscription support #35
  • Added schema __str__ representation #32
  • Added info parameter to get_node function #36
  • Fixed relay connections mapping
  • Improved testing

Graphene 0.4.0 - New syntax for Fields and Arguments

18 Nov 01:29
Compare
Choose a tag to compare

Changelog

Based on this issue #21, improved the following:

  • Simplify Fields definition (rename graphene.{type}Field to graphene.{type}).
  • Add Types dynamic instantiation into ObjectTypes, Interfaces (as field), or in Field kwargs (as Arguments)
  • Add .List , .NonNull to Types
  • Add Union Type
  • Add Scalar Type (for having, for example a DateTime Scalar type)
  • Improved tests and coverage
  • Use graphql-django-view for the GraphQL Django view.

Graphene 0.3.0 - Mutations, Containers and a big refactor

30 Oct 08:02
Compare
Choose a tag to compare

Changelog

Based on this issue #15, improved the following:

  • Register types as schema access it.
  • Simplify schema base types. Avoid @memoize hacks
  • Add field description based on resolver function __doc__
  • Add python class enums.Enum mapping to a GraphQL Enum
  • Map received arguments keys by resolvers to be snake_case (via ProxySnakeDict)
  • Add Mutations
  • Add Relay Mutations
  • Improve containers: Generalize use of instance/types instantiation
  • Improved testing coverage
  • Refactored code