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
InputObjectTypemeta a16c5ba - Raise better error if type is missing from Schema d6968c2
- Allow ObjectType to set connection name a2178dc
- Fixed
to_camel_caseutility 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=TrueinConnectionField8c7ca74 - Exclude examples module in package 79f7cc0
- Made
Date,DateTimeandTimescalars to fail withGraphQLErroris format is invalid 84fbf5d 9973fd3 - Fixed
Metaincluded inEnummembers 2594cdb - Fixed deprecations url in deprecation message a96ed55
- Fixed
stron abstract types, improvedrepr562cafc - Use
aniso8601instead ofiso8601b4255e5 - Expose
Date,DateTimeandTimefrom main package
Docs
- Updated docs layout d6df149
- Relay documentation reflect latest 2.0 API ec32c25
- Use pythonic terminology in middleware 834d52f
- Added
Datescalar to documentation 98366c6 - Document functional middleware 92f6a49
- Improved
Scalardocumentation 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
NonNulllists e26c0a3 - Fixed relay
Nodeexample d3b7085
v2.0.1
Changelog
- Prevent breaking changes for future releases 71177fe
- Support for Enum description lambda f79eb57
- Added
Datetype in datetime 045d5ff - Improved ObjectType Container initialization 3ee9413 (Fix for #585)
- Non provided fields in
InputObjectTypevalue should beNone(rather than the Field) b5abccb - Improved tests for nested
InputObjectTypef669718
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
Arguments #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
Enums comparison and getters afed25a - First version of Graphene test
Client(graphene.test.Client) dfcd7f2 - Added
possible_typesoption inObjectType.Metathat mimicsis_type_of->isinstance(root, possible_types)a7511d3 - Allow node inner types to be lazy e92b03b
- Updated
promisepackage requirement to 2.0 - Updated
graphql-corepackage requirement to 1.1
Docs
v1.3.0
Changelog
- Fix docstring whitespace 62e58bd
- Added optional default_resolver in
ObjectType98825fa - Fix
ObjectTypeinheritance with custom Meta ad251e9 48efec3 - Fixed circular Union/Interfaces d4d8a76
- Improved
lazy_importto accept also dotted attributes d594a0e - Use
Promise.resolveinstead ofpromisify(so we adapt to Promise 2.0) bd0d418 - Improved lazy types support in
Field,InputField,ListandNonNullaccepting also now string attributes (will be treated as imports, like:Field("graphene.String")4b71465
Docs
v1.2.0
Changelog
partialfunctions can be now passed as type toField774e9bf- Added a generic scalar type:
GenericScalar(based on @hung-phan work forJSON) - Refactor mounted type logic 27cd00b
- Set
UnionasUnmountedType2ef0e23 - Allow class method to be used as field source f728542
- Added a
testpackages to setup.py asextra_requires(so it's easier to install tests dependencies) 256c84a - Improved
Node.get_node_from_global_ide8fc58a - Allow
DynamicField to optionally include the schema on type creation and improvedTypeMapvalidator 2f87698 - Improved assertion messages ba29de5
- Added
lazy_importto 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
Nodedocs 8dff91d - Added Apollo as a supported official client of Graphene 81c1cf3
- Improved Mutation docs 8b0cd48
- Added docs for
ListandNonNulle2cdd80
v1.1.3
Changelog
- Added new
Timetype tographene.types.datetime692d7e7 - Fixed promise-like compatibility in relay Connections 3df62d2 (Related
promisefix: syrusakbary/promise@8b0d5da)
v1.1.2
Graphene 1.1.1 - Interface and Union fix
Changelog
- Fixed resolved interfaces and unions that have
is_type_ofdefined in the inner types when used insideListorNonNull67c0872