- Nothing yet!
- Improve identity template literal tag docs. PR #254 by Jayden Seric.
- Add support for GraphQL 15. PR #271 by Scott Taylor.
- Update all
devDependencies
- upgrades the project to use Babel 7 and ESLint 6. PR #271 by Scott Taylor. - BREAKING: Minimum supported Node.js version is now Node.js 10; Dropped support for Node.js 8. PR #271 by Scott Taylor.
- Update the
required-fields
rule to handle inline fragments without field ancestors. PR #240 by Henry Q. Dineen
- Fix an issue that caused
graphql/required-fields
to throw on non-existent field references. PR #231 by Vitor Balocco - chore: Update dependency
graphql-tools
tov4.0.5
. PR #239 - chore: Update dependency
eslint
tov5.16.0
. PR #218 - chore: Update dependency
graphql
tov14.4.2
. PR #220 - chore: Update dependency
test-all-versions
tov4.1.1
. PR #230 - chore: Update dependency
lodash
tov4.17.13
. PR #234 - chore: Update dependency
mocha
tov6
. PR #213 - chore: Running
prettier
on all files PR #237
- chore: Update dependency
graphql-tools
tov4.0.4
. PR #210 - chore: Update dependency
eslint
tov5.12.1
. PR #206 - chore: Update dependency
graphql
tov14.1.1
. PR #208
- Fix regression which caused
graphql/required-fields
to throw on non-existent field references. PR #203 by Matt Bretl
- Fix support for multi-schema workspaces PR #179 by Pat Sissons
- BREAKING: The
required-fields
rule has been significantly changed to make it a completely reliable method of ensuring anid
field (or any other field name) is always requested when available. PR #199 Here is the behavior, let's say we are requiring fieldid
:- On any field whose return type defines a field called
id
, the selection set must directly containid
. - In any named fragment declaration whose type defines a field called
id
, the selection set must directly containid
. - An inline fragment whose type defines a field called
id
must containid
in its selection set unless its parent is also an inline fragment that contains the fieldid
. - Here's a specific case which is no longer valid:
query { greetings { hello ... on Greetings { id } } }
- This must now be written as
query { greetings { id hello ... on Greetings { id } } }
- This is a more conservative approach than before, driven by the fact that it's quite hard to ensure that a combination of inline fragments actually covers all of the possible types of a selection set.
- On any field whose return type defines a field called
- Fix breaking change in
graphql@^14.0.0
that renamedProvidedNonNullArguments
toProvidedRequiredArguments
#192 - Update dependencies to graphql-tools 4 and eslint 5.9 #193
- Fix support for InlineFragments with the
required-fields
rule in #140 by Steve Hollaar - Fix error location information for literal .graphql files and strings with leading newlines in #122 by Dan Freeman
- Add
fraql
environment
- Retrieves
.graphqlconfig
relative to the file being linted, which re-enables support forvscode-eslint
using.graphqlconfig
in #108 by [Jon Wong][https://github.com/jnwng/] - Cache schema reading/parsing results each time a rule is created in #137 by Kristján Oddsson
- Add support for
graphql-js@^0.12.0
andgraphql-js@^0.13.0
in Jon Wong#119 - Update list of available validators in [#121]((apollographql#121) by Pleun Vanderbauwhede
- Update supported Node
engines
to >= 6.0 in #133 by Jon Wong
- Add new rule
no-deprecated-fields
in Kristján Oddsson#92 - Add support for deprecated fields on enums in #100 by Daniel Rinehart
- Bumped
babel-eslint
and pinnedgraphql-config
in #101 by Jon Wong
Skipped v1.4.0 because of incorrect version tag in package.json
- Move
graphql-js
topeerDependencies
, supportgraphql@^0.11.0
in Jon Wong#91 - Fix escaping of literal .graphql files Simon Lydell in #88
- Fix ESLint config validation Simon Lydell in #86
- add support for .graphqlconfig Roman Hotsiy in #80
- add
graphql/capitalized-type-name
rule to warn on uncapitalized type names DianaSuvorova in #81
- Add env config option for required-fields rule Justin Schulz in #75
- Add option to pass schema as string Christopher Cliff in #78
- Fix template env for older runtimes (eg. node 5 and earlier) Justin Schulz in #73
- Updated
graphql-js
tov0.10.1
in #67 Sashko Stubailo
- Remove
KnownFragmentNames
andUnusedFragment
from default rules inliteral
env. Justin Schulz in #70
- Updated
graphql
dependency to resolve test failures (wording change, no API change) jnwng - Add lint rule to enforce that required fields are specified. rgoldfinger in #47
- Remove
babel-polyfill
from runtime dependencies, since it was only being used in test code. joelgriffith in #44
- Update graphql-js dependency to 0.9.0 jonbretman in #41
- Take into account Apollo fragment interpolation rules jnwng in #33
- Update graphql-js dependency to 0.8.2 jonbretman in #40
- Added
'literal'
option toenv
for when working with.graphql
and.gql
files, by jtmthf in #36
- Support for selecting validation rules one by one, by erydo in #34
- Support for multiple schemas, by erydo in #31
- We didn't keep track of changes before this version. Consult the commit log.