Skip to content

v1.34.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Dec 17:35

Compatibility Notes

  • The methods refreshTokenGrant,userTokenGrant and clientCredentialsGrant of the xsuaa-service now accept a string or XsuaaServiceCredentials as first argument.
    In case it is a string it is treated as the URL to fetch the access token from.
    In case it is an object of type XsuaaServiceCredentials, the the URL is built by appending oauth/token to the .url of the given object.
    In the past this suffix was also appended to inputs of type string.

New Functionality

  • Add experimental support for client generation of OpenAPI services. All functionality related to the OpenAPI generator is subject to change.
  • Introduce ErrorWithCause for better analysis of errors, their causes and their root causes. All errors that have been caused by other errors through the SDK are based on this class.
  • Support Destinations with authentication type OAuth2UserTokenExchange.

Improvements

  • Unify naming of the request builder methods. See this adr for a list of the changed methods.

Fixed Issues

  • Stop appending oauth/token if the service token URL is given to clientCredentialsGrant().
    See related compatibility note above.