graphene

GraphQL framework for Python

MIT License

Downloads
11.6M
Stars
8K
Committers
192

Bot releases are hidden (Show)

graphene - Graphene 0.10.1 - Small fixes

Published by syrusakbary over 8 years ago

graphene - Graphene 0.10.0 - Middleware and multiple bux fixes

Published by syrusakbary over 8 years ago

Changelog

Breaking:

  • Removed the plugin functionality, replaced by with Middleware. #176

Bug fixes:

graphene - Graphene 0.9.1 - Fixed compatibility issue

Published by syrusakbary over 8 years ago

Changelog

  • Fixed package compatibility issue 71153061568dddd166276cff9390f237fc3d7525
graphene - Graphene 0.9.0 - GraphQL 2016 Apr spec

Published by syrusakbary over 8 years ago

Changelog

  • Updated graphql-core version to 0.5.0, with a improved way for executing queries
  • Added the with_context decorator for having the context appended into the resolver arguments
graphene - Graphene 0.8.0 - Django Stability, Custom Scalars, Bugfixes

Published by syrusakbary over 8 years ago

Changelog

This Graphene version improves the Django integration

  • Improved Django choice converter to GraphQL Enum type 68a9fb9fc4d25e0bbcd059183633c4531d7bbf3d
  • Added ability for a Enum to be mounted as a instance (field) in ObjectTypes,InputObjectTypes or an argument e1a693e57c86e73ff42611c87d66cffca103dfa9
  • Added FileField support in Django models a1dd2b629320ad70de618c82dab8a0050b38f56d
  • Added support for Postgres fields in Django models 7f965003538c61614b5d31ad09c4e9d69fc831a0
  • Added custom scalars DateTime and JSONString 12c69c0635e67225df9382dc19dbca62b96381e2

Fixes

  • Allow empty list in SQLAlchemyConnectionField 653e67de97e2e0045051032548d919321ae400dd
  • Fixed PageInfo and Connection constructors 21ec1163b9aca3518068e3d65f370e4e3c454772 #131
  • Fixed default query value in SQLAlchemyConnection integration 1f548f188dda776e0f638fd68184c8b2604e4679
  • Documentation improvements 8c3954333068247d2f028bcf89a4411cc9d6d93e 4f5de4963a8c5e3609c0262c0856992e687e5d9e b358e4cb5ad8299eb5687d3b1df204ac5ed2f766
graphene - Graphene 0.7.3 - Small fixes

Published by syrusakbary over 8 years ago

Changelog

  • Fix Connections and Filters for use a manager as default value
  • Fixed raw_sql tracking code for Django Debug Plugin
  • Improved documentation and fixed typos
graphene - Graphene 0.7.2 - Bug fixes

Published by syrusakbary over 8 years ago

Changelog

  • Fixed querying and slicing when using DjangoConnectionField or DjangoFilterConnectionField. 314703d7b5380c80fe2ee1e2ad4a3eb3d9ed7fc4
  • Fixed empty sql when using Django-Debug-Toolbar and DjangoDebug plugin at the same time c5b15cec2f0a7082006b94314ca45ee1322af60d
  • Fixed Scalar instance usage 7b06e01cb31d61727e40dc8d6aeec736e040237d
graphene - Graphene 0.7.1 - Enums, Field sources and more

Published by syrusakbary over 8 years ago

Changelog

graphene - Graphene 0.7.0 - Added SQLAlchemy support!

Published by syrusakbary over 8 years ago

Changelog

  • Added SQLAlchemy support! Including mapping models, relay, docs and a Flask+SQLAlchemy example
  • Set clientMutationId to be camelCase
  • Added global_id method to relay.Node
graphene - Graphene 0.6.1 - Small fixes

Published by syrusakbary over 8 years ago

Changelog

  • Fixed inheritance from abstract ObjectTypes
graphene - Graphene 0.6.0 - Enhaced Django compatibility and Django Filters

Published by syrusakbary over 8 years ago

Changelog

  • Added the posibility to have a argument named name in a Field. Field(name=String())
  • Improved tests
  • Fixed compatibility with Django 1.6, Django 1.7
  • Added a management Command to Django graphql_schema for dumping the Schema
  • Fixed snake_case - camelCase conversion to be bijective
  • Added automatic django-filters support via DjangoFilterConnectionField and filter_fields attr in Django Meta.
graphene - Graphene 0.5.0 - New Plugin System

Published by syrusakbary almost 9 years ago

Changelog

  • Created a new plugin system for Graphene
  • Set auto camelCase in the schema type fields to optional (using graphene.Schema(auto_camelcase=False))
  • Added a basic Django Debugger with SQL debug capabilities (a la Django Debug Toolbar, but for GraphQL)
  • Improved graphql-django-view version and fixed some related tests
  • Renamed BaseType to InstanceType for code clarity
  • Refactored Fields and Arguments logic
  • Improved ScalarTypes based on ClassTypes
graphene - Graphene 0.4.3 - ClassTypes, improved syntax and optimization

Published by syrusakbary almost 9 years ago

Changelog

  • Improved Django queryset resolver in connections for use .count instead of len
  • Improved resolver function decorators
  • Fixed old DjangoConnectionField usage
  • Refactored code into ClassTypes #61
  • Added .List() and .NonNull()
  • Added abstract ObjectType definition #55
  • Improved tests
graphene - Graphene 0.4.2 - Stability and Bugfixes

Published by syrusakbary almost 9 years ago

  • Added a simple example of graphene usage under examples/ directory
  • Fixed wrong ConnectionOrList field att mounting #43
  • Refactored Relay Connections
  • Removed LazyMap from utils
graphene - Graphene 0.4.1.1 - Bugfixes and improved compatibility with old-version sytntax

Published by syrusakbary almost 9 years ago

Changelog

  • Added support for old behavior of get_node
  • Improved ObjecTypes/Interface resolvers by wrapping root object when needed
graphene - Graphene 0.4.1 - Subsriptions and Relay improvements

Published by syrusakbary almost 9 years ago

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 - Graphene 0.4.0 - New syntax for Fields and Arguments

Published by syrusakbary almost 9 years ago

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 - Graphene 0.3.0 - Mutations, Containers and a big refactor

Published by syrusakbary almost 9 years ago

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
Package Rankings
Top 28.12% on Spack.io
Top 0.49% on Pypi.org
Top 9.78% on Proxy.golang.org
Top 7.37% on Conda-forge.org
Badges
Extracted from project README
PyPI version Coverage Status