diff --git a/CHANGELOG.md b/CHANGELOG.md index 966d44f..92d8d31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,12 @@ +1.1.0 / 2016-12-01 +================== + * Added option to show original locations and paths in error (#1, @scf4) 1.0.2 / 2016-11-11 ================== - * Fix for data serialization + * Fix for data serialization (@thebigredgeek) 1.0.1 / 2016-11-10 ================== - * Initial release + * Initial release (@thebigredgeek) diff --git a/README.md b/README.md index 90c1714..2010009 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ Creates and returns an error class with the given `name` and `message`, optional #### Options (default): - `showPath` *(false)*: Preserve the GraphQLError `path` data. - - `showLocations` *(false)*: Preserve the GraphQLError `locations` data. + - `showLocations` *(false)*: Preserve the GraphQLError `locations` data. ### formatError (error, strict = false): ApolloError|Error|null If the error is a known ApolloError, returns the serialized form of said error. @@ -103,7 +103,3 @@ If the error is a known ApolloError, returns the serialized form of said error. **Otherwise**, *if strict is not truthy*, returns the original error passed into formatError. **Otherwise**, *if strict is truthy*, returns null. - -## TODO - -- Add better docs diff --git a/package.json b/package.json index 816ab3a..a921670 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "apollo-errors", - "version": "1.0.2", + "version": "1.1.0", "description": "Machine-readable custom errors for Apollostack's GraphQL server", "main": "dist/index.js", "scripts": {