- Allow non-null list for
edges
field. #112
- Removed dependency on
graphql-config
until it is actually used.
Descriptions must now be defined as strings instead of comments as outlined in the spec.
In order to provide a graceful upgrade path, users can use the --comment-descriptions
option to use the old way of defining descriptions.
More information available in #95.
defined-types-are-used
should not report errors forMutation
as that the naming convention for a schema's mutation root. #94defined-types-are-used
should not report unreferenced types that implement an interface that is used. #94- Return useful error when --stdin is specified but no schema is provided. #96
- Add
relay-connection-types-spec
rule. See README.md for details. (Thanks @ruiaraujo)
- Add support for node v6. #90 (Thanks @bwillis)
- Fix crash when no schema is provided to the linter. #88 (Thanks @ruiaraujo)
- Add support for custom rules. #79 (Thanks @bwillis)
- Fix crash when duplicate paths are passed to the linter. #82 (Thanks @boopathi)
- Add
fields-are-camel-cased
rule. #81 (Thanks @ruiaraujo) - Add
input-object-values-are-camel-cased
rule. #81 (Thanks @ruiaraujo)
- Validate configuration options and report when they are invalid. #76 (Thanks @bwillis)
- Fixed an issue where
--text
formatter was not returning the rightcolumn
for errors. #74
- Errors now include the name of the rule that caused the error. #71
- Enable
defined-types-are-used
rule. #73 (Thanks @bwillis)
- Fix a crash when running
graphql-schema-linter
. #68
- The
types-have-descriptions
rule now validates thatunion
types have a description. #56 - The
types-have-descriptions
rule now validates thatinput
types have a description. #57 - The
types-have-descriptions
rule now validates thatscalar
types have a description. #60 - The
types-have-descriptions
rule now validates thatenum
types have a description. #61 - GraphQL syntax errors will now be reported like other errors instead of crashing. #59
- Fix a crash that occured when a
.graphql
file had no line breaks. #58
- Remove dependency on
git
. #50 (Thanks @Caerbannog)
- Fix broken dependency on
cosmiconfig#3.0
. #48 (Thanks @goldcaddy77)
- Fix issue that prevented
graphql-schema-linter
from running onlts/*
version of node. #46 (Thanks @goldcaddy77)
- Fix crash when
graphql-schema-linter
is given an invalid schema. #42
- Do not require descriptions on type extension definitions. #41
- Add support for schemas that are split amongst multiple files. #39
- Add what
file
an error occurred in toJSONFormatter
output. #39
- Add
enum-values-all-caps
rule. #30 (Thanks @goldcaddy77)
- Deprecate
--only
and--except
in favour of--rules
. #29
- Add ability to configure
graphql-schema-linter
via configuration files. #26 (Thanks @goldcaddy77)
- Fix a bug where the wrong location (column/line) was being reported for
DeprecationsHaveAReason
rule. #13 - Fix a bug where the wrong location (column/line) was being reported for
TypesAreCapitalized
rule. #14
- Add
defined-types-are-used
rule. #24
- Rule names passed to
--only
and--except
should now be passed in kebab-case instead of UpperCamelCase. #19
- Add
EnumValuesSortedAlphabetically
rule. #15 (Thanks @goldcaddy77)
- Add some color to
--text
output format.
- Added
--only
and--except
to control what rules get used to validate the schema. - Added
--help
and usage. - Added
--version
to obtain the version ofgraphql-schema-linter
.
- Exit code is
1
when a linter rule failed against the provided schema. Otherwise exit code will be0
.
Bogus test release.
Bogus test release.