v3.0.0
Version v3.0.0 of the library is finally here 🎉
Thanks to @jkimbo @zbyte64 @ulgens @zbyte64 for doing the the heavy-lifting and hard work and also thanks for rest of maintainers and contributes to make this happen!
What's Changed
- Python 3 by @ulgens in #904
- Make tests order independent (v3) by @ganwell in #940
- Convert MultipleChoiceField to List of type String by @kimbriancanavan in #611
- graphql 3.0 and graphene 3.0 final rebase by @ganwell in #951
- Rename op_name to operation_name by @jkimbo in #941
- Do not access the internals of
SimpleLazyObject
by @pcraciunoiu in #945 - fix typo by @vineethvanga18 in #959
- Use psycopg2-binary in tox by @ulgens in #964
- Error in signature of callproc() and execute() by @pauricthelodger in #966
- Default camelcase errors by @jkimbo in #968
- fixes minor typo in docs index by @chartpath in #969
- Bump django from 3.0.3 to 3.0.7 in /examples/cookbook-plain by @dependabot in #978
- Bump django from 3.0.3 to 3.0.7 in /examples/cookbook by @dependabot in #979
- (v3) Cast potentially translated strings used as descriptions by @DoctorJohn in #976
- DjangoConnectionField slice: use max_limit first, if set by @pcraciunoiu in #965
- Fix that generated schemas could contain empty descriptions (v3) by @DoctorJohn in #984
- Start raising DeprecationWarnings for using only_fields and exclude_fields (v3) by @DoctorJohn in #980
- Make v3 django choice field enum naming default (in v3) by @DoctorJohn in #982
- Update setup.py classifiers by @jkimbo in #987
- fix(converter): wrap field with NonNull if it is required by @helloqiu in #545
- Warn if
fields
orexclude
are not defined onDjangoObjectType
by @radekwlsk in #981 - Fix filtering with GlobalIDFilter by @hubertsiuzdak in #977
- Fix hasNextPage - revert to count. Fix after by @pcraciunoiu in #986
- Set first amount to max limit if not set by @jkimbo in #993
- Move to_const function from Graphene into Graphene-Django by @jkimbo in #992
- Move to_const function from Graphene into Graphene-Django (#992) by @ganwell in #996
- Do not break when after is greater than list_length by @bellini666 in #999
- Update GraphiQL, add GraphiQL subscription support by @eabruzzese in #1001
- GraphiQL cleanup by @eabruzzese in #1002
- Remove operation name from the regex and default to query by @jkimbo in #1004
- Update tutorial docs by @jkimbo in #994
- Extract query function from GraphQLTestCase making it possible to use in a pytest fixture by @nikolaik in #1015
- Add headers support to GraphiQL by @radekwlsk in #1016
- Fix Connection/Edge naming and add unit test by @tcleonard in #1012
- Add converter for django 3.1 JSONField by @nikolaik in #1017
- Fix JSONField import by @jkimbo in #1021
- Fix grammar by @varundey in #1027
- Fix missing colon in function definition by @varundey in #1030
- Add msg params to testing class by @ulgens in #1032
- Fix testing doc by @artofhuman in #1024
- Update testing.rst by @donegjookim in #1026
- Allow passing of meta object in SerializerMutation options by @jaw9c in #1028
- Include tests and examples in source package, but don't install them by @crazyscientist in #1034
- BUGFIX: don't filter out lookup_field as input (required for update) by @CBuiVNG in #1029
- Restrict DjangoRestFramework version by @jkimbo in #1047
- fix
variables
key in body by @robertobarreda in #1050 - Add offset pagination by @tcleonard in #1013
- Improve ordering doc example by @artofhuman in #1053
- Section added
GraphQL testing clients
by @Nishchit14 in #919 - Change build badge from travis to github actions by @artofhuman in #1058
- Use explicit classmethod in simple mutation example by @artofhuman in #1059
- Add a default msg to show the response content. by @jackton1 in #1064
- Register multiple choice field as list by @ulgens in #1033
- Fix backward Relay pagination by @tcleonard in #1046
- Fix 1061: DjangoListField should not cache queries by @zbyte64 in #1063
- fix issue #1068: in and range filters on DjangoFilterConnectionField by @tcleonard in #1070
- Replace Unidecode package with text_unidecode package by @artofhuman in #1060
- Fix issue #1055 by @leonardoarroyo in #1056
- Allow to use camel case in order by field by @artofhuman in #1054
- Handle database transactions by @iorlandini in #1039
- Fixed typo in documentation by @rganeyev in #1078
- docs: fix simple typo, outputing -> outputting by @timgates42 in #1077
- improvement: convert decimal field to graphene decimal by @zbyte64 in #1083
- WIP: Merge master into v3 by @zbyte64 in #1086
- Also convert BaseCSVFilter for custom fields by @bellini666 in #1081
- Use the Django TestCase's Client by @ulgens in #1084
- Fix project setup by @lucas-bremond in #1087
- Fix backward compability on GraphQLTestCase._client setter by @ulgens in #1094
- Validate in and range filter inputs by @tcleonard in #1090
- Add BlankField and mount enums using it v3 by @zbyte64 in #1096
- Support "contains" and "overlap" filtering (v3) by @lucas-bremond in #1101
- document auth pattern: return None with resolve method by @zbyte64 in #1106
- document purpose of DjangoConnectionField by @zbyte64 in #1107
- Fix test main by @zbyte64 in #1126
- Remove unused imports by @jackton1 in #1127
- Doc clarification for headers arg in testing utils by @isundaylee in #1117
- Fix subscriptions in JS by @ygbourhis in #1124
- Fix schema dump on windows by @andrei-datcu in #1123
- Add enum support to filters and fix filter typing (v3) by @tcleonard in #1119
- Added GraphQLTransactionTestCase by @jackton1 in #1099
- Fix: Allow add external resolver by @sebsasto in #1131
- fix: declaration of required variable in filters v3 by @tcleonard in #1137
- enhancement: DjangoDebugContext captures exceptions by @zbyte64 in #1122
- Fix main branch tests failing due to wrong instancing of Missing class by @sebsasto in #1135
- Cleaned up unused imports and variables. by @jackton1 in #1146
- Bump django from 3.0.7 to 3.1.6 in /examples/cookbook-plain by @dependabot in #1149
- Bump django from 3.0.7 to 3.1.6 in /examples/cookbook by @dependabot in #1150
- Tox & actions updates by @ulgens in #1143
- Add ability to pass
execution_context_class
toGraphQLView.as_view()
by @kubami in #1109 - Add typed filters (v3) by @tcleonard in #1148
- Bump django from 3.1.6 to 3.1.8 in /examples/cookbook by @dependabot in #1156
- Bump django from 3.1.6 to 3.1.8 in /examples/cookbook-plain by @dependabot in #1157
- Fix broken
form.save()
call inDjangoFormMutation.perform_mutate
by @ruohola in #1155 - update js version by @RainshawGao in #1188
- Add missing auto fields by @pizzapanther in #1212
- Bump django from 3.1.8 to 3.1.14 in /examples/cookbook-plain by @dependabot in #1282
- Fix ingredient model by @chlammas in #1258
- Bump django from 3.1.8 to 3.1.14 in /examples/cookbook by @dependabot in #1283
- Django v4, python 3.10 support for graphene-django v3 by @tim-schilling in #1281
- Convert DecimalField to Decimal instead of Float in DRF and form converters by @jmp in #1277
- Update requirements to the official graphene 3.0 release by @keithhackbarth in #1290
- fixed broken links to graphene filter documentation (master->main) by @ppk42 in #1309
- I found another wrong link in the filter dokumentation see #1309 by @ppk42 in #1311
- Fix documentation references: op_name -> operation_name by @pifantastic in #1312
- 👽 Use .formatted instead of format_error by @nikolaik in #1327
- fix: backward pagination indexing error when using bigger last argument than total number of elements by @tcleonard in #1344
- 💥 Stop supporting EOL djangos and pythons by @nikolaik in #1337
- chore: update dev dependencies by @tcleonard in #1345
- fix: backward pagination by @tcleonard in #1346
- fix: convert Django BigIntegerField to BigInt GraphQL type by @tcleonard in #1318
- feat: update name of DjangoFilterConnectionField type input to be consistent with graphene (Issue #1316) by @tcleonard in #1317
- minor fix on schema.py part by @ClaushIV in #1306
- Cast translated description for DecimalField by @andrei-datcu in #1255
- Bump version to 3.0.0b8 by @firaskafri in #1348
- fix: unit test for graphene pr#1412 by @tcleonard in #1315
- Make errors in form mutation non nullable by @artofhuman in #1286
- Fixes related to pr#1412 by @firaskafri in #1352
- Delay assignment of csrftoken in Graphiql by @c-py in #1289
- Fix type hint for DjangoObjectTypeOptions.model by @belkka in #1269
- Fix code examples in queries.rst by @belkka in #1265
- Fixed graphql_relay deprecation warning by @AngelOnFira in #1313
- Make instructions runnable without tweaking by @Gadiguibou in #1224
- Update tutorial-relay.rst by @alarivas in #1220
- Add support to persist GraphQL headers in GraphiQL by @devxoul in #1209
- Bump version to v3.0.0b9 by @firaskafri in #1353
- Move testing endpoint to settings by @syberen in #1105
- ☂️ v3.0.0 ☂️ by @firaskafri in #1355
New Contributors
- @kimbriancanavan made their first contribution in #611
- @pcraciunoiu made their first contribution in #945
- @vineethvanga18 made their first contribution in #959
- @pauricthelodger made their first contribution in #966
- @chartpath made their first contribution in #969
- @DoctorJohn made their first contribution in #976
- @helloqiu made their first contribution in #545
- @radekwlsk made their first contribution in #981
- @hubertsiuzdak made their first contribution in #977
- @eabruzzese made their first contribution in #1001
- @nikolaik made their first contribution in #1015
- @varundey made their first contribution in #1027
- @donegjookim made their first contribution in #1026
- @jaw9c made their first contribution in #1028
- @crazyscientist made their first contribution in #1034
- @CBuiVNG made their first contribution in #1029
- @robertobarreda made their first contribution in #1050
- @Nishchit14 made their first contribution in #919
- @jackton1 made their first contribution in #1064
- @leonardoarroyo made their first contribution in #1056
- @iorlandini made their first contribution in #1039
- @timgates42 made their first contribution in #1077
- @isundaylee made their first contribution in #1117
- @ygbourhis made their first contribution in #1124
- @andrei-datcu made their first contribution in #1123
- @sebsasto made their first contribution in #1131
- @kubami made their first contribution in #1109
- @ruohola made their first contribution in #1155
- @chlammas made their first contribution in #1258
- @tim-schilling made their first contribution in #1281
- @jmp made their first contribution in #1277
- @keithhackbarth made their first contribution in #1290
- @pifantastic made their first contribution in #1312
- @ClaushIV made their first contribution in #1306
- @c-py made their first contribution in #1289
- @belkka made their first contribution in #1269
- @AngelOnFira made their first contribution in #1313
- @Gadiguibou made their first contribution in #1224
- @alarivas made their first contribution in #1220
- @devxoul made their first contribution in #1209
- @syberen made their first contribution in #1105
Full Changelog: v2.10.0...v3.0.0