Skip to content

Latest commit

 

History

History
228 lines (121 loc) · 8.07 KB

CHANGELOG.md

File metadata and controls

228 lines (121 loc) · 8.07 KB

Changelog

Breaking changes

Deprecations

New features

0.1.3 (March 14th, 2017)

New features

0.1.2 (March 8th, 2017)

Bug fixes

  • Allow non-null list for edges field. #112

0.1.1 (February 13th, 2017)

Bug fixes

  • Removed dependency on graphql-config until it is actually used.

0.1.0 (February 12th, 2017)

Breaking change

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.

0.0.30 (February 12th, 2017)

Bug fixes

  • defined-types-are-used should not report errors for Mutation as that the naming convention for a schema's mutation root. #94
  • defined-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

0.0.29 (February 11th, 2017)

New features

  • Add relay-connection-types-spec rule. See README.md for details. (Thanks @ruiaraujo)

Bug fixes

  • Add support for node v6. #90 (Thanks @bwillis)
  • Fix crash when no schema is provided to the linter. #88 (Thanks @ruiaraujo)

0.0.28 (January 16th, 2017)

New features

  • Add support for custom rules. #79 (Thanks @bwillis)

0.0.27 (January 14th, 2017)

Bug fixes

  • Fix crash when duplicate paths are passed to the linter. #82 (Thanks @boopathi)

0.0.26 (January 10th, 2017)

New features

  • Add fields-are-camel-cased rule. #81 (Thanks @ruiaraujo)
  • Add input-object-values-are-camel-cased rule. #81 (Thanks @ruiaraujo)

0.0.25 (December 8th, 2017)

Bug fixes

  • Validate configuration options and report when they are invalid. #76 (Thanks @bwillis)

0.0.24 (November 30th, 2017)

Bug fixes

  • Fixed an issue where --text formatter was not returning the right column for errors. #74

0.0.23 (November 28th, 2017)

New features

  • Errors now include the name of the rule that caused the error. #71

0.0.22 (November 27th, 2017)

New features

0.0.21 (November 26th, 2017)

Bug fixes

  • Fix a crash when running graphql-schema-linter. #68

0.0.20 (November 26th, 2017)

New features

  • Add input-object-values-have-descriptions rule. #65
  • Add enum-values-have-descriptions rule. #66

0.0.19 (November 25th, 2017)

New features

  • The types-have-descriptions rule now validates that union types have a description. #56
  • The types-have-descriptions rule now validates that input types have a description. #57
  • The types-have-descriptions rule now validates that scalar types have a description. #60
  • The types-have-descriptions rule now validates that enum types have a description. #61
  • GraphQL syntax errors will now be reported like other errors instead of crashing. #59

Bug fixes

  • Fix a crash that occured when a .graphql file had no line breaks. #58

0.0.18 (October 11th, 2017)

  • Remove dependency on git. #50 (Thanks @Caerbannog)

0.0.17 (September 10th, 2017)

  • Fix broken dependency on cosmiconfig#3.0. #48 (Thanks @goldcaddy77)

0.0.16 (August 29th, 2017)

Bug fixes

  • Fix issue that prevented graphql-schema-linter from running on lts/* version of node. #46 (Thanks @goldcaddy77)

0.0.15 (August 28th, 2017)

Bug fixes

  • Fix crash when graphql-schema-linter is given an invalid schema. #42

0.0.14 (August 27th, 2017)

Bug fixes

  • Do not require descriptions on type extension definitions. #41

0.0.13 (August 27th, 2017)

New features

  • Add support for schemas that are split amongst multiple files. #39
  • Add what file an error occurred in to JSONFormatter output. #39

0.0.12 (August 16th, 2017)

New features

  • Add enum-values-all-caps rule. #30 (Thanks @goldcaddy77)

0.0.11 (August 15th, 2017)

Deprecations

  • Deprecate --only and --except in favour of --rules. #29

0.0.10 (August 15th, 2017)

New features

  • Add ability to configure graphql-schema-linter via configuration files. #26 (Thanks @goldcaddy77)

0.0.9 (August 10th, 2017)

Bug fixes

  • 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

0.0.8 (August 10th, 2017)

New features

  • Add defined-types-are-used rule. #24

0.0.7 (August 7th, 2017)

Deprecations

  • Rule names passed to --only and --except should now be passed in kebab-case instead of UpperCamelCase. #19

0.0.6 (August 7th, 2017)

New features

  • Add EnumValuesSortedAlphabetically rule. #15 (Thanks @goldcaddy77)

0.0.5 (August 5th, 2017)

New features

  • Add some color to --text output format.

0.0.4 (August 4th, 2017)

New features

  • Added --only and --except to control what rules get used to validate the schema.
  • Added --help and usage.
  • Added --version to obtain the version of graphql-schema-linter.

0.0.3 (August 3rd, 2017)

New features

  • Exit code is 1 when a linter rule failed against the provided schema. Otherwise exit code will be 0.

0.0.2 (August 2nd, 2017)

Bogus test release.

0.0.1 (August 2nd, 2017)

Bogus test release.