Skip to content

Releases: SAP/cloud-sdk-js

v4.0.2

18 Mar 15:19
Compare
Choose a tag to compare

Fixed Issues

  • [connectivity] Remove destination cache in getDestinationFromServiceBinding() function to let cached destinations retrieved in getDestinationFromDestinationService() function be added with the proxyConfiguration property.

v3.26.4

18 Mar 15:29
Compare
Choose a tag to compare

Fixed Issues

  • [connectivity] Remove destination cache in getDestinationFromServiceBinding() function to let cached destinations retrieved in getDestinationFromDestinationService() function be added with the proxyConfiguration property.

v4.0.1

05 Mar 14:52
Compare
Choose a tag to compare

Fixed Issues

  • [eslint-config] Downgrade @stylistic/eslint-plugin to v3 as v4 is EMS-only. (97ad0ad)

v3.26.3

05 Mar 13:35
Compare
Choose a tag to compare

Fixed Issues

  • [eslint-config] Downgrade @stylistic/eslint-plugin to v3 as v4 is EMS-only. (f1ec5b7)

v4.0.0

04 Mar 13:56
Compare
Choose a tag to compare

Improvements

  • [connectivity] Enable destination caching by default when retrieving destinations via the destination service. Change affects behavior of getDestination() method, getAllDestinationsFromDestinationService() method, generated client's execute() method and generic HTTP requests execution using executeHttpRequest(). (d69325a)
  • [generator, odata-common, odata-v4] Support precision handling during serialization of Edm.DateTimeOffset fields in OData v4. (ab6ca60)

Compatibility Notes

  • [connectivity] The following deprecated content has been removed from the package:
    • The behaviour of getAgentConfig() function is changed to be asynchronous. The temporary asynchronous function getAgentConfigAsync() has been removed.
    • The destinationForServiceBinding() function has been removed. Use getDestinationFromServiceBinding() instead.
    • The PartialDestinationFetchOptions type has been removed. Use either ServiceBindingTransformOptions or getDestinationFromServiceBinding() function.
    • The serviceToken() function no longer takes xsuaaCredentials as part of the options parameter.
    • The parseDestination() function is no longer a public API.
    • The DestinationForServiceBindingOptions interface has been renamed to DestinationFromServiceBindingOptions. (7d92a1b)
  • [connectivity] Disable iasToXsuaaTokenExchange by default if not defined. (25c9dd8)
  • [odata-common] The following deprecated content has been removed from the package:
    • The FunctionImportParameters type has been removed. Use OperationParameters instead.
    • The ODataFunctionImportRequestConfig constant has been removed. Use ODataFunctionRequestConfig instead.
    • The FunctionImportParameter constant has been removed. Use OperationParameter instead.
    • The ActionFunctionImportRequestBuilderBase constant has been removed. Use OperationRequestBuilderBase instead. (7d92a1b)
  • [odata-v2] The following deprecated content has been removed from the package:
    • The ODataFunctionImportRequestConfig constant has been removed. Use ODataFunctionRequestConfig instead.
    • The FunctionImportRequestBuilder constant has been removed. Use OperationRequestBuilder instead. (7d92a1b)
  • [odata-v4] The following deprecated content has been removed from the package:
    • The ODataFunctionImportRequestConfig constant has been removed. Use ODataFunctionRequestConfig instead.
    • The ActionImportParameter class has been removed. Use OperationParameter instead.
    • The ActionImportParameters type has been removed. Use OperationParameters instead.
    • The FunctionImportRequestBuilder class has been removed. Use OperationRequestBuilder instead.
    • The BoundFunctionImportRequestBuilder class has been removed. Use OperationRequestBuilder instead.
    • The BoundActionImportRequestBuilder class has been removed. Use OperationRequestBuilder instead.
    • The ODataActionImportRequestConfig constant has been removed. Use ODataActionRequestConfig instead.
    • The ODataBoundActionImportRequestConfig class has been removed. Use ODataBoundActionRequestConfig instead.
    • The OdataBoundFunctionImportRequestConfig constant has been removed. Use ODataBoundFunctionRequestConfig instead.
    • The ActionImportRequestBuilder class has been removed. Use OperationRequestBuilder instead. (7d92a1b)
  • [resilience] The following deprecated content has been removed from the package:
    • The circuitBreakerHttp constant has been removed. Use circuitBreaker instead. (7d92a1b)
  • [util] The following deprecated content has been removed from the package:
    • The assoc constant has been removed. There is no replacement. (7d92a1b)

v3.26.2

04 Mar 12:09
Compare
Choose a tag to compare

Fixed Issues

  • [connectivity] Add proxyConfiguration on the fly to avoid expired proxy authorization token in cached destination if it lives shorter than the token for destination service. (438ebd8)
  • [util] Stringify Axios response data object in the error stack of ErrorWithCause class. (782b3fd)

v3.26.1

17 Feb 13:43
Compare
Choose a tag to compare

Fixed Issues

v3.26.0

30 Jan 13:52
Compare
Choose a tag to compare

New Functionalities

  • [openapi-generator] Add resolveExternal option to determine whether external $ref pointers will be resolved. (6cc07bc)

v3.25.0

20 Dec 14:02
Compare
Choose a tag to compare

New Functionalities

  • [openapi] Introduce setBasePath() method on the OpenAPI request builder, allowing a custom base path URL to be set for a single request. This base path is prepended to the API path parameter for that single request. (2943cd5)
  • [openapi, openapi-generator, util] Add basePath option in the options-per-service.json file in the OpenAPI generator. This option prepends the base URL path to the API path parameter for every request. (2943cd5)

v3.24.0

27 Nov 14:56
Compare
Choose a tag to compare

New Functionalities

  • [connectivity] Add transform function to create OAuth2ClientCredentials destinations from service bindings. (7ccc9a3)