npm @sap-cloud-sdk/core 1.34.0
v1.34.0

latest releases: 1.54.2, 1.54.1, 1.54.0...
3 years ago

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.

Don't miss a new core release

NewReleases is sending notifications on new releases.