Compatibility Notes
- The methods
refreshTokenGrant
,userTokenGrant
andclientCredentialsGrant
of thexsuaa-service
now accept astring
orXsuaaServiceCredentials
as first argument.
In case it is astring
it is treated as the URL to fetch the access token from.
In case it is an object of typeXsuaaServiceCredentials
, the the URL is built by appendingoauth/token
to the.url
of the given object.
In the past this suffix was also appended to inputs of typestring
.
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
Destination
s with authentication typeOAuth2UserTokenExchange
.
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 toclientCredentialsGrant()
.
See related compatibility note above.