Releases: graphql-python/graphene-django
v2.4.0
Changelog
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 #705)
New features
- Add support for write_only fields in SerializerMutation (#555)
- Enhanced support for proxy models (#603)
- Add support for filterset_class meta parameter (#600)
- Add watch option to graphql_schema management command (#656)
- Add
convert_choices_to_enumoption on DjangoObjectType Meta class (#674) - Add option
CAMELCASE_ERRORSto camel case field names in DRF errors (#514 and #689) - Mark content of ManyTo* relationships as NonNull (#690)
- Alias
only_fieldsasfieldsandexclude_fieldsasexclude(#691)
Bugfixes
- Stop enforcing csrf checks in GraphQLTestCase (#658)
- Correctly propagate help_text as description for many-to-* relations (#579)
- Fix Django manager check in DjangoConnectionField (which was preventing
prefetch_relatedoptimisations from working) (#693) - Remove duplicate ErrorType (#701)
- Ensure correct filter types for DjangoFilterConnectionFields (#682)
- Fix error of multiple inputs with the same type. When using same serializer. (#530)
Full changelog: v2.3.1...v2.4.0
V2.3.2
v2.3.1
Fixes one to one reverse relation resolution
v2.3.0
Changelog
- Fix import issue with
GraphQLTestCase - Stores the GraphiQL query in the URL fragment, rather than the query, so that sensitive data won't be logged to web server logs. #508
- Moves GraphiQL JS to a separate file to enable stricter Content Security Policies. #508
- Fix parameter order #526
- Provide a way to dump schema to stdout #512
- Removed old Django compatibility code #619
- Added staticfiles to MANIFESTS.IN #601
- Update GraphiQL to use 0.13.0 #646
- Change
__debugto_debugto avoid conflicts #646
Documentation improvements
v2.2.0
Changelog
This version adds official support for Django 2.1 (and django_filter latest version)
- Exclude
idfrom mutations if is inexclude_fields21bad61 - Added compatibility with
django_filter>=2in Python 3 e45708b - Removed official support for
Django<1.11(only1.11,2.0,2.1and upwards will be supported)
Docs
2.1.0
2.1rc1
Changelog
- Fixed non-deterministic setup.py (that causes dependency issues when using Python 3 and Django 2) 26cfa88
Thanks @sciyoshi for reporting the issue in #427 (comment) :)
2.1rc0
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 🎉
Changelog
- Update requirements to use
Graphene>=2.1andgraphql-core>=2.1rc1 - Added support for pluggable backends #449 490ed92
- Added support for
models.FilePathField4e7b269 - Django Rest Framework serializer fixes a480a39 53546a2 b19308b
- Inheritance support for GraphQLView 70dffa9
- Support ListSerializer fields in SerializerMutation fdb7d5a
- Fixes
relavailable inForeignKey#400 34ddc6c - GraphQLView, Fix qfactor rankings for
HTTP-ACCEPT#340 dbd3957 - Update GraphiQL #356 5b17e98
- Added Proxy Model support #373 c0edb0c
- Handle conversion to
Date,DateTimeandTimetypes properly #335 #368 94ee970 adde400 - Improve ErrorType in DRF mutation errors #382 c585982
- Make it compatible with Django 2.0.1 #377 e05f069
- Remove Django 1.7 shims #339 961404f
- Fix build tests #338 b54e02c
- Avoid
Enumduplication for choice fields #156 5661db8 - Fixed batch endpoint issue #278 14dca82
- Pass context object to
Filtersetqueryset #232 bc59d0a - Fix
select_relatedwith filtering #224 9e26aaf - Allow
DjangoObjectTypeto use an Abstract connection class #313 94e2a5c - Fix
DjangoFilterConnectionFieldto ignore annotations,.reverse#315 e666d84
Docs
- Updated docs template 134d6c6
- Updated cookbook tutorial 9812c58
- Fixed bad documented
SerializerMutationf045147 - Fix context-dependent filtering example in docs 8151fe7
- Fixed authorization docs e9a40f2
- Update example project doc link #359 5a92330
- Updated function signature fix c63dbea
- Fix drop usage of
AbstractTypein docs 31679df - Fixed docs typos dfa0a06 ec2cea1 24706f5 bc15439 f0f1176
v2.0.0
Changelog
To come soon!
v1.3
Changelog
- Fix node filtering 2d1ab4b
- Fix field choice collision 03f3fbe
- Fix reverse fields name eb02f87
- Allow recursive nodes acff3d5
- Accept connections for DjangoFilterConnectionField a599e4c
- Allow nodes to skip the registry 0ec8d2c
- Improved support for GraphQL batch c8179de 1139507
- Simplified
DjangoConnectionFieldlogic 4cc4673 - Avoid redundant filtering in non nested nodes 87f0c33
- Add tests for
only/exclude_fieldsoptions inDjangoObjectType46048cd - Remove
django_graphiqlrequirement 005bb7f - Fix filter and resolver on connection fields 3803e9a
- Added
RELAY_CONNECTION_MAX_LIMITandRELAY_CONNECTION_ENFORCE_FIRST_OR_LASTsettings 46a1dde