Build powerful, efficient, and flexible GraphQL APIs with seamless Django integration.
MIT License
Bot releases are visible (Hide)
Published by jkimbo over 5 years ago
Some great new features and lots of bugfixes in this release. A massive thanks to all the contributors that helped out! This release will probably be the last one before v3 (see https://github.com/graphql-python/graphene-django/issues/705)
convert_choices_to_enum
option on DjangoObjectType Meta class (#674)CAMELCASE_ERRORS
to camel case field names in DRF errors (#514 and #689)only_fields
as fields
and exclude_fields
as exclude
(#691)prefetch_related
optimisations from working) (#693)Full changelog: https://github.com/graphql-python/graphene-django/compare/v2.3.1...v2.4.0
Published by phalt over 5 years ago
Identical to 2.3.1 except we fixed the PyPi uploading.
Published by mvanlonden over 5 years ago
Fixes one to one reverse relation resolution
Published by mvanlonden over 5 years ago
GraphQLTestCase
__debug
to _debug
to avoid conflicts #646Published by syrusakbary about 6 years ago
This version adds official support for Django 2.1 (and django_filter
latest version)
id
from mutations if is in exclude_fields
21bad6105c5f5def317fd16c908b85dc43dd7b5bdjango_filter>=2
in Python 3 e45708b44e15db3c70d68b912823dd9efc5b8339Django<1.11
(only 1.11
, 2.0
, 2.1
and upwards will be supported)Published by syrusakbary over 6 years ago
black
https://github.com/graphql-python/graphene-django/commit/dc561c68c49d1a91637503f765857d819c36769a
django-filter
version to < 2 https://github.com/graphql-python/graphene-django/commit/f0705e2c25a07024334ea810562d263496ebbd9e https://github.com/graphql-python/graphene-django/commit/96789b291f647cd848816888ffa963ffd56d37f3
Published by syrusakbary over 6 years ago
Thanks @sciyoshi for reporting the issue in https://github.com/graphql-python/graphene-django/issues/427#issuecomment-395539715 :)
Published by syrusakbary over 6 years ago
This is the first RC after almost 8 months from the previous release, apologizes for the long delay.
This Release Candidate should be good to start using, please let me know if you find any issues before doing the stable release 2.1.0
.
Thanks to all the contributors for pushing the project forward: @grantmcconnaughey @pizzapanther @jkimbo @patrick9 @faassen @spockNinja @BossGrand @mongkok @mbarrientos @eyal0803 @jm2242 @danyx23 @pjdelport 🎉
Graphene>=2.1
and graphql-core>=2.1rc1
models.FilePathField
https://github.com/graphql-python/graphene-django/commit/4e7b269b762bf73134805e1c709f003c6ae35845
rel
available in ForeignKey
#400 https://github.com/graphql-python/graphene-django/commit/34ddc6ce858b97bf96dfde080d7556adee8975fb
HTTP-ACCEPT
#340 https://github.com/graphql-python/graphene-django/commit/dbd3957a9f622573b2b106546f3accc48f5d5b41
Date
, DateTime
and Time
types properly #335 #368 https://github.com/graphql-python/graphene-django/commit/94ee97085f98c1db318bfca0cae372978665b995 https://github.com/graphql-python/graphene-django/commit/adde4008938f9ff1694a845c901e84cbabaa70cf
Enum
duplication for choice fields #156 https://github.com/graphql-python/graphene-django/commit/5661db88d1ef0f75a5a4810defcb3284ccd9da51
Filterset
queryset #232 https://github.com/graphql-python/graphene-django/commit/bc59d0ad8e925e89e7f15490aefa3d97b9e808d6
select_related
with filtering #224 https://github.com/graphql-python/graphene-django/commit/9e26aaf6adc404f2f0f45626b87a29284dea83de
DjangoObjectType
to use an Abstract connection class #313 https://github.com/graphql-python/graphene-django/commit/94e2a5c49f74f302cd0a04e988202957335f6346
DjangoFilterConnectionField
to ignore annotations, .reverse
#315 https://github.com/graphql-python/graphene-django/commit/e666d849be3bdf73df6cf9a85b138e69b551a8f6
SerializerMutation
https://github.com/graphql-python/graphene-django/commit/f0451476adc8c1842cb6de38b2f017f62e5b8d6e
AbstractType
in docs https://github.com/graphql-python/graphene-django/commit/31679df08cc817b44075fa64fdb72b3b60258bf3
Published by syrusakbary almost 7 years ago
To come soon!
Published by syrusakbary over 7 years ago
DjangoConnectionField
logic 4cc46736bf7297d3f927115daedd1c332c7a38efonly
/exclude_fields
options in DjangoObjectType
46048cd21844366e3c0b2b58e45a2fe135ae0b9adjango_graphiql
requirement 005bb7fe04db5614b8327138d11a5d7169a65ab2RELAY_CONNECTION_MAX_LIMIT
and RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST
settings 46a1ddedd8af3a73bac5615355e0f92375420ee9Published by syrusakbary almost 8 years ago
Published by syrusakbary almost 8 years ago
django-filter
>= 1.0.0filter_order_by
as option in DjangoObjectType
Meta. Caused by deprecation of order_by
attribute in django-filter
>= 1.0.0 #65Published by syrusakbary almost 8 years ago
DurationField
and improved UUIDField
conversion 8136223bb1061da92a05031260d356388c2149a7SimpleLazyObject
d73f4aa23581d7604cd92a80e8890ad490170094related_name
ending in +
bb0b4fa76651ec0dd809bceadfb463596049458coperation_name
warning 31fdb5a34c800ca2308899279d15987ae6120666