Skip to content

Releases: GiladShoham/graphql-apollo-errors

v2.0.3

05 Dec 10:45
Compare
Choose a tag to compare
  • Add nonBoomTransformer to formatErrorOptions to allow custom handling of non-Boom errors
  • Add type definitions for graphql-apollo-errors and SevenBoom

v2.0.2

03 Apr 10:35
Compare
Choose a tag to compare

Fix bug with publicDataPath changed every time error thrown

v2.0.1

03 Apr 09:33
Compare
Choose a tag to compare

Handle case when there is no original error (Graphql error like query syntax error)

v2.0.0

23 Feb 14:17
Compare
Choose a tag to compare

Rewrite a lot of the implementation in a better way which uses the originalError of graphqlError

API Changes:

  • onStoredError hook is no longer exist (actually the onOriginalError result now, is the same as the onStoredError before)
  • You should not use the throwError anymore (it was deleted), you can use the native throw now.

v1.0.1

21 Feb 16:11
Compare
Choose a tag to compare
  • hideSensitiveData - option to show/hide the data from client for internal server errors
  • Update seven-boom version
  • Add guidPath option to make sure the log and the actual error are consistent
  • Improve docs

v1.0.0

21 Feb 10:48
Compare
Choose a tag to compare

First realease!