From e949112162811c4543563247b9f8ea668fee5960 Mon Sep 17 00:00:00 2001 From: "Andrew E. Rhyne" Date: Thu, 1 Dec 2016 09:48:51 -0800 Subject: [PATCH] release 1.1.0 --- CHANGELOG.md | 5 +++++ README.md | 6 +----- package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 966d44f..37ca7ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ +1.1.0 / 2016-12-01 +================== + + * Added option to show original locations and paths in error + 1.0.2 / 2016-11-11 ================== * Fix for data serialization 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": {