Skip to content

v0.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Nov 10:49
· 64 commits to main since this release
3fb7734

Added

  • Message interpolation of logged errors, transforming error message placeholders into human-readable text (default locale)

Changed

  • Moved registration of cds.compile.to.gql and cds.compile.to.graphql targets from @sap/cds to @cap-js/graphql
  • Improve merging of custom graphql protocol configuration with plugin default configuration
  • Errors representing client errors (4xx range) are now logged as warnings instead of errors
  • Exclude the stack trace of the outer logged error message in multiple error scenarios, as the inner stack trace already contained the precise initial segment of the outer stack trace

Fixed

  • Load custom errorFormatter relative to CDS project root
  • Fix internal server error when formatting errors that aren't CDS errors (thrown by CDS or in custom handlers) or instances of GraphQLError, such as the error caused by requests with undefined query property