Releases: graphql-python/graphene
Releases · graphql-python/graphene
Graphene 0.4.1 - Subsriptions and Relay improvements
Graphene 0.4.0 - New syntax for Fields and Arguments
Changelog
Based on this issue #21, improved the following:
- Simplify Fields definition (rename
graphene.{type}Field
tographene.{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
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