Releases: cjoudrey/graphql-schema-linter
Releases · cjoudrey/graphql-schema-linter
v3.0.1
v3.0.0
Breaking changes
graphqlhas been moved topeerDependenciesin order to more flexible. This should help projects that were previously unable to upgrade thegraphqlpackage due tographql-schema-linterrequiringgraphqlv15. Usage information for this tool has been updated in theREADME.mdto reflect this change. #298 (Thanks @dchambers)
v2.0.2
v2.0.1
v2.0.0
New rules
interface-fields-sorted-alphabeticallyhas been added to validate that interface fields are sorted alphabetically. #260 (Thanks @hipper)
New features
- Rules that previously verified that elements were sorted alphabetically can now be configured to check for lexicographical sort order. This is useful for folks using schema stitching and sorting their schema at runtime using graphql-js'
lexicographicSortSchema. The sort order can be configured per-rule using the newrulesOptions(--rule-options) feature and specifying a differentsortOrder. When unspecified,sortOrderwill default to the existing behaviour:alphabetical. #256 (Thanks @dustinsgoodman)
Bug fixes
- Fix a race condition where writing to stdout on certain platforms / streams would lead to partial results or corrupted JSON. #262 (Thanks @steverice)
v1.0.1
v1.0.0
graphql-schema-linter has been in development since August 2017. During that time, 18 people have contributed 131 pull requests that make up the tool that we have today. 🎉
I believe the tool is now stable and can follow semantic versioning.
On that note, the addition or modification of existing rules will be considered a breaking change and thus will require bumping the MAJOR version of the library. By doing this, users of graphql-schema-linter won't get caught off guard by those changes.