Releases: graphql-python/graphene
Releases · graphql-python/graphene
v2.1.0
This is a minor release, fixing a lot of small issues, with better support for Date
, DateTime
and Time
scalars and tons of improvements on docs.
Thanks to the effort of contributors for this new release @jkimbo @danpalmer @g-- @dfee @Prince-Leto @simonwoerpel @pjdelport @anisjonischkeit @abawchen 🎉
Changelog
- Extend support for subclassing
InputObjectType
meta a16c5ba - Raise better error if type is missing from Schema d6968c2
- Allow ObjectType to set connection name a2178dc
- Fixed
to_camel_case
utility function be1f7d7 - Add py36 to tox envlist 113cf8d
- Enable extra options in mutation fields a7a4ba6
- Improved support / assertion for GraphQL types in Schema 0971a05
- Fixed
required=True
inConnectionField
8c7ca74 - Exclude examples module in package 79f7cc0
- Made
Date
,DateTime
andTime
scalars to fail withGraphQLError
is format is invalid 84fbf5d 9973fd3 - Fixed
Meta
included inEnum
members 2594cdb - Fixed deprecations url in deprecation message a96ed55
- Fixed
str
on abstract types, improvedrepr
562cafc - Use
aniso8601
instead ofiso8601
b4255e5 - Expose
Date
,DateTime
andTime
from main package
Docs
- Updated docs layout d6df149
- Relay documentation reflect latest 2.0 API ec32c25
- Use pythonic terminology in middleware 834d52f
- Added
Date
scalar to documentation 98366c6 - Document functional middleware 92f6a49
- Improved
Scalar
documentation 5036d16 - Fixed typos in relay Node examples 7afeaa0
- Fixed Relay links 8123c4a
- Updated middleware example to support introspection 035ff7e
- Fix broken Github link tags 4fa0df4
- Added documentation in
NonNull
lists e26c0a3 - Fixed relay
Node
example d3b7085
v2.0.1
Changelog
- Prevent breaking changes for future releases 71177fe
- Support for Enum description lambda f79eb57
- Added
Date
type in datetime 045d5ff - Improved ObjectType Container initialization 3ee9413 (Fix for #585)
- Non provided fields in
InputObjectType
value should beNone
(rather than the Field) b5abccb - Improved tests for nested
InputObjectType
f669718
Docs
v2.0.0
v2.0.0 🎉
Please read the upgrade guide to learn how to upgrade: https://github.com/graphql-python/graphene/blob/master/UPGRADE-v2.0.md
- Simpler Graphene types implementation (thanks to
__init_subclass__
, and a polyfill implementation for Python 2). - Simplified resolver API
- Type Options from class arguments (only available in Python 3)
And...
Subscriptions!!
v1.4.1
Changelog
- Added type consistency for
Argument
s #467 - Include LICENSE in manifest for source bundles d7dff53
- Improved test framework to support thenables returned when executing queries 645bfdd
- Improved ClientIDMutation tests 6c2b940
- Fixed Argument output name 9852529 (important, please check #490)
Docs
v1.4.0
Changelog
- Improved
Enum
s comparison and getters afed25a - First version of Graphene test
Client
(graphene.test.Client
) dfcd7f2 - Added
possible_types
option inObjectType.Meta
that mimicsis_type_of
->isinstance(root, possible_types)
a7511d3 - Allow node inner types to be lazy e92b03b
- Updated
promise
package requirement to 2.0 - Updated
graphql-core
package requirement to 1.1
Docs
v1.3.0
Changelog
- Fix docstring whitespace 62e58bd
- Added optional default_resolver in
ObjectType
98825fa - Fix
ObjectType
inheritance with custom Meta ad251e9 48efec3 - Fixed circular Union/Interfaces d4d8a76
- Improved
lazy_import
to accept also dotted attributes d594a0e - Use
Promise.resolve
instead ofpromisify
(so we adapt to Promise 2.0) bd0d418 - Improved lazy types support in
Field
,InputField
,List
andNonNull
accepting also now string attributes (will be treated as imports, like:Field("graphene.String")
4b71465
Docs
v1.2.0
Changelog
partial
functions can be now passed as type toField
774e9bf- Added a generic scalar type:
GenericScalar
(based on @hung-phan work forJSON
) - Refactor mounted type logic 27cd00b
- Set
Union
asUnmountedType
2ef0e23 - Allow class method to be used as field source f728542
- Added a
test
packages to setup.py asextra_requires
(so it's easier to install tests dependencies) 256c84a - Improved
Node.get_node_from_global_id
e8fc58a - Allow
Dynamic
Field to optionally include the schema on type creation and improvedTypeMap
validator 2f87698 - Improved assertion messages ba29de5
- Added
lazy_import
to graphene 7440064
Docs improvements
- Fixed typos and some improvements in the docs dda3237
- Fixed mutations example input code a749d02
- Grammar fix on README 02eb685
- Added docs on how to accept files in a mutation 1232ff3
- Fix typos in
Node
docs 8dff91d - Added Apollo as a supported official client of Graphene 81c1cf3
- Improved Mutation docs 8b0cd48
- Added docs for
List
andNonNull
e2cdd80
v1.1.3
Changelog
- Added new
Time
type tographene.types.datetime
692d7e7 - Fixed promise-like compatibility in relay Connections 3df62d2 (Related
promise
fix: syrusakbary/promise@8b0d5da)
v1.1.2
Graphene 1.1.1 - Interface and Union fix
Changelog
- Fixed resolved interfaces and unions that have
is_type_of
defined in the inner types when used insideList
orNonNull
67c0872