graphene

GraphQL framework for Python

MIT License

Downloads
11.6M
Stars
8K
Committers
192

Bot releases are hidden (Show)

graphene - v2.1.7

Published by jkimbo over 5 years ago

Update graphql-relay dependency to fix incompatibility.

graphene - v2.1.6

Published by jkimbo over 5 years ago

Changelog

  • Fix malformed version on aniso8601 requirement (#995) 431e93c

Documentation

  • Revise documentation (#969) 5cb7d91
  • Expose livehtml autobuild in Makefile + Add API autodoc (#971) da1359e

Full changelog: https://github.com/graphql-python/graphene/compare/v2.1.5...v2.1.6

graphene - v2.1.5

Published by jkimbo over 5 years ago

Changelog

  • Add Decimal type d728b84e48cb107a66f0fa5d22b19b89ba2abd1c
  • Allow Union types to have descriptions 8d4b9cdc77c1a978a9ae6808ecaf5d3ed8841cd2
  • Add type documentation for Relay fields 131cbebc88229db1bbc86f432d0c5700a9f0f84b
  • Mutation description now defaults to docstring 37a6c01839687505da496d94dfd6c9f4383ca74c
  • Fix Windows support ae7a5d71c773fb3b8710a67bed8c800f2af068c2
  • The default resolver for ObjectTypes now handles dicts and objects ca9188a6150485132c27b3dddf149641935dfab2
  • Date, DateTime and Time types now accept datetime.datetime, datetime.date, and datetime.time resp. inputs when used as variables 7b6dae7fa3bf8d2e066e92e730c8a9740656a448
  • Make UUID type compatible with all string types in Python 2 7b6dae7fa3bf8d2e066e92e730c8a9740656a448
  • Allow relay connection node to be wrapped in a NonNull type abff3d75a39bc8f2d1fdb48aafa1866cf47dfff6
  • from_enum can now take a deprecation reason 6a4091b3e4734fe032397b0bcd350820f6037d0f
  • Update aniso8601 dependency to allow versions 4+ a5162e9ae39bcb7d6b0655bf3385e674611e6d17
  • Drop support for Python 3.4 because it is EOL f73055f72bf7d4b06130507eeeed4ae70f61bd97
  • Allow type annotation in meta classes eb7966eca7f9f90da1ac60c97aafa542ae3d0b38

Documentation

Too many documentation improvements to list out here and lots more to come. Watch this space.

Full changelog: https://github.com/graphql-python/graphene/compare/v2.1.3...v2.1.5


Note: v2.1.4 was never released to PyPi due to build issues. We went straight from v2.1.3 to v2.1.5

graphene - v2.1.2

Published by jkimbo over 6 years ago

Bugfix release to fix a couple of issues.
Thanks to the effort of contributors for this new release @jlowin @nxtman123 @danpalmer @dan98765 @femesq 🎉

Changelog

  • Don't overwrite fields on InputObject #752
  • Incorrectly formatted error message #751
  • Fix warning output #748

Docs and Internal

  • Update contributing docs about using tox and sync tox pytest cmd with travis #744
  • Add isort precommit hook & run on all files #743
  • Add flake8 pre-commit hook and manually edit files to pass flake8 validation #746
  • Add pyupgrade pre-commit hook and run on all files #736
  • Update README Contributing section to encourage use of virtualenv #765
  • Fix parameter order for Relay's Root-field #754
  • Add python3.6 classifier to setup.py #763
graphene - v2.1.1

Published by jkimbo over 6 years ago

A small bugfix release to fix a couple of issues.
Thanks to the effort of contributors for this new release @nikordaris @dan98765 @femesq @devArtoria 🎉

Changelog

  • Fix default_value on NonNull fields (9408ba70d165284ff7ab5efd159a62e1d40a9a7f)
  • Add pre-commit tool to repository, and run on all files (#730)
  • Added partial support to Dynamic type (#725)

Docs

  • Improve v2 migrations docs (#732)
  • Add Graphene-Mongo to integrations list (#711)
graphene - v2.1.0

Published by syrusakbary over 6 years ago

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 a16c5ba00be1d963d438c5e96962b79d1b145cc3
  • Raise better error if type is missing from Schema d6968c2e92486dda40725c9ef99f450557003f2b
  • Allow ObjectType to set connection name a2178dc22098a36e56d4cec021f984f4cae3649c
  • Fixed to_camel_case utility function be1f7d72a46f29eb491d3a6110fd955d0b72dea4
  • Add py36 to tox envlist 113cf8da38dcac755599d4b26432e3eaccadc72a
  • Enable extra options in mutation fields a7a4ba62af4cb8b00ffa6a9f8cf79bd87dfb5e95
  • Improved support / assertion for GraphQL types in Schema 0971a05b33bf65cbc89038eebd85de5fec4e1dcf
  • Fixed required=True in ConnectionField 8c7ca74c6f083007a7c83c843f494357aec69371
  • Exclude examples module in package 79f7cc08e3c173e78ab33abe0d49404242f8d26d
  • Made Date, DateTime and Time scalars to fail with GraphQLError is format is invalid 84fbf5dc23351c26a852271aa6529a60bce13735 9973fd314f6134a96a78617fee1caf21d592b6af
  • Fixed Meta included in Enum members 2594cdb61409f8ecedf0958ee959f8f8ded3efbc
  • Fixed deprecations url in deprecation message a96ed550bd0c67b7a9ec0b9f636f71c530441e5f
  • Fixed str on abstract types, improved repr 562cafc14f66bbad7f76e7600fa0acd71d00194e
  • Use aniso8601 instead of iso8601 b4255e55fd28ca5b31f86876fe3f95f38f0f0838
  • Expose Date, DateTime and Time from main package

Docs

  • Updated docs layout d6df14923dd47df69f7bec7909cb70809f31eea0
  • Relay documentation reflect latest 2.0 API ec32c252e7fdb7354e42ac931a7a7ee412d4d56c
  • Use pythonic terminology in middleware 834d52f9d3ca49e2a39fdf89da945f296b160c60
  • Added Date scalar to documentation 98366c6add10fa1532301145e9768bffcbb09dc5
  • Document functional middleware 92f6a496c5b0bb08ea976e5a675cc3310b85e585
  • Improved Scalar documentation 5036d164b74038ad4ef82add05beb73def11c317
  • Fixed typos in relay Node examples 7afeaa052bf90f9fabb5ded21f63cc724f1d1180
  • Fixed Relay links 8123c4ad8f945ec2154ce6368e3ec78e4c76700a
  • Updated middleware example to support introspection 035ff7ef885e9e158093359e93e5723298ab177e
  • Fix broken Github link tags 4fa0df401af289c43ff7e3ec73492455446c275e
  • Added documentation in NonNull lists e26c0a3717c4ff3f90ed8bd710436f8cb6ff4713
  • Fixed relay Node example d3b708533d05ef13a6b15e7a3f29eac23f812a09
graphene - v2.0.1

Published by syrusakbary almost 7 years ago

Changelog

  • Prevent breaking changes for future releases 71177fe9776d8cf958ac3054885f891f49c1ef4d
  • Support for Enum description lambda f79eb57c063f1e2d1594fc19d1c1863feb5fc862
  • Added Date type in datetime 045d5fffbec0d32550b19421fa01a088f5cd0d8c
  • Improved ObjectType Container initialization 3ee94131ae511d2d83116730dcc4a50258ced5af (Fix for #585)
  • Non provided fields in InputObjectType value should be None (rather than the Field) b5abccb1dc733522df19d56e0906890531a700d3
  • Improved tests for nested InputObjectType f6697188ee9cbbe22df5e6971ef9686b589f4daf

Docs

  • Fix minor gramatical error ef507c7932db6f4c90c34589f8d8af2167975f7b
  • Fix example of file upload 98c2af3fcc563fbdad75f15a04e69c38b9e61045
  • Fixed args example in docs middleware 1555c988e05049e49f119d7684fc0172e469c283
  • Fix Union docs 3412dba31fdd5e57dd545eebeb6a116f40f1cf37
graphene - v2.0.0

Published by syrusakbary almost 7 years ago

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!!

graphene - v1.4.1

Published by syrusakbary over 7 years ago

Changelog

  • Added type consistency for Arguments #467
  • Include LICENSE in manifest for source bundles d7dff53f46967601a9b289a075a8bf7190431282
  • Improved test framework to support thenables returned when executing queries 645bfddfe955e5a51b13a7d2e58714cdbb7166ab
  • Improved ClientIDMutation tests 6c2b940a03ee708bb8788836bb7a298d5aed9c57
  • Fixed Argument output name 985252920ce2e2701388e2e20f3cc74419ff3b85 (important, please check #490)

Docs

  • Update Relay doc link 5052536787503290fee145ada575ec8810fdf308
  • Fixed typo in docs execution bad6f5a18873c5ef6488910b8f58728b8ff1ac1e
  • Improved Upgrade guide to 1.0 b5d15b635eabcf6004e222e77c6eb9ad0963cb32
  • Fixed typo in DataLoader docs 0a9dbb608a0ee71dd556c0bd206a0b39bd5a337d
graphene - v1.4.0

Published by syrusakbary over 7 years ago

Changelog

  • Improved Enums comparison and getters afed25a18015643749439288a9536235232dd493
  • First version of Graphene test Client (graphene.test.Client) dfcd7f256340301d7551e2af383e4e84454db097
  • Added possible_types option in ObjectType.Meta that mimics is_type_of -> isinstance(root, possible_types) a7511d3a2c2eb59ad8342d3db85f18ea477ae379
  • Allow node inner types to be lazy e92b03bed5e1a12c558d5b1c8a03b92eecff3218
  • Updated promise package requirement to 2.0
  • Updated graphql-core package requirement to 1.1

Docs

  • Added dataloader (N+1) docs
  • Update basic schema with arguments in tutorial doc 06757f10c6cbfb3885531b02a2c93e94491380a5
  • Added testing docs (with snapshot testing) 60e29028a8c7e025d5bbfe1d9f730c937829c98c 038f81e8e1931e1f5fb55cad80773bf6c2d2d09c
graphene - v1.3.0

Published by syrusakbary over 7 years ago

Changelog

  • Fix docstring whitespace 62e58bd95325604186563f54c898736db9d39585
  • Added optional default_resolver in ObjectType 98825fa4bc0f2fd6f88d11796b1093e0d63a51ee
  • Fix ObjectType inheritance with custom Meta ad251e9a8dd46d212e39da67945df4fc3e02b361 48efec307ce245bfe692f75b5dc07c14d8bce15b
  • Fixed circular Union/Interfaces d4d8a76a0936b8b8b90e6b316003c31c21e30500
  • Improved lazy_import to accept also dotted attributes d594a0eca86102ce2ebf9633018437eef8997f42
  • Use Promise.resolve instead of promisify (so we adapt to Promise 2.0) bd0d418986cf69b51801f8e4d361c0c9a5dbc17c
  • Improved lazy types support in Field, InputField, List and NonNull accepting also now string attributes (will be treated as imports, like: Field("graphene.String") 4b714659225a93ea44e95ccdd9ad1b5ea9e36c05

Docs

  • Added Sphinx to requirements in docs e405a20e3dad7862ae315077150f23b63293a8ea
  • Fix indent in mutation docs 3a198d052acc01a8469dc03d0c0d798612830be2
  • Spelling/Grammar fix in docs 313a0041414c729fba8c2270359628b1251ce960
  • Fixed typo in link to graphql.org d86bbd8a8647bbcf9d668968977cc35c64f67f12
graphene - v1.2.0

Published by syrusakbary over 7 years ago

Changelog

  • partial functions can be now passed as type to Field 774e9bf4639ca459d0a12a10e090d9ab671b6459
  • Added a generic scalar type: GenericScalar (based on @hung-phan work for JSON)
  • Refactor mounted type logic 27cd00b9f9b9050b10f9c3c86841c5e4199be086
  • Set Union as UnmountedType 2ef0e23dcf036aa41e7ee96dd2468c7177021829
  • Allow class method to be used as field source f728542ce7d431359ed32f3522bea12d629eb329
  • Added a test packages to setup.py as extra_requires (so it's easier to install tests dependencies) 256c84a9a535e62a04942d2e96f6972ea269bd78
  • Improved Node.get_node_from_global_id e8fc58afd6f67d904cf40cf8a81bab4747c54fb8
  • Allow Dynamic Field to optionally include the schema on type creation and improved TypeMap validator 2f87698a0b4951cdc685f22db0a28cae7090c08b
  • Improved assertion messages ba29de567041d21cb4d033fb28364c085c9d3bdd
  • Added lazy_import to graphene 74400642ed8cc0b3d84fa326cf609de35f3b42fc

Docs improvements

  • Fixed typos and some improvements in the docs dda3237e0a6306ba2cb675d3cfecd00413562538
  • Fixed mutations example input code a749d02663a078552dbc21ae035ff75afdf286e2
  • Grammar fix on README 02eb6856ed72841f87bd532e91fe1dc123c0c9d2
  • Added docs on how to accept files in a mutation 1232ff3ee1e4006a262be5e50664f44c6e635200
  • Fix typos in Node docs 8dff91d4c689ea6a92c13a5a5520c1ce9c360e04
  • Added Apollo as a supported official client of Graphene 81c1cf3d61e47527ff49a15e97cfdbabe88a8755
  • Improved Mutation docs 8b0cd488d426dfec398a95f1c4b478ecee8c55cd
  • Added docs for List and NonNull e2cdd80a5cc5524af0a45273fd257c08b0ff8bc2
graphene - v1.1.3

Published by syrusakbary almost 8 years ago

Changelog

graphene - v1.1.2

Published by syrusakbary almost 8 years ago

Changelog

  • Added type getter in the schema when accessing its attrs. 5e0923b56073f42ce25da6628c46ebed120b0654

    Now is possible to access Graphene types in a schema by typing schema.TYPE_NAME directly.

Breaking changes

  • Removed register method from graphene.Schema df2900e215c88f78dc3fe213df78c8ea9832f3ea
graphene - Graphene 1.1.1 - Interface and Union fix

Published by syrusakbary almost 8 years ago

Changelog

  • Fixed resolved interfaces and unions that have is_type_of defined in the inner types when used inside List or NonNull 67c0872c9fceed737b2300d118e6950ee20e97fe
graphene - Graphene 1.1.0 - Bugfixes improved testing and relay improvements

Published by syrusakbary almost 8 years ago

Changelog

  • Updated datetime with tests 95280e4f7c2a4b372902d590f0b0f8bc13a57a85
  • Improved Dynamic Field tests 822b030938533d4b2b182bd6bf64172f8816c0f4
  • Fixed Dynamic Arguments 0a80119f5eabbee2e34d0aa755afb9847ae2cf2c
  • Improved Promise Connection abstraction 760ccc83587396df9a2cbf5806b7f4fa73ba620e
  • Relay Edges should be non null 495361ef53ffc3edb3ffa0966cdcb0f67618056c
  • Fixed TOX dependencies d1a9bdb5c3d4c0bd04e165aff506d458b4ac93fe
  • Fixed typo in Union initialization 937e257d609c51ad81675168a38792b6083d0e2f
  • Node simplifications a22c9276e5ea033bf56f11c7b08e4a5ba034f03d
  • Improved List/NonNull inner type exceptions 2e58f53f18050230f5947159334edf2528f78dca

Docs

  • Fixed docs for unmounted instances 77e4ead0d76de2e7d0e99b4553140ad02b21b9b8
  • Improved docs in unmounted types 47d7adf7b0f64efb9f687dd4a9574b4be39ba764
  • Added middleware docs adfbffb267b8e4c7bf6067c743a22a1e3c990d90
  • Fixed sentences to be more readable 3f0c01ed3c4775019c81b686c77734ff54a29900
  • Added link to GraphQL.org c1f567c4e4ba86cf4525dd2acbf1518cacb0d616
  • Added context example b1bffc4f8da66a143e43aeb7893293a2911526d3
  • Added execution context cc776e8def58b0130e161c1bf244b39c5acab89a

And...
Added automatic PyPI upload 90e8e30a3a343e57789a4f2695ccf7eab1e3a29f :)

graphene - Graphene 1.0.2 - Improved Connections and Mutations

Published by syrusakbary about 8 years ago

Changelog

  • Connection resolvers can now return a Connection instance instead of a Iterator c7929234294a181993158b4439c24006e9ed1ebd
  • Improved Arguments and List, NonNull instances to be comparable bd207b5f06a64dbbd610ea901f0d76c5b4918734
  • Fixed overwritten ConnectionField arguments c961f0b3c60c3a7a6223d5218c912d69585aef5c
  • Fixed unbound mutate method in Mutation 999bca84c98d452634dd530e374ea6b649167c64
graphene - Graphene 1.0.1 - Fix resolving types in ObjectTypes

Published by syrusakbary about 8 years ago

Changelog

  • Fixed requiring an overwrite of the is_type_of method in ObjectType in the case the resolver was returning an object that was not an instance of the type. [8030fea44318b9dfcda854c96dfa5091b266f95e]
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